Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

GraceENC

Member
  • Content Count

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    GraceENC got a reaction from TomBatch in BCC Field in automatic emails?   
    Hi there,
    I managed to get the automatic feedback service working with trustpilot (free plan) but it looks like they aren't promoting this method any more. 
    I added the following code to the 'order confirmation page' code injection field:
    <script> 
        document.addEventListener('DOMContentLoaded', function() {
            const trustpilot_invitation = {
                   recipientEmail: '{customerEmailAddress}',
                   recipientName: 'Customer',
                   referenceId: '{orderId}',
                   source: 'InvitationScript',
              };
              tp('createInvitation', trustpilot_invitation);
        });
    </script>
    I have no idea if this will work for you but it's still currently working for me. 
     
×
×
  • Create New...