Skip to content Skip to sidebar Skip to footer

Google Analytics; Using Custom Variables With Events

I've been tasked with adding some Google Analytics events to a web site. I've never used Google Analytics before, and I have the basics working, but despite having read lots of doc

Solution 1:

1) Officially, data can take up to 24 hours to show up in GA, so if you are clicking the button and then immediately going to GA to see if it shows up, you're not waiting long enough. You can't officially start worrying for at least 24 hours.

2) You only have 5 custom variable slots, and depending on how you use a given custom variable slot, particularly the scope argument, you may be overwriting your data. Are you using custom variables somewhere else, and what scope are you using for them elsewhere?

3) "why is my custom variable not being set correctly?" I assume you mean that it is showing "undefined".. well that is because the javascript variable you are passing as an argument to GA is undefined; that's not a problem with your GA code, that's a problem with wherever you are (not) defining that javascript variable.

Post a Comment for "Google Analytics; Using Custom Variables With Events"