Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up conversions using Google Analytics. What I want to define as a conversion is when a person clicks on certain images in my blog (product adverts). How can I do this in google analytics?

I found that you can track URL clicks, but the url the image leads to is offsite. Will that still work?

share|improve this question
Your question body cuts off. – Su' Dec 10 '11 at 10:40
YEa thanks, don't know how that happened. – TheGateKeeper Dec 10 '11 at 12:58

You can track outbound links of any kind with Google Analytics using JavaScript.

See Google's help article on it, http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=72712.

share|improve this answer

For interactions such as clicking on product adverts that lead off-site, you'd be best of using Event Tracking. You can use virtual page views, but Google recommends event tracking for this type of interaction.

Once you'd added the event tracking code to the links you want to track, you'll need to setup those events as goals.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.