Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google analytics variables limitations

We are in the process of deciding if we go for Omniture or Google Analytics.

Some information regarding GA seems outdated on the Net, and it is not easy to find the relevant answers to our questions.

In particular, I would appreciate some pointers regarding, in Google Analytics

  • is there a limitation of the number of custom variables?
  • is there a limitation of the type of variables that can be used?

and besides,

  • what is your experience in the delay between the moment the data is recorded GA side, and the time it is made available to the GA account (read 2~10 hours?)

Thanks

like image 212
Déjà vu Avatar asked Jul 26 '26 14:07

Déjà vu


1 Answers

There are 5 custom variable slots. Any given pageview/visit/visitor can only occupy up to 5. In theory, you could have thousands of different variables, but the slots are overriding. ie, you can't store 'Is Logged In' in the same slot as 'Is Paid User' if you want to be able to track both on the same pageview, session, or user. But, you could use the same slot for mutually-exclusive variables that you know won't ever overlap (like, 'banned user' and 'Admin').

There's also a 6th possible variable value known as "User Defined Variable" (called by _setVar), which is the deprecated ancestor to Custom Variables, but for backwards compatibility reasons will likely always be around. It is a single slot, visitor level, that lets you define one key-value pair.

The 'type' is basically any key-value string pair, with a limitation that the combined length of any given custom variable's key and value cannot exceed 128 characters. You can set the scope of the custom variable to be at the page-level (pageview), session-level (visit), or user-level (visitor).

The length of time for data processing is inconsistent. Sometimes, the most basic data from pageviews, transactions and events appears within minutes, but then some of the accompanying data (source information, custom variable values, etc) does not process for another few hours. Only on vary rare occasions does it take longer than 24 hours for a full snapshot of a day to be available.

like image 170
Yahel Avatar answered Jul 29 '26 20:07

Yahel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!