GET https://api.empathybroker.com/tagging/v1/track/{instance_ID}/browseAdd2Cart
Query parameters
Please refer to the browse product event parameters.
Response
200 OK
if successful
Example
https://api.empathybroker.com/tagging/v1/track/myinstanceid/browseAdd2Cart?categoryId=84a534|RootCatName1/55d7047|ChildCat1/5f57048|ChildCat23&productId=0001-2589-3698&position=12&page=1&url=https://mypdppage.com&scope=desktop&lang=es&store=es&session=83065720-6d15-4bda-a7a8-bf87eb9637ce&user=744b0f7a-32c9-4f89-9427-d84135aefa7e
1
2
3
4
5
6
7
| //1. Define Options JSON variable as follows:
var options = {
scope: "desktop",
lang: "en"
};
//2. Perform the following function call:
empathyTAG.trackBrowseAdd2Cart(categoryid, page, position, productid, title, url, options, callback);
|
Input parameters
Please refer to the browse product event parameters.
Example
1
2
3
4
5
6
7
| var options = {
scope: "desktop",
lang: "en"
};
empathyTAG.trackBrowseAdd2Cart("84a534|RootCatName1/55d7047|ChildCat1/5f57048|ChildCat23", 1, 2, "0001-2589-3698", "Jeans_Skinny_Acid_Wash", "https://mypdppage.com", options, function(){});
|