Google Analytics Helpful Tip – _deleteCustomVar()

Previous, I wrote a blog posting on getting the custom variable within Google Analytics. Now, I want to discuss, briefly, how to delete that custom variable.

This function removes the assigned variable in the index.  Lets say you set a visitor custom variable in code previously and then you decide you want to remove it.

Below is an example of the code needed to handle the deletion of the custom variable.

pageTracker._deleteCustomVar(x)

The “x” is the integer index that you wish to delete for the custom variable.



Written by: Dorian D. Regester

Analytics, Google, Web Analytics

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Leave Comment

(required)

(required)