Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4325198
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:14:05+00:00 2026-05-21T09:14:05+00:00

I have read the link below but I am unable to understand the exact

  • 0

I have read the link below but I am unable to understand the exact difference between the different levels of custom variables. Can anyone help me understand this??

http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T09:14:06+00:00Added an answer on May 21, 2026 at 9:14 am

    “visitor” level (scope) is for being able to associate the custom variable dimensions with metrics across multiple visits.

    “session” level (scope) is for being able to associate the custom variable dimensions with metrics across the current visit.

    “page” level (scope) is for being able to associate the custom variable dimensions with metrics on a single page.

    For example, let’s say I have on my website a “contact us” form for a user to fill out. In fact, I have lots of different forms, and this is just one of them. So I use a custom variable to record the name of the form whenever a user views a form. So when a user views my “contact us” form, I populate custom event 1 with “contact us” (doesn’t matter how you setup the hierarchy for the variable, that’s not relevant to the point).

    When the user completes the form, they are taken to a “thank you” page, and I have an event trigger.

    So to recap:
    Form view page: custom var 1
    Form conf page: event

    Now I want to go into the GA reports and take a look at the data for my forms. One way to do this is to go and build a custom report. I can use the custom variable 1 dimension(s) to see how many people viewed my “contact us” page. But what about how many people actually completed the form? This is where the custom variable level (scope) comes into play.

    If I had set the custom variable to “page” level, I would not be able to use the event metrics with my custom variable dimensions. It would all show up as 0 or equivalent. Why? Because I triggered the custom variable and event on two different pages, and “page” level custom variables do not carry over from page to page. It’s like setting and using javascript variables on a page – they don’t carry over from page to page. You have to use cookies or pass them through link URLs or use server-side session variables to get the values to carry over from page to page.

    And that’s where session and visitor level (scope) custom variable types come into play. If I were to set my custom variable as session, it will associate the event to the custom variable, even though it’s on a different page, as long as it’s within the same session (visit).

    Visitor level (scope) is the same as session, except that it works across multiple sessions/visits. So for instance, if I were to go to the form page and custom variable triggers, wait an hour or whatever for my session to time out, then complete the form, it will still associate the variable to the event; I will still see a hit for the event for my “contact us” dimension value.

    Which level/scope you want to pick largely depends on your reporting needs and what you are actually tracking. In my experience, page level custom variables are rarely useful, because most people want to be able to ask questions and make correlations between things that aren’t directly tied together on the same page of my site (like, not in the same place or whatever).

    For instance, page level custom variables are useless for certain things if you have a form that spans several pages or takes a long time to fill out and user has an option to save progress and return to it and finish it later (for instance, forms where you signup for college and classes etc… tend to be long and allow you to save progress and come back later). For many of the things you want to track in this case, you will want to use session and visitor level custom variables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read few articles about table partioning but still I am bit confused
I have read some of the questions and answers here, but it none match
I have read a bunch of forums on this but none have solved my
I have read the documentation of each function on jQuery official website , but
I read the article below and would like to try scribble in Ruby but
I have found some info on the subject ( like this link) , but
I have read many answers to questions about dynamically resizing NSWindows and nothing has
I have read various posts in stackoverflow and I am trying to figure out
I have read the Apple documentation, and many postings on the subject on SO,
I have read pretty much the entire documentation even beyond on the AWS AS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.