What is Klaviyo Reviews?
Klaviyo’s newest offering is a product reviews solution that helps brands collect, analyze, and display customer reviews. Our vision is to give merchants all the data in our platform so they can drive more revenue with everything they do with us - email, push, SMS, and now reviews.
Why Klaviyo Reviews + Tapcart? Klaviyo already has a strong relationship and an existing integration with Tapcart. Reviews is one of our newer product offerings, and is quickly growing within the Shopify ecosystem. Today, we have over 7,000 active merchants using us just 6 months since launch.
How to Connect Klaviyo Reviews + Tapcart? https://www.tapcart.com/integrations/klaviyo
-
The block is positioned on the Product Detail Page (PDP) of the app. Its purpose is to display the reviews for a specific product.
-
When a product page is loaded, the widget makes an API call to Klaviyo. This call uses the product ID and product title as data attributes to fetch the relevant reviews for that specific product.
-
Klaviyo's API responds with the review data for the product.
-
The reviews are then populated into a div with a specific class on the block. This div is updated dynamically to display the reviews on the product page.
-
The reviews are now visible to users visiting the product page, also allowing users to write reviews. This helps potential customers make informed decisions about their purchases.
Setup Instructions
- Start here to create a new Custom Block
- Give it a name by clicking on 'Name your block'
No libraries are needed for this block to work out of box.
- Copy the HTML from the index.html file in this folder, and paste it in the HTML tab in the editor
- Copy the CSS from the styles.css file in this folder, and paste it in the CSS tab in the editor
- Copy the Javascript from the scripts.js file in this folder, and paste it in the JS tab in the editor
The following lines of code in the custom block will need to be edited for the block to work as expected.
- [REQUIRED] Lines 1 (JavaScript) insert your Klaviyo company ID between the quotation marks.
Import a custom font to conform to your App's design system by pasting a font link in the 'Import Fonts' field in the 'Settings' tab of the Custom Blocks Editor. From here, the font will need to be referenced using font-family
in your CSS.