Welcome to WebmasterWorld Guest from 3.209.80.87

Forum Moderators: DixonJones & mademetop

GTM in Single Page Applications

Click listeners dont work

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

New User

joined:June 25, 2019
posts: 3
votes: 1


Hi guys,

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

In the Preview & Debug mode I dont see any clicks if Im 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
6:29 pm on June 25, 2019 (gmt 0)

Senior Member

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

joined:June 20, 2006
posts:2166
votes: 92

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

Senior Member

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

joined:June 20, 2006
posts:2166
votes: 92


See important considerations here:
[developers.google.com...]
6:33 pm on June 25, 2019 (gmt 0)

Senior Member

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

joined:June 20, 2006
posts:2166
votes: 92


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

Last 2 sections, Environ and Luddites, I think these are good points.
9:14 am on June 26, 2019 (gmt 0)

New User

joined:June 25, 2019
posts: 3
votes: 1


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!