Analytics
2K members online now
2K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Retrieving count of custom vairiable

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I used custom variable 5 to track impressions of my banners in home page with page level scope. To track custom variable I used an event  as follows.

_gaq.push(['_setCustomVar', 5, 'impression', '<banner id>', 3]);
_gaq.push(['_trackEvent', category, action, label]);

Now I need to get impression count for each banner using custom variable value. I tried to get impression count using hits metrics.  But when I check the report I noticed all the events from home page are counted to hits. can anyone give me a suggestion to get impression count using this tracking.

Re: Retrieving count of custom vairiable

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭
Hi,

Not sure, bit you can try adding a secondary dimension in standard reports.

Best Regards,
GA Guru.

'Star' or 'Accept as Solution' if it helped.

Re: Retrieving count of custom vairiable

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
What should I add for secondary dimension? you meant to add event action? I tried that way but then I noticed the impression count is very low.