问题原文
原帖链接 · akki0996 · CC BY-SA 3.0
I know there are several ways that will help me find out how many times that user clicked on the outbound links but situation is pretty complicated.
It is a school website, KENT SCHOOL DISTRICT and the home page of the website has a left sidebar with shortcuts (links). Website is built in School Wires (Content Management System) and the school wires does not provided us the code for the site shortcuts.
Under site manager, we have site shortcuts tab (Look Below)
Basically we don't do any hardcoding for the shortcuts.
So far I have tried:
- I was first planning to use EVENT TRACKING 'onClick' in my anchor tag, but as soon as I found that my school website is not using hard coded links, I dropped that idea.
My question is, Is there anyway that I can track the outbound links? Basically I want to count how many times that shortcut on the left sidebar has clicked?
已采纳解答
原帖链接 · nyuen · CC BY-SA 3.0
Using GTM, you could establish a link click listener that fires on all pages, and then create an "Outbound link" tag to fire whenever a link is clicked. You can collect the href attribute of the link to pass into your event as well. That's it in a nutshell, but there's more details here if you like: http://cutroni.com/blog/2013/10/07/auto-event-tracking-with-google-tag-manager/. You can do all that without having to touch the html at all.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
