Have a question about Trustpilot? Let's find you an answer.

Americommerce + Trustpilot - Automatic Feedback Service (AFS) Setup

Americommerce + Trustpilot AFS integration automatically sends email invitations to your customers to leave a review after they purchase a product or experience a service. When a customer purchases something from your business, you send them an order confirmation via email. You can read more about AFS here

If you want to use AFS with Americommerce, you’ll need to use a structured data snippet. You can set it up by adding the following code snippet to the template of your confirmation emails. 

You’ll need to find the right place to edit your code: 

  • For the Head script: Settings > Marketing > General > Paste in Analytics Script 
  • For Structured Data: Settings > Orders > Place Order Script

Here's a sample of what the code snippet should look like:

For service reviews:

<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
tp('createInvitation', {
"referenceId": "##ORDERID##",
"recipientEmail": "##CUSTOMEREMAIL##",
"recipientName": "##CUSTOMERFIRSTNAME##",
"source": "InvitationScript"
}
);
});
</script>

For service AND product reviews:

<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
tp('createInvitation', {
"referenceId": "##ORDERID##",
"recipientEmail": "##CUSTOMEREMAIL##",
"recipientName": "##CUSTOMERFIRSTNAME##",
"productSkus": ["##SKU##"],
"source": "InvitationScript"
}
);
});
</script>

If you’d like more information on how to use a structured data snippet with AFS, check out this article.

You might be experiencing longer response times due to high request volumes related to COVID-19. We’ll get back to you as soon as possible. Thanks for your patience.