Variables
When counting visits, you can send variables with a value. You can use these variables in Google Analytics to filter and to analyse the visitor data.
You record variables in Google at different levels:
- Visitor:
The number of unique visitors., regardless of how often they visit the site. Whether a visitor is recognised as the same visitor on a return visit cannot always be determined from the counter. You must bear this in mind when analysing the counter data.
- Session:
The number of times that a visitor visits the site without having closed the browser in the meantime.
- Page:
The number of times that a visitor opens a page.
The variables Profit supplies are fixed. You cannot modify these variables. It concerns:
- Log on required?
- Logged on on page
- Web Category / Subcategory
- Page type
- Range
- Selection
- Site
- Session
Profit only supplies the features and restrictions if they are used. The variables and the values Yes and No are in English because the base language is not available on the web server.
Google uses the setCustomVar function to send variables with a value to the counter. This function has the parameters Index, Name, Value and Opt scope.
Example:
Index: 1
Name: Web Category
Value: Course
Opt scope: 1 = visitor, 2 = session, 3 = page
_gaq.push(['_setCustomVar', 1, 'Categorie web', 'Cursus', 3]);
If you modify feature values, the website statistics in Google are affected.