Skip to main content
Contributor I
June 16, 2023
Solved

Pre-filling a Trusted Shops review link with customer information

  • June 16, 2023
  • 3 replies
  • 404 views

Hello everyone,

We have set up a flow where we have a link in one of the emails for the customer to leave a review for our store on Trusted Shops.

However, we want to prefill this Trusted Shops review link with information that will then prefill the review with the customer's email and order information.
We think this would make it easier for people to leave a review, because currently our assumption is that the plain link is hindering people from reviewing because they have to type in their information manually.

Is it possible to do this, and how?

We have found some resources and tried constructing a link, but when entered into an email template, we get an error message saying some variables should be fixed, but we don't know which ones.

Resources: https://help.etrusted.com/hc/en-gb/articles/360055740312-How-can-I-send-my-own-Review-Invites-#optional-step-3-parameter-transfer-and-coding-of-the-review-link

Example link:

https://www.trustedshops.com/reviews/evaluate?shop_id=ADDTHETRUSTEDSHOPSIDHEREFOROURSTORE&buyerEmail={{ buyerEmail | url_encode | base64_encode }}&shopOrderID={{ orderNumber | url_encode | base64_encode }}

Best regards,
Jelena

    This topic has been closed for replies.
    Best answer by Brian Turcotte

    Hi @Jelena!
     

    To add to @Spark Bridge Digital LLC’s excellent answer, the trigger will change the URL she provided based on the event variable that is associated with the triggering metric. In the link she gave, this would be the highlighted part here:

     

    https://www.trustedshops.com/reviews/evaluate?shop_id=ADDTHETRUSTEDSHOPSIDHEREFOROURSTORE&buyerEmail={{ email|default:"" }}&shopOrderID={{ event.extra.order_number|default:'' }}

     

    I’m not sure what your Fulfilled Order metric looks like, but you will have to check to see what the appropriate event variable would be for Shop Order ID. In this case, it could be different, like

    {{ event.extra.fulfillments.order_id|default:'' }}

     

    To see all the event variables for a metric, and select the correct event data, you can follow the steps in this Help Center article:

     

    You can encode your URL using the following two links:

     

    I hope this helps!

    - Brian

    3 replies

    Spark Bridge Digital LLC
    Partner - Platinum
    2025 Champion
    June 16, 2023

    Hey @Jelena -

    This type of pre-filled link will rely heavily on the data that is in your flow trigger. If your metric trigger for the flow is ‘Placed Order’, you just need to swap out some of your variable language to match what data your website is passing over.

    It can get it a bit complicated but your link may end up looking more like this -
     

    https://www.trustedshops.com/reviews/evaluate?shop_id=ADDTHETRUSTEDSHOPSIDHEREFOROURSTORE&buyerEmail={{ email|default:"" }}&shopOrderID={{ event.extra.order_number|default:'' }}

    But you need to swap out ‘ADDTHETRUSTEDSHOPSID’ filler with your actual trusted ShopID.

    This may take some testing but your flow data will feed the order number if you have the right metric as the trigger! And then those parameters will pre-fill and feed it over to the landing page link.

     

    Klaviyo Champion | Your Email Marketing BFF
    JelenaAuthor
    Contributor I
    June 19, 2023

    Hi @Spark Bridge Digital LLC , thanks for your reply!

     

    The trigger for our flow is “Fulfilled Order”. Does this change things much?

     

    Also, how do we add URL encode and Base64 encode to this link? This seems to be required by Trusted Shops.

    Brian Turcotte
    Klaviyo Alum
    June 27, 2023

    Hi @Jelena!
     

    To add to @Spark Bridge Digital LLC’s excellent answer, the trigger will change the URL she provided based on the event variable that is associated with the triggering metric. In the link she gave, this would be the highlighted part here:

     

    https://www.trustedshops.com/reviews/evaluate?shop_id=ADDTHETRUSTEDSHOPSIDHEREFOROURSTORE&buyerEmail={{ email|default:"" }}&shopOrderID={{ event.extra.order_number|default:'' }}

     

    I’m not sure what your Fulfilled Order metric looks like, but you will have to check to see what the appropriate event variable would be for Shop Order ID. In this case, it could be different, like

    {{ event.extra.fulfillments.order_id|default:'' }}

     

    To see all the event variables for a metric, and select the correct event data, you can follow the steps in this Help Center article:

     

    You can encode your URL using the following two links:

     

    I hope this helps!

    - Brian