This feature can identify abandoned browse 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 Omnisend 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 Automation
Once you have the Viewed Product script added to your site, you will need to set up your HTML content and flows in Omnisend.
1. Go to Automation and search for the existing Viewed Product or Browse Abandonment Automation. Then, click the three-dots to the right of to its name, and click Copy.
2. Name the copy Viewed Product Reclaim, and click to open the automation. Click on the Trigger box at the start of the automation to configure the trigger. On the right pop-out menu, ensure that Viewed Product Reclaim is selected as the trigger.
3. Scroll down to Exit Conditions. If you don't already have them, set the exit conditions to match the below. This will eject anyone who has taken any of those actions after triggering the automation.
NOTE: Only a total of four exit conditions can be added.
Placed order
ORStarted checkout
ORAdded product to cart
ORViewed product
4. Scroll down and set the Frequency of re-entry to the automation. This ensures profiles will only be able to enter once every X amount of days. We recommend 7 days as a base.
5. Scroll below Frequency and enable Skip contacts who are currently in or have recently completed other automations. Setup skip contacts as follows:
Select Currently in or completed
Select the Reclaim Checkout Started and Add to Cart Reclaim and your brand's original Checkout Abandonment, Cart Abandonment and Browse Abandonment automations.
Select in the last 7 days
6. Click Save, and then Update.
7. Next, either add a Delay below the trigger or adjust the existing Delay if present. The delay should be 15 minutes longer than the delay on your original Browse Abandonment automation.
7. Finally, either add in or select the first Email step below the Delay, you will need to edit the dynamic content by replacing the original variables with those in the Dynamic Field list. Repeat this for each email step within your Viewed Product Reclaim automation.
NOTE: You must ensure the blocks you are working with are not dynamic blocks.
Dynamic field list
These variables can be used in your email templates to dynamically populate information about your products.
For R! Viewed Product Reclaim events, the table with your product information should be set to Static.
The fields below are based on data sent from our Shopify Integration. Field names and variables may differ when using other eCommerce platforms or a custom setup.
Field Name | Example Value | Dynamic Variable Markup |
Currency | USD | [[event.currency]] |
Price | 30 | [[event.price]] |
ImageURL | [[event.image_url]] | |
Name | Black V-Neck T-Shirt | [[event.name]] |
ProductID | 3891613401160 | [[event.product_id]] |
URL | [[event.url]] | |
item_category (when available) | V-Neck Tees | [[event.item_category]] |
variant | S | [[event.variant]] |
variant_id | 29276152856648 | [[event.variant_id]] |
View Viewed Product events
Once everything is properly set up, Viewed Product Reclaim events will appear in Store Settings > API > API Logs in Omnisend. Look for calls made by our Retention API Key with the Endpoint of /v3/events, once located, select the three dots to the right and click 'View request payload.'
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.