I'm using the history fragment to capture the url after the hash for an angular-based site we've built.
我正在使用历史片段来捕获我们构建的基于角度的站点的哈希之后的URL。
Not all my pages are showing up under All Pages in Google Analytics - but DO show when i add page as a secondary dimension to events.
并非我的所有网页都显示在Google Analytics中的所有页面下 - 但是当我将页面添加为事件的辅助维度时,DO会显示。
I think this is to do with using the history change trigger to send url fragment as a pageview, but I can't figure out how to make it work.
我认为这与使用历史更改触发器将url片段作为综合浏览量发送有关,但我无法弄清楚如何使其工作。
How do I make sure an exit page is captured, even though it isn't reloaded hence no new history fragment?
我如何确保捕获退出页面,即使它没有重新加载因此没有新的历史片段?
(register.creditunions.com = tracks fine, but when someone completes, it goes to /confirm, which they leave, and which is not tracking. I have the confirmed sign ups in my CMS, and they HAVE to go through to that page to get signed up, hence i know i'm not just asking about a page that isn't being seen.)
(register.creditunions.com =跟踪罚款,但当有人完成时,它进入/确认,他们离开,哪些没有跟踪。我在CMS中已经确认注册,他们必须进入该页面注册,因此我知道我不只是询问一个没有被看到的页面。)
1 个解决方案
#1
0
Google Analytics doesn't detect URL fragments as a part of page path out of the box. You need some tweaks to force tracking of anything after the hash. There is a lot of recipes all over the web. Try this one https://www.simoahava.com/gtm-tips/track-url-fragments-as-pageviews/
Google Analytics不会将URL片段检测为开箱即用的页面路径的一部分。您需要进行一些调整以强制跟踪散列后的任何内容。网上有很多食谱。试试这个https://www.simoahava.com/gtm-tips/track-url-fragments-as-pageviews/
#1
0
Google Analytics doesn't detect URL fragments as a part of page path out of the box. You need some tweaks to force tracking of anything after the hash. There is a lot of recipes all over the web. Try this one https://www.simoahava.com/gtm-tips/track-url-fragments-as-pageviews/
Google Analytics不会将URL片段检测为开箱即用的页面路径的一部分。您需要进行一些调整以强制跟踪散列后的任何内容。网上有很多食谱。试试这个https://www.simoahava.com/gtm-tips/track-url-fragments-as-pageviews/