Suppose you manage the AdWords campaign for an online service that offers a 30 free trial before I have to submit my credit card info and officially signup for your paid service. Â One day, I clicked your AdWords ad, became interested in your service, but it wasn’t until a few days later when I searched and clicked on your organic listing that I actually signed up for my 30 trial. Â After 30 days are complete, I go into my account, submit my CC info and ‘convert’ as a paid member.
AdWords isn’t getting any credit for that conversion.
Here are a few reasons why AdWords is losing credit for this conversion:
The following information will guide you in how to use Google Analytics custom variables to associate these conversions to your AdWords clicks. And for a bonus treat I’ll even suggest one way of retaining AdWords attribution for when people convert on a different device!
We strongly recommend enabling auto-tagging in AdWords. This will allow you to analyze the really juicy AdWords reports within Google Analytics. Â Also, the code in this post will look for the ‘gclid’ parameter so that we only set custom variables against AdWords visits. Visit the following link for more info on enabling auto-tagging:
https://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=55590
We will want to add the following âgaw_campaignâ and âgaw_termâ URL parameters to your AdWords destination URLs:
gaw_campaign=CampaignName-AdGroupName
gaw_term={keyword}
*Note* Please change âCampaignNameâ to the name of the AdWords campaign that the destination URL is placed in. Please change âAdGroupNameâ to the name of the AdWords AdGroup the destination URL is placed in. You do NOT need to modify the {keyword} as that is an AdWords variable for dynamic keyword insertion.
Example Destination URL (original):
https://www.domain.com
New Destination URL to enter in AdWords:
https://www.domain.com?gaw_campaign=CampaignName-AdGroupName&gaw_term={keyword}
Add the following URL parameters to be exclude in your Google Analytics profile settings so we don’t clutter up your content reports:
ss_gaw_campaign, ss_gaw_term
We will want to create 2 visitor-level custom variables so we can track these AdWords parameters for up to 2 years… assuming cookies are cleared from the browser 🙂 Â Copy the JS code from the following link to create your custom variables:
If you are using CV slots 1 and 2 for other variables, then assign these new variables to other open slots.
Those visitor-level custom variables are going to stick around for a while, so when a conversion does finally happen it will be associated with these variables. You can use the following Google Analytics custom report to drill down into the campaign/adgroup to view the different keywords. The report is just a basic setup so you can modify as needed:
https://www.google.com/analytics/web/permalink?type=custom_report&uid=-xEIs2OPTz2oCeKtFwBFXQ
Yeah, that happens. Â It’s just something we have to deal with in a world where people have access to a handful of web-enabled devices. But if you operate a website where your visitors login then you can save these custom variable values in your database so you can re-set them at later logins on whatever device they are on!
You can save these values to your database once a user signs up for a profile on your site. Â Copy the following JS code to retrieve GA custom variable values:
I’ll leave it to you to insert these values against the member record.
Once these values are saved against the user, just execute the earlier setCustomVar lines of code to re-initialize the custom variables upon user login by simply querying the values from their member record.
The most important principle here is the ability to use visitor-level custom variables to store source/referral info that otherwise would be overwritten. Â You can apply theses concepts to any of your marketing channels that you think suffer from the 30 day limits that I described in the beginning of the post. Be creative!
Feel free to drop a comment if you have any questions about this solution.
As consumers become increasingly digitally savvy, and more and more brand touchpoints take place online,…
Marketers are on a constant journey to optimize the efficiency of paid search advertising. In…
Unassigned traffic in Google Analytics 4 (GA4) can be frustrating for data analysts to deal…
This website uses cookies.