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

This feature can identify browse abandonment 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 and an Iterable integration. 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 an Iterable 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>

Create Viewed Product template

Once you have the Viewed Product script added to your site, you will need to set up the template in Iterable.

1. Go to Content > Templates.

2. Search for your existing browse abandonment/viewed product flow. Select the dots next to its modification date, and choose Make a copy. If you do not have an existing template, you will need to create one by going to New template.

3. Name the template Viewed Product Reclaim, and click Save template.

4. Once it's created, click the name.

5. Click Edit details.

6. Update the subject line and pre-header text for your Viewed Product email. Then, go down to Link parameters and uncheck the box next to Add in additional query parameters to each URL.

7. Scroll up, and click Save. Then, click Edit design.

8. Click the product image. Under Content, change the Dynamic Url to match your own variable, like in this example:

##{{image_url}}

9. In the email body, set your viewed product details to match your own email variables. Here's an example of how those look:

##{{name}}
brand: ##{{brand}}
price: ##{{price}}
url: ##{{url}}

10. Click Save Design at the bottom.

Set up Viewed Product flow

1. Request a Test Event from your client success manager.

2. Go to Messaging > Journeys > New journey.

3. Make the Journey name Viewed Product Reclaim, and click Create journey.

4. Double click Start API Call. Choose Custom event from the Entry source drop-down, and select the Viewed Product Reclaim custom event name. (Our team must first send a test event for this to show up.) Then, click Update.

5. Drag Email below Start, and click the circle at the bottom of the Start node and drag it to connect the two in the flow.

6. Double click Email, and click Choose a template.

7. Search for and click the Viewed Product Reclaim template you created, and click Use selected template.

8. Click Save and then Done.

9. Click Update Campaign.

10. Click Test Journey at the bottom. Use an email address for yourself or someone within your organization to simulate the journey for. Toggle to Add test data and add this:

{"brand": "test", "price": "test", "url": "test"}

Then, click Test journey in the pop-up box.

11. When you're ready for this flow to go live, click Publish at the bottom.

View Viewed Product events

Once everything is properly set up, Viewed Product Reclaim events will appear by going to Audience > Contact lookup in Iterable.

Enter the email address, and click Search users.

Then, click Events > History.

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 Reclaim 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?