Instructions to send "Add to Cart" browse click information using the Javascript Tagging Library.
This event must be triggered when any product is added to cart from product category page after a browse to the category is performed. At that moment, the function trackBrowseAdd2Cart should be executed.
trackBrowseAdd2Cart(categoryid, page, position, productid, title, url, options, callback) |
Please, refer to trackBrowseProduct parameters.
Selectors using jQuery (you could use other frameworks to build the selectors)
empathyTAG.trackBrowseAdd2Cart('MyCatID', 1, 3, "My product id", 'My product title', 'http://MY_PRODUCT_URL.com',{lang:'en',scope:'testscope'},function(){}); |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.