Web Tracking for Prestashop Browse Abandonment

Browse abandonment campaign allows you to send emails with product recommendations based on what customers have recently viewed in your store.

Browse abandonment emails can be very effective. This type of email have high contribution to your purchase funnel and can drive additional revenue. However, since the nature of these emails is very personal, you should be sensitive and not overuse this powerful tool.

To get this campaign up and running, you will need to setup a "web tracking code" in your Prestashop admin. 

1. In your Remarkety account, go to Settings->Website tracking. 

2. In order to use the Browse Abandonment campaign, you need to add the following JS snippet in your website.

Copy the code below and paste it before your closing </body> tag.

var _rmData = _rmData || [];
_rmData.push(['setStoreKey', 'j4L71km5']);
<script>(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = 'https://d3ryumxhbd2uw7.cloudfront.net/webtracking/track.js';
s.parentNode.insertBefore(g, s);
}(document, 'script'));</script>

3. Customer identify code:

Once the customer has logged in, you can notify Remarkety using the following JavaScript snippet:

Replace the sample email address with the real email address of the logged in customer.

var _rmData = _rmData || [];
_rmData.push(["setCustomer", "email@sample.com"]);

4. Product View:

To notify Remarkety about a customer who viewd a specific product you can use the following JavaScript snippet:

Replace the values of productId, productCategories, and productCategoriesIds with real values

var _rmData = _rmData || [];
_rmData.push(['productView', {
productId: "XXXX",
productCategories: ["Category1", "Category2"],
productCategoriesIds: ["11101","11102"],

5. Now, in Remarkety go to settings->web tracking. You should see a message saying that web tracking is installed.

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.