How do you track hastag anchor clicks?
-
I would like to know when visitors click on hastag anchor on my site. I am using the one page theme Zerif Lite.
When someone click https://www.example.dk/#aboutus I want it registered in Google Analytics as a virtual pageview.
There seems to be an option in the plugin settings that could do this, namely “track fragment identifiers, hashmarks (#) in URI links” but when I enable it I still don’t see anything happening when I look in Chrome’s debugging console.
Do you know how I can have GA register hashtag anchor links like https://www.example.dk/#aboutus and https://www.example.dk/#contact ?
https://www.ads-software.com/plugins/google-analytics-dashboard-for-wp/
- The topic ‘How do you track hastag anchor clicks?’ is closed to new replies.