To pass the gclid or not to pass the gclid, that is the question. At least, if you're trying to tag your AdWords URLs in Google Analtyics it is. On the Google Analytics blog, they're talking about using auto-tagging in Adwords in order to facilitate easy viewing of info in Analytics. But problems may arise if you've got some URL redirecting going on.
Basically, auto-tagging inserts a little snippet of code into destination URLs. But if you have several redirects, the snippet could get stripped. That snippet is "gclid." What happens if the gclid gets snipped?
While Google Analytics still records the visit and the subsequent user activity, it doesn't have the information necessary to properly attribute the visit to your Google ad. As a result, some of this traffic will be included in the "direct" category while other visits may show up as "not set". Furthermore, your Adwords Campaigns report in Google Analytics may show cost metrics, but your visits columns may show zeros.
If this is happening to you, you have two options.
- Ask your site administrator to configure their servers to pass the glid
- Manually tag your Adwords
So how do you figure out if you're passing the gclid? Follow these steps:
Scenario 1 If your destination URL has no query parameters and looks something like this: www.i_will_redirect_you.com/:
1. Paste this URL in your browser's address bar, but before you press Enter, append "?gclid=test" to the end, like this: www.i_will_redirect_you.com/?gclid=test.
2. Now press Enter.
3. If the gclid is present on the final landing page URL, you're golden.
If your destination URL already has query parameters and looks something like this: www.i_will_redirect_you.com/?param=a¶m2=b:
1. Paste this URL in your browser's address bar and before pressing Enter, append "&gclid=test" to the end, like this: www.i_will_redirect_you.com/?param=a¶m2=b&gclid=test.
(This is why the "?" and the "&" distinction were important to note earlier. It's a matter of URL syntax. Luckily, auto-tagging knows the difference.)
2. Press Enter.
3. If the gclid is still there, you're in good shape, and need only to enable auto-tagging.
This Year's Premier Digital Marketing Event is #CZLSF
ClickZ Live San Francisco (Aug 11-14) will bring together the industry's leading online marketing practitioners to deliver 4 days of educational sessions and training workshops. From Data-Driven Marketing to Social, Mobile, Display, Search and Email, the comprehensive agenda will help you maximize your marketing efforts and ROI. Register today!