Once you have setup your product review flow in Klaviyo or your chosen software, you will want to link to your review form on your product page so that when customers click on a CTA in your email to leave a review, they are taken straight to the form on the relevant page.
There is a simple solution here β open the block in your customiser:
at which point you will see a field to enter an id for the section that contents the app block - if you do not see this field - please let us know and we'll add it for you.
We then add this code to your theme as part of your Roadmap setup - this triggers the open of your "leave review" form on your product page:
<script>
document.addEventListener('DOMContentLoaded', function () {
// if url has ?review=true, then show the review section
if (window.location.search.includes('review=true')) {
document.querySelector('.spr-summary-actions-newreview').click();
}
});
</script>
Once this is done, you need to add the id with a # to the end of your dynamic product page link - for example #product-review.