Skip to main content

 I would like to setup a flow so Klaviyo triggers when Trustpilot should send out a service or product invitation to our customers. I have tried to go trough Trustpilots guide but I’m not so sure on how to test it and if its setup correctly. https://help.trustpilot.com/s/article/Use-Automatic-Feedback-Service-with-Klaviyo?language=en_US

Do any of you have experiences setting the Automatic Feedback Service with Klaviyo (AFS) up? 

This should be the code to insert customers information and the product SKUs the customer bought.

<!-- <script type="application/json+trustpilot"> { 
"recipientEmail": "{{ email|default:"" }}",
"referenceId": "{% today "%Y-%m-%d" as today %} {{ today }}",
"recipientName": "{{ first_name|default:"" }}",
"productSkus": k"{{ event.extra.line_items.0.product.variant.sku|default:'' }}"] }
</script> -->

 

Hi ​@Legeakademiet,

Good question! One issue I notice with the code is that it uses <script> tags inside email templates. Our email templates don’t support script tags, because Javascript in emails can often get flagged as suspicious in inboxes. Since Trustpilot created this integration, I’d recommend reaching out to Trustpilot to ask if they have an alternate way of accomplishing this, or if they accounted for the fact that Klaviyo strips script tags from emails.

Let me know if I can answer any other questions about this.


Reply