Trustpilot's Klaviyo integration

This feature is included in the Standard plan.

Our Klaviyo integration allows you to showcase your Trustpilot ratings and reviews directly in your Klaviyo newsletters, using a dynamic widget. Here's how to set it up.

We don't currently have a sandbox environment available for testing purposes.

Connect Trustpilot with Klaviyo

To get started, follow these steps to authorize permission for Trustpilot to connect with Klaviyo:

  1. In Klaviyo, go to Account > Settings > API keys. Click Create API Key if you haven’t created one yet. Copy the private API key.
  2. In Trustpilot Business, go to Integrations > Marketing > Klaviyo.
  3. Paste the private API key in the indicated field. Click Connect.

Customize your widget

After you've connected Trustpilot with Klaviyo, you can add a widget to your campaigns. 

While you’re customizing your settings, you’ll see a dynamic preview of the widget.

  1. In Trustpilot Business, go to Integrations > Marketing > Klaviyo
  2. Find the section Customize your widget. Under Select review type, choose the type of reviews you’d like featured in your widget.
  3. If you select Product Reviews, under Product SKU, enter one or multiple Product SKUs, separated by commas. If you select Service Reviews, you can skip this step.
  4. Under Select layout, choose from the available options to select which criteria you'd like to apply. A selection of reviews that match this criteria will be showcased in your widget. 
  5. You can continue customizing your widget by using the filtering options under Filter by tag, Select star rating and Select number of reviews.
    All changes are saved automatically.

Only one widget can be used at a time. Changes to your widget settings will be applied to all email campaigns displaying the widget.

Connect your Trustpilot data feed to Klaviyo

Once you’ve configured your widget, you’ll need to connect your Trustpilot data feed to Klaviyo, in order to add the widget to your campaigns.

  1. In Trustpilot Business, go to Integrations > Marketing > Klaviyo.
  2. Under How to add widget to your email, find the URL below Set up Data Feed. Click Copy URL.
  3. In Klaviyo, go to Data Feeds and click Add Web Feed.
  4. Under Feed Name enter a name for the feed, then paste the URL that you just copied into Feed URL.
  5. Set the Request Method as GE
  6. Set the Content Type as XML.
  7. Click Add Data Feed when you’re done.

Add the widget to your Klaviyo campaigns

Once you’ve connected your Trustpilot data feed to Klaviyo, you can add the widget to your campaigns.

  1. In Klaviyo, click Campaigns.
  2. Click Create Campaign or edit an existing campaign by clicking on it.
  3. Name and configure your campaign, then click Save & Continue to Content.
  4. Fill out your sender information, then select your template. You can create an email using Text Only, Drag and Drop, or HTML, but we recommend Drag and Drop for its easy-to-use interface.
  5. Select a Text block and place it where desired. Choose Source from the formatting options.
  6. Go back to the Klaviyo page in your Trustpilot Business account. Under How to add widget to your email, find the code below Add widget code to email template. Click Copy code.
  7. Go back to the Klaviyo campaign editor and paste the code into the text box.
  8. In the first line of the code snippet, replace ##FEED_NAME## (including hashtags) with the name of your Data Feed and click Save. The feed name won’t appear anywhere in your email.
  9. The widget should appear as code in the campaign editor. To see how the widget looks, click Preview and check the box Fill in placeholders for Klaviyo unsubscribe, web view and manage preference tags. Configure the rest of your Klaviyo campaign as desired, and you’re all set!

To use this widget in other emails, you can create a saved block. To do so, hover over the widget in the preview and click the star ★.

Related articles