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


"...Use a slot matrix to track large numbers of custom variables..."

How to implement it?

share|improve this question

It's talking about a matrix of slot number vs page visited, and avoiding collisions between page/session/visitor level variables.

Example: Let's say you have 6 variables you want to track. You only get 5 slots (for free) so you need to re-use a slot. However, if you use the same slot on the same page then only the last value to be set on that slot is counted and the other is ignored.

To get around that you can set different variables on different pages in the same slot. For example on your blog posts you might want to set category=opinion but on your forum you wouldn't need that variable so you can re-use the same slot for a different variable like loggedin=true.

Similarly, if you track a variable at the page level but on a subsequent page set a session level variable in the same slot, it will overwrite the page one. (See the examples on the link you posted.)

So by "slot matrix" it basically means to make a chart or log of what variables are set at what points on the site, so that you can avoid clashes. If you really need to track a lot of variables you would probably be better off paying for Google Analytics Premium.

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.