Take the 2-minute tour ×

Is there a way I can filter out/prevent the following type of unexpected behavior in my Custom Variables (ideally there would only one row of 1. Page Type)?

enter image description here

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Once the data is in the report it's final. There's no way to remove that data from Google Analytics anymore. You can always use a report filter to remove them if they want, but most of the time it's better to just ignore them.

You can try to keep that information from coming in again. Just make sure that all the places where you set the custom variable use the same name for the custom variable. You might have some pages that use the 2 words together, so just look at the pages where that custom variable was set and try to change it to use "Page Type" instead of "PageType".

The other ones have such a small number that they may be from some testing it on a dev environment. So you just need to ignore them.

share|improve this answer
add comment

You can delete the unexpected custom variables by using:


This method deletes the variable assigned to the supplied index, if one exists. For example, you might set a visitor-level custom variable and later decide that you no longer want to use this visitor-level variable.

_gaq.push(['_deleteCustomVar', 1]);

Here are the details: https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiBasicConfiguration#_gat.GA_Tracker_._deleteCustomVar

share|improve this answer
Thanks! I was originally looking for a way to delete the ones already in the GA Report. This won't fix that issue, but is a good solution to the question title! –  TomFuertes Dec 20 '12 at 17:52
If it doesn't delete the variable from the Report, what does it actually do? I'm confused. –  SeanKendle Dec 9 '13 at 14:50
This method deletes the variable assigned to the supplied index. In other words, yes it deletes the variable from the Report. –  Sawsan Al Khdair Dec 10 '13 at 6:55
add comment

Your Answer


