Our Klaviyo integration allows you to showcase your Trustpilot ratings and reviews directly in your Klaviyo newsletters, using a dynamic widget. This article shows you how to set up the integration and add the widget to your campaigns.
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:
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.
-
In Trustpilot Business, go to Integrations > Marketing > Klaviyo.
-
Find the section Customize your widget. Under Select review type, choose the type of reviews you’d like featured in your widget.
-
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.
-
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.
-
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.
-
In Trustpilot Business, go to Integrations > Marketing > Klaviyo.
-
Under How to add widget to your email, find the URL below Set up Data Feed. Click Copy URL.
-
In Klaviyo, go to Data Feeds and click Add Web Feed.
-
Under Feed Name enter a name for the feed, then paste the URL that you just copied into Feed URL.
-
Set the Request Method as GET.
-
Set the Content Type as XML.
-
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.
-
In Klaviyo, click Campaigns.
-
Click Create Campaign or edit an existing campaign by clicking on it.
-
Name and configure your campaign, then click Save & Continue to Content.
-
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.
-
Select a Text block and place it where desired. Choose Source from the formatting options.
-
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.
-
Go back to the Klaviyo campaign editor and paste the code into the text box.
-
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.
-
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 ★.