Event on a button click
-
Hello,
Sorry, DIY here :).
I am trying to install an AdRoll event wich should occure on a button click, as they describe it here : https://help.adroll.com/hc/en-us/articles/212014288-Event-Based-Audience.
It is supposed to create an event when a user clicks on the “ad to cart button” on a product page, such as this one : https://c-moins-cher.com/produit/sports/running/running-homme/running-homme-classique/chaussures-asics-gel-phoenix-10-bleu-homme-41-5/.
So the code they give me is :
************************************************************
try{
__adroll.track(“pageView”, {“segment_name”:”my_code_id_here”})
} catch(err) {}
**************************************************************Following recommandations from my theme’s developer, I am using your plugin. I simply created a new JS and I pasted the code like this : https://www.screencast.com/t/bCFXDaOd.
However, I click on the “add to cart” button as test, I got no events on AdRoll’s side.
And my question is : did I paste the code correctly ?
Many thanks in advanced.
- The topic ‘Event on a button click’ is closed to new replies.