Page 1 of 1

Tracking single page events in Mayan

Posted: Sat Apr 10, 2021 8:58 am
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?