Support anchor links for pageview tracking
See original GitHub issueIn the old GA library when i just had the basic setup with
Vue.use(
VueGtag,
{
config: { id: "UA-XXXXX" }
},
router
);
(of course the syntax looked a little bit different with the old library)
when i clicked a link /#test it was tracked as a pageview. In the new library it is not tracked anymore.
Can you enable that or tell me what needs to be done to support this?
Sample Code from the app is:
<v-btn to="/#test">test</v-btn>
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Tracking Virtual Pageviews (Anchor Links, Steps, Funnels ...
This video covers how to track virtual pageviews for anchor links, multi-step processes, and funnels using Google Tag Manager for Universal ...
Read more >How to Track Anchor Links in Google Analytics - MonsterInsights
To view the anchor links tracking data, navigate to Behavior » Site Content » All Pages. anchor links tracking data. You'll find the...
Read more >How to Set Up Pageview Tracking on a One-Page Website
Here's how to track anchor link clicks on your single-page website with ExactMetrics! Step 1: Install ExactMetrics. Already have the plugin?
Read more >How To Track Clicks On #Anchors in Google Analytics
Many websites use named anchors (referenced by using a hashtag, #) to quickly link to specific areas on a webpage. Examples of named...
Read more >Google Analytics - how to track an internal page?
Google analytics does not track anchor links out of the box, you will need to edit the tracking code. Try the following
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

great! yes it works. thank you
you can add
pageTrackerSkipSamePath: falseto the plugin options and should work. let me know if works for you