Google Analytics Internal Campaign Tracking

I have a situation where a client needs a ton of segmentation and I had an idea to manually tag internal links with campaign names for the internal tracking.  However, I don’t know whether when a visitor clicks on these if they will be tracked as a new visit because the campaign tracking would probably overwrite the utmz cookie but I don’t know how it will treat the other cookies. I think it would not count the visitor as new but would just segment the visitors who click on the link into that campaign so I could view the activity, goals, and ecommerce of just the visitors who clicked on that internal link.  I am thinking it may be a way around the limited single user defined variable that we currently have. To test this theory, I am providing a link here that is manually tagged and I will be accessing my site through an obscure method so I can isolate it and then view the results. So if you want to take part, go ahead and click on the link.
Thanks,
Brad Henry

March 6th, 2008 at 12:40 pm
Hi Brad,
Interesting thought. I have a similar issue in that we are looking to see how people interact with some of our pages and we were thinking how to retag our pages to allow tracking of access. Manually tagging parts of the site seemed easy but one of my collegues was worried that search engines will see the new URLs and add a second copy of a result page to their index. Is this an issue we should be worried about?
I do however like your coding of the solution above as very neat and simple - how did it work out
June 17th, 2008 at 1:27 pm
You don’t need to worry about search engines indexing duplicate copies in most cases. However, I have seen Yahoo index some of the tagged links but those were from third party content ads. One thing to note about this method is that it will overwrite the visitors original source so you have to be careful about how you use this.
Another method that is very useful is the user defined segmentation. This is when you set a JavaScript variable using the following code.
This will allow you to segment by this user group throughout Google Analytics. The main way to access this feature is by going to Visitors >> User Defined.