Skip to main content
Solved

In-Email Review Stars Issue

  • December 10, 2024
  • 2 replies
  • 63 views

Forum|alt.badge.img

i’ve got my review flow set-up, all as instructed—but when I test the flow and click on one of the stars, it sends me to an error page. The current (and default) link address for the stars is: {{ event.review_link }}?rating=3   (the 3 changes depending on the star.)

Is this a bug? How do I have these stars point people to my review submission page?
 

Best answer by retention

Hi ​@render142,

Can you paste the link/URL of the error page? Or copy/paste the source code section with the stars in your template? 

One common issue I found is that the template code (those that are wrapped in brackets {{ }}) sometimes aren’t interpreted as code.  Take a look and see if the URL you click on properly generates a link and does not show up in the URL as {{event.review_link}}?rating=3 - it should look something like:

reviews.klaviyo.com/r/abcdefg12345?rating=5

(Where abcdefg12345 … are random characters that I replaced to obsfucate a real review link)

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

retention
Partner - Platinum
Forum|alt.badge.img+62
  • 2025 Champion
  • 920 replies
  • Answer
  • December 10, 2024

Hi ​@render142,

Can you paste the link/URL of the error page? Or copy/paste the source code section with the stars in your template? 

One common issue I found is that the template code (those that are wrapped in brackets {{ }}) sometimes aren’t interpreted as code.  Take a look and see if the URL you click on properly generates a link and does not show up in the URL as {{event.review_link}}?rating=3 - it should look something like:

reviews.klaviyo.com/r/abcdefg12345?rating=5

(Where abcdefg12345 … are random characters that I replaced to obsfucate a real review link)


Forum|alt.badge.img
  • Author
  • Contributor I
  • 1 reply
  • December 11, 2024

Hi ​@retention !

TheURL indeed does not properly generate a link, but as you say, instead shows up as {{event.review_link}}?rating=3

It sends me to this page when I click on the star: (see screengrab below):

https://www.google.com/url?q=http://?rating%3D3&source=gmail&ust=1734021697100000&usg=AOvVaw24lU_RAO7siTvhpHvtm4Am

 

The source code for the star reads:
 

<td class="" style="border:0;padding:0;width:122px;" valign="top">
<a class="kl-img-link" href="{{ event.review_link }}?rating=1" style="color:#0C76E0; font-weight:700; text-decoration:none; display:block">
<img alt="Rate it 1 star" src="https://d3k81ch9hvuctc.cloudfront.net/company/Xmq6uC/images/d2ccb135-9343-43ed-a9c6-2ad5a86d3da4.png" style="display:block;outline:none;text-decoration:none;height:auto;font-size:13px;width:100%;" title="Rate it 1 star" width="122"/>

Thoughts? Thanks!