Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

We’ve set up tracking through custom variables in Google Analytics to measure which offices are getting the most traffic. The custom var consists out of the key (=office) and value = (office name).

In our Custom Var tab in audience we get no data (actually we got 1 hit, but we think the data is way off).

When we setup advanced segments with the filters on key and value we get the correct data. Now we are wondering why we aren’t getting that data in the custom var tab.

share|improve this question

2 Answers 2

For event tracking will only reflect the data when visitors perform specified task i.e clicked on button, click on download fine, click on play button etc...

Make sure your code is installed properly and load the same when visitors perform specific event.

For more information, kindly visit https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables

share|improve this answer
up vote 1 down vote accepted

Found the solution to my own problem:

Sequence of the snippet wasn't ok, you need to declare your custom vars BEFORE ['_trackPageview'] not AFTER it.

Hope this could be of use to anyone.

share|improve this answer

Your Answer

 
discard

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.