I've got a really hopefully simple question regarding Google Analytics. I've added tracking to a site and have set up Event Tracking for a link to an external page.
In the report suite under event tracking the event name comes up as the full URL for the external page. Code is below:
<a onclick="recordOutboundLink(this, 'Outbound Links', 'https://www.externallink.com');return false;" href="https://www.externallink.com"><img style="padding-top:2px;" src="/common/images/ss_managemyaccount.gif" alt="" /></a>
Now daft as this may sound, is the name for the Event showing up as the URL because I have called it that? Ie after 'Outbound Links',
I have just used the URL? Could I call this whatever I wanted to? Eg Hello
or something like that?
Thanks
You can use a Virtual Page View to call the link anything you like. If you post your recordOutboundLink()
function, I can help you with that.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.