Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

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

We're tracking clicks on certain banners on a site using synchroneous tracking:

var pageTracker = _gat._getTracker(\''+ ga_acc_code +'\');
pageTracker._trackEvent(\'click_1\', \'Home\', \'%title%\');

The site uses asynchroneous tracking and this is synchroneous tracking. But it works and the events are being registered.

The site analytics is in "ecommerce mode".

On the Top Events report we don't see revenues for these segments (see image below). What is wrong? Could it be related to the fact we are using synchronous while the analytics script is set for async tracking?

For other events which are tracked asynchronously we do see related revenues.

enter image description here

share|improve this question
up vote 0 down vote accepted

I would definitely update to use Async code. What shopping cart are you using?

The event tracking code I use on a header search box is below. There are more parameters available I only have the first two set.

onclick="_gaq.push(['_trackEvent', 'Site wide', 'Search']);"

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.