Javascript Tagging Library: Track Wishlist


Instructions to send "Wishlist" clicks information using the Javascript Tagging Library.

Step-by-step guide

This event must be triggered when users click on "Wishlist" button. At that moment trackWishlist function should be executed including parameters detailed below.


Use this function to send information when a user clicks on an "Wishlist" button.

trackWishlist(terms, page, position, productid, title, url, options, callback)

Parameters and options configuration

Please refer to the trackClick parameters and options configuration.

Code sample

empathyTAG.trackWishlist('test', 1, 3, "My product id", 'My product title', '',{lang:'en',scope:'testscope'},function(){});