All Collections
Products
Reclaim
Reclaim Integration Guides
Set up Reclaim for Viewed Product in Cordial
Set up Reclaim for Viewed Product in Cordial
Updated over a week ago

This feature can identify viewed product contents for both unknown, non-logged in users (Grow contacts) and known, non-logged in customers (emails in your Grow suppression list). If you use this feature, we will send all of those Viewed Product events to you.

NOTE: We must enable this feature for you. If you’ve not already spoken with someone on our team, please ensure you request that we enable this for you.

To use this feature, you must have the most recent version of our script on your website. You can find your script in your account under Code Script > View Script.

Click here for a link to all our tutorials on how to add the script to your site, in case you need a refresher—and here's how to setup a Cordial integration.

On your website

Note: If you're using our custom Shopify Integration app, the Viewed Product script will automatically be installed.

Inside of your site builder, add our Viewed Product script to fire when someone views a product:

<script>geq.event('Viewed Product Reclaim', item);</script>

If you do not have an existing Viewed Product tracking script, add this to your theme:

<script type="text/javascript">
    var item = {
        Name: ##{{ product.title|json }},
        ProductID: ##{{ product.id|json }},
        ImageURL: "https:##{{ product.featured_image.src|img_url:'grande' }}",
        URL: "##{{ shop.secure_url }}##{{ product.url }}",
        Brand: ##{{ product.vendor|json }},
        Price: ##{{ product.price|money|json }},
        CompareAtPrice: ##{{ product.compare_at_price_max|money|json }}
    };
geq.event('Viewed Product Reclaim', item);
</script>

Set up Viewed Product flow

Once you have the Viewed Product script added to your site, you will need to set up your HTML content and flows in Cordial.

1. Go to Content > HTML Content. Search for your current viewed product content. Then, click the drop-down next to its name, and click Copy.

2. Name the copy Viewed Product Reclaim, set the key as reclaim-viewed-product, and click Continue.

3. Find your existing Viewed Product event name (ex. 'product-views'):

4. Replace that code with the name 'Viewed Product Reclaim' and Save.

5. Go to Message Automation > Podium Orchestrations and then search for your existing Viewed Product/Browse Abandonment flow. Next, click the drop-down next to it > Duplicate.

6. Click Trigger.

7. Choose Viewed Product Reclaim from the trigger drop-down list, and click Continue.

8. Save Draft, and then click Delay.

9. Leave the current delay (ex. 1 hour). Then, click Continue.

10. Next, go to Filter > Edit Audience.

11. Leave the existing filter criteria, and add this rule:

System Events > Email > Sent > By automation
By message name > [Name of the first viewed product/browse abandonment email]
Recency > Within the past > 7 > days

Frequency> Any frequency

Note: This 'recency' is a general guideline that can be adjusted to best fit your marketing efforts.

12. Repeat above until all of the emails in your original viewed product flow have been added to the logic for ALL Actions/Emails in the entire flow.

13. Once that's set up, click Continue. Then, click Continue again.

Set up the action

1. From the flow chart, click Action > Edit.

2. Click the Block Name that contains your Viewed Product content, and click Message Markup.

3. Search for '{include 'content:' to find the Viewed Product content:

4. Replace the existing code after '{include 'content:' with the key you created earlier:

reclaim-viewed-product

5. So, that will look like this:

See Viewed Product events

Once everything is properly set up, Viewed Product Reclaim events will appear in Analytics > Event Data Reports in Cordial.

Note: Your client success manager can send test events through for you when you're ready.

Additionally, you can see these events successfully passing through in your Retention.com account when you see the Viewed Product option populate under Event Details. This is an easy way to confirm that our events have been successfully implemented.

Have questions? Message us on chat, or email us at support[at]retention.com!

Did this answer your question?