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.
The new Browsing Abandonment campaign is now available to VirtuMart store owners.
To get this campaign up and running, you will need to setup a "web tracking code" in your VirtueMart admin. This is an easy 2 minutes setup
- Find your store ID from Remarkety->settings->API keys
- Find the file index.php file of your active Joomla template. From Joomla admin go to Extensions->templates->templates->[your template name]->index.php
- Just before the closing </body> add (don’t forget to insert your store ID):
<script>
var _rmData = _rmData || [];
_rmData.push(['setStoreKey', 'YOUR-STORE-ID']);
</script>
<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>
<script>
var _rmData = _rmData || [];
_rmData.push(["setCustomer", "<?php echo JFactory::getUser()->email; ?>"]);
</script>
- In Joomla find the file /components/com_virtuemart/views/productdetails/tmpl/default.php
- Just before the line (somewhere at the beginning of the file):
echo shopFunctionsF::renderVmSubLayout('askrecomjs',array('product'=>$this->product));
Add:
vmJsApi::addJScript ( 'rm_webtrack_product', 'var _rmData = _rmData || [];
_rmData.push(["productView", {
productId: "' . $this->product->id . '",
productCategories: ["' . $this->product->category_name . '"],
productCategoriesIds: ["' . $this->product->virtuemart_category_id . '"],
}]);');
6. Now, in Remarkety go to settings->web tracking. You should see a message saying that web tracking is installed.
Comments
0 comments