Tracking single page events in Mayan

Technical aspects, customization, code samples.
Post Reply
skini
Posts: 2
Joined: Sat Apr 10, 2021 8:30 am

Tracking single page events in Mayan

Post by skini »

I'm trying to track single page click events in Mayan for user analytics.
FYR: https://posthog.com/docs/tutorials/spa
Most of the pageview events can be tracked via root.html or base.html, but I needed some input on how the single page scripts are loaded, like where the ajax calls are made and such.
Any help is appreciated.
Thanks

Edit: I've noticed ajax calls are being made using partial_navigation.js ( that appends #/...) To the URL. Would this be the right place to start?
Post Reply