ketangp28686788
ketangp28686788
01-02-2018
Hi,
I have a click event over a button on website.
I have created event based rule in DTM.
Evar and prop both have been assigned some values but none of them are reflecting over website.
The assigned evar and prop have been enabled in report suites.
I checked using DTM Switch as well as with adobe debugger over website.
Can someone tell what could be the issue
Please find below the screenshots.
SarahEOwen
SarahEOwen
01-02-2018
HI -
Thanks for including the web page that has the button you are trying to track! Looking at the web page and the screen shots in your post above, let's try modifying the Element Tag or Selector. There are ways we can go with this:
Thanks -
Sarah
ketangp28686788
ketangp28686788
01-02-2018
Hi Sarah,
Thanks for the quick reply.
I have tried that too but it didn't work.
I don't see the any rule getting fired in console which I have created in Event based rule sectiion.
what can be the issue ?
Thanks,
Ketan Pardeshi
SarahEOwen
SarahEOwen
02-02-2018
Hi Ketan -
Looking at the "Elements" tab in Developers' Tools for http://www.hansacequity.com/ there are two DTM embed codes included on the page (see yellow highlighting in the screen shot below).
In this article - Embed Code and Hosting Options - it says that there should only be one embed code, and that including more than one can cause conflicts.
This may be part of the issue.
Thanks -
Sarah
ketangp28686788
ketangp28686788
03-02-2018
Thanks Sarah,
Yes this might have caused the issue.
Well, I will remove one and try.
marion33678522
marion33678522
05-02-2018
I also think there is a problem in your path condition, if the root path is already provided in the tool definition , you can't put twice the same path . So try changing this and testing. I once had the same problem with URL path conditions; I wanted it to trigger in e.g : "www.x.y.com" and when I put this on the form it did'not work , but it did with "y.com" . Go figure !
Also, the double javaScript code is a problem ! but, since it's just there to charge the JS it should not be an issue if library is charged twice, it's more of a time consumption / loading problem .
Cheers !
ketangp28686788
ketangp28686788
05-02-2018
Thanks marion, I will check and cofirm.