TABLE OF CONTENTS


Introduction

Klaviyo offers the capability to set up web feeds from third-party content providers, enabling the integration of Feefo’s API content directly into your Klaviyo campaigns. This guide walks you through the steps to set up these web feeds and provides examples of how to use them in your Klaviyo emails.


Access Web Feeds in Klaviyo



  1. In your Klaviyo account.

  2. Go to the settings menu in the bottom left.

  3. Select Other.

  4. Then click Web Feeds.

  5. Click on Add Web Feed to begin creating a new feed.

  6. Fill in the details for the web feed:


OverviewWeb Feed Details
FeefoFeedServiceRating - Summary Rating Data Based on Service Reviews
FeefoFeedServiceReviews - List of Latest Positive Service Reviews
FeefoProductRatings - List of SKUs/Ratings for Each Product

FeefoProductFeed - Most Recent Product Reviews



Usage Scenarios

A. Adding Summary Service Rating




  1. Configure the FeefoFeedServiceRating feed as detailed above.

  2. Insert the Code into a Klaviyo Content Block:

    Our customers rate us {{ feeds.FeefoFeedServiceRating.rating.rating}}/5 based on {{ feeds.FeefoFeedServiceRating.rating.service.count}} reviews



B. Adding Star Ratings to Products

  1. Configure the FeefoProductRatings feed as detailed above.

  2. Add the Following Code to the Button Text of a Dynamic Product Block:

    Buy Now{% for product in feeds.FeefoProductRatings.products %}
    {% if item.external_id == product.sku %}
    {% if product.rating > 4 %}
    ★★★★★
    {% elif product.rating > 3 %}
    ★★★★
    {% elif product.rating > 2 %}
    ★★★
    {% elif product.rating > 1 %}
    ★★
    {% elif product.rating > 0 %}

    {% endif %}
    ({{product.rating}}/5)
    {% endif %}
    {% endfor %}

    This script iterates through the product SKUs/ratings feed, finds the matching product, and displays the corresponding star rating score and graphical representation.


C. Adding a Feed of Recent Service Reviews

  1. Configure the FeefoFeedServiceReviews feed as detailed above.

  2. Insert the Following Code into a Klaviyo Content Block:


    {% for review in feeds.FeefoFeedServiceReviews.reviews|slice:"3" %}
    <table style="background-color: #ffffff; width: 100%;" width="100%" cellspacing="0" cellpadding="0">
    <tbody>
    <tr>
    <td style="padding-bottom: 15px;">
    <div style="background-color: #fff; border-radius: 6px; border-bottom: 1px solid #e1e2e4; padding: 5px 5px 5px;">
    <p style="font-size: 14px; margin: 0;">
    <strong> {{ review.customer.display_name }}</strong>&nbsp;
                        <span style="font-size: 18px; letter-spacing: 2px;">
    {% if review.service.rating.rating == 5 %}
    ★★★★★
    {% elif review.service.rating.rating == 4 %}
    ★★★★
    {% elif review.service.rating.rating == 3 %}
    ★★★
    {% elif review.service.rating.rating == 2 %}
    ★★
    {% elif review.service.rating.rating == 1 %}★{% endif %
    </span>
    </p>
    <p style="font-size: 14px; margin: 0;">"{{ review.service.review|truncatechars:"128" }}"</p>
    <p style="font-size: 12px; text-align: right; color: #ccc; margin: 0;">{{review.service.created_at|format_date_string|date:'d/m/Y' }}
    </p>
    </div>
    </td>
    </tr>
    </tbody>
    </table>
    {% endfor %}


Summary

By following these steps, you can effectively integrate Feefo’s API content into your Klaviyo campaigns, enhancing your ability to showcase customer feedback, product ratings, and service reviews directly within your emails. This not only boosts customer engagement but also strengthens your brand’s credibility and trustworthiness.

For additional assistance or more detailed guidance, please contact support.