Forum Moderators: DixonJones

Message Too Old, No Replies

GTM in Single Page Applications

Click listeners don´t work

         

Jahcob

3:31 pm on Jun 25, 2019 (gmt 0)

5+ Year Member



Hi guys,

we have this single page aplication and I´m implementing tracking for it atm via Google Tag Manager.
Page view tracking is no problem via history event triggers but I´m a bit lost with regular click events.

In the Preview & Debug mode I dont see any clicks if I´m clicking through the page.

Do you know what we can do to track regular clicks via GTM in this case and not using custom events via datalayers which
need to be implemented by dev?

Happy for your advice!

Cheers

RhinoFish

6:29 pm on Jun 25, 2019 (gmt 0)

RhinoFish

6:30 pm on Jun 25, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



See important considerations here:
[developers.google.com...]

RhinoFish

6:33 pm on Jun 25, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Couple of good points here:
[medium.com...]

Last 2 sections, Environ and Luddites, I think these are good points.

Jahcob

9:14 am on Jun 26, 2019 (gmt 0)

5+ Year Member



it was even easier...
had to implement 1 all elements trigger, afterwards i got click listeners in preview mode.

but great sources! thank you, the first one was my guide to measure pageviews, the third one also seems very interesting!