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, click on your profile icon on the lower left, then go to SettingsAccountAPI keys.
  2. Click on Create Private API Key if you haven’t created one yet. From there, create your Private API Key Name, then select access for at least 1 API scope, then click Create on the top right.
  3. Copy the private API key.
  4. In Trustpilot Business, go to Integrations > Marketing > Klaviyo.
  5. 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.

To filter by tags, you must create them in Trustpilot Business first. Find out how to add and manage tags here.

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, remain on 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 the profile icon on the bottom left, then go to Settings > Other > Web 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 GET
  6. Set the Content Type as XML.
  7. Click Add web 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, click Save & Continue, then Continue to Content once you've finalized your configuration.
  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 Template or create an email from scratch, then select a Text block and place it where desired. Choose Source code 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## (remove the hashtags) with the name of your Web 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 on Edit email, select Preview email from the dropdown menu.
  10. The final step in sending out your campaign allows you to review, schedule, and send your campaign. Here, you can choose to add a variation to your email to A/B test your campaign.
  11. 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