Mobile app version of vmapp.org
Login or Join
Eichhorn148

: How to track internal campaigns (without writing any code)? So, UTMs work really well for tracking external campaigns in Google Analytics. I use UTMs all the time for the sites that I work

@Eichhorn148

Posted in: #Campaigns #GoogleAnalytics #Url

So, UTMs work really well for tracking external campaigns in Google Analytics. I use UTMs all the time for the sites that I work with. But I'm wondering how to properly track these campaigns easily if I migrate the target site into its parent site.

I've read through a few different recommendations. Justin Cutroni says create a new Google Analytics view and use site search. This sounds easy, but also seems pretty darn hacky. Site search wasn't meant for that (and site search has a few limitations that aren't present when tracking external campaigns in GA).

Escape Studio says site search is one of 3 ways to do this. The others: Enhanced ecommerce, Event tracking, and Custom dimensions. Event tracking, it appears, is the most common solution for this problem, but it involves touching code any time a new campaign is created.

Is it possible to simply create a new internal campaign just by adding a querystring to a URL, and then somehow telling GA that the querystring is an internal campaign? And then how to properly monitor these internal campaigns in GA... without touching code.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Eichhorn148

2 Comments

Sorted by latest first Latest Oldest Best

 

@Michele947

Google Analytics doesn't support internal campaigns in a similar fashion as external campaigns are supported. If you use campaign variables internally on your site, you'll overwrite external campaign / referral info.

Your best bet is to use a custom session-level variable to identify the internal campaign. GA documentation is here:
developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables#setup

10% popularity Vote Up Vote Down


 

@Pope3001725

If you really can not (do not want) to touch the source code, you can use Google Analytics Advanced Filter. It requires basic knowledge of POSIX regular expressions, but using it you can "extract" part of URL (like "campaign=summer2013" -> but you should match only the "summer2013") and then insert it into other field, in this case maybe Event Label.

See support.google.com/analytics/answer/1034836?hl=en&ref_topic=1034830 for more information about Advanced filters.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme