obtainProductInteractions() and obtainProductData() endpoints.
Counters are now available directly through the Widget Studio as custom variables. Check out this documentation to learn more.
trackProductView()
Use thetrackProductView() method on product pages to track when a visitor views a product. See the trackProductView() documentation for details.
Ensure you provide all necessary data for your social proofing setup. You can retrieve only the data you send through the
trackProductView() method later, using the obtainProductData() endpoint.trackCategoryView()
Use thetrackCategoryView() method on category pages to track when a visitor views a product category. See the trackCategoryView() documentation for details.
Ensure the category ID used here matches the one sent with the trackProductView() method. See the Category object documentation for its properties.
trackAddToCart()
Use thetrackAddToCart() method on any page where a visitor can add a product to their cart (for example, the home page, product page, category page, or cart page).
See the trackAddToCart() documentation for details.
trackTransaction()
Use thetrackTransaction() method on any page displayed after a visitor completes a purchase or transaction. See the trackTransaction() documentation for details.