Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Google Analytics track outward clicks how?

Author
Message
fallen one
18
Years of Service
User Offline
Joined: 7th Aug 2006
Location: My imagination!
Posted: 11th Jul 2012 23:12 Edited at: 12th Jul 2012 04:39
html and javascript question.
I want to know where the off site incoming traffic comes from to my own product page, and how many click on image button link to the off website buy page.

Here is the tutorial I followed
http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=55527


fallen one
18
Years of Service
User Offline
Joined: 7th Aug 2006
Location: My imagination!
Posted: 12th Jul 2012 02:37 Edited at: 12th Jul 2012 04:35
I have to change this code for a text word link,(to a clickable image instead) also not sure about the code they give, at the end should the > tag be </a> ?

For an image code. Here is an example


So looks like I have to add this some place.

Not sure how to change this code, to convert it for an image and not the text link example?


BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 12th Jul 2012 05:01 Edited at: 12th Jul 2012 05:15
You can apply an "onclick" event to any tag, but it seems the function they have provided needs a link to be passed in as "this".

Apply the "onclick" code to the anchor tag that surrounds the image.

It should work!

Login to post a reply

Server time is: 2025-05-18 13:29:18
Your offset time is: 2025-05-18 13:29:18