Instructions to send "Add to Cart" clicks information using the Javascript Tagging Library.
This event must be triggered when any product is added to cart from search result page or from product detail page after a search. At that moment, the function trackAdd2Cart should be executed.
Use this function to send information when a user clicks on an "Add to Cart" button.
trackAdd2Cart(terms, page, position, productid, title, url, options, callback) |
Please refer to the trackClick parameters and options configuration.
empathyTAG.trackAdd2Cart('test', 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.