Google Analytics Campaign Tracker for Salesforce by CloudAmp

Overview | Setup | Reports & Dashboards | Google Adwords Configuration | Visitor Sessions

| UTM Parameters & Fields

Google Adwords Configuration
for Campaign Tracker

To set up the Campaign Tracker to track Google Adwords into Salesforce, just add Google Analytics campaign parameters (for example, utm_campaign and utm_source) to the end of your Google Adwords ad URLs.

Step 1:

If you have Adwords autotagging enabled, please disable it as shown below.

Campaign Tracker does have the ability to capture the Google Adwords gclid codes, but Google's autotagging can cause conflicts and duplicate data in some cases.

Turn Off Google Adwords AutoTagging

Step 2:

Update the Destination URLs in all your Adwords ads with the campaign URL parameters.

  • If you have more than a few ads, we recommend downloading and using the Adwords Editor client program to update / duplicate many ads at once. Adwords Editor makes it easy to copy / move items between Adgroups and Campaigns, and make bulk changes very quickly. See screenshot below.

  • Note that whenever you make changes to your ad text or URL, they are sent back to Google for review. Rather than modify an existing ad, you may wish to create a new one so that the existing ad keeps running while your new ad is under review. Once the new ad is approved, you can delete the old ad if you want. You can use Adwords Editor to duplicate all of your ads in just a few clicks.

  • Redirects can also cause issues with Campaign tracking and Google Adwords attribution, so Google recommends updating the actual Destination URLs in your ads, instead of using a redirect.

Google Adwords Editor

Example URL:{Keyword}

  • utm_campaign = Adwords Campaign Name
  • utm_source = GoogleAdwords
  • utm_medium = PPC or SEM (keep consistent with other campaign categories you are using)
  • utm_term = {keyword}
  • utm_content = optional, use for adgroup or text ad tracking

For tracking specific keywords, the sample url above uses the utm_term parameter and Google's keyword insertion format to update the Destination URLs of your Google Adwords ads. utm_term is the Google Analytics campaign tag for the keyword, so use utm_term={keyword} and Google will automatically insert the keyword that triggers your ad into the URL, and it will be tracked when a visitor clicks through to your site and submits a form into Salesforce.

Note: This same URL format and {keyword} insertion works in Microsoft AdCenter as well.

Finally, Google provides a URL builder tool which some people find useful, but you can also simply copy and modify the URL above. You do not need to create the campaigns in Google Analytics ahead of time -- when a visitor arrives on your site from a Campaign tagged URL, the campaign is automatically created in Google Analytics.

Google Analytics URL Builder

That's It!

Once you have tagged and update your Google Adwords URLs, just make sure you have installed the Campaign Tracker app into Salesforce, and have added the javascript tracking code to all pages of your web site.

Your web site visitors from Google Adwords will now be tracked as they click around your site, and when they submit a form to Salesforce, all of the data from Adwords will become part of the lead in Salesforce.

You will be able to track leads by Google Adwords keyword, campaign and even adgroup or text ad (using the utm_content tag). Best of all, as leads convert to opportunities and then to closed won revenue in Salesforce, the Adwords data will stay with them throughout the sales process. So you can know your Google Adwords ROI inside of Salesforce, and optimize your advertising spend to know which keywords produce sales and the revenue per keyword.


Overview | Setup | Reports & Dashboards | Google Adwords Configuration | Visitor Sessions

| UTM Parameters & Fields

Get it now on the AppExchange® >

For customizations or questions, please contact us.

Support Resources

Complete Documentation


Javascript Code for your website

Related Articles from our Blog

How to Track Multi-touch Attribution in Salesforce

Camapign Tracker 2.0 Launches

How to Customize Salesforce Dashboards

6 Ways to Build a Lead Machine with Salesforce (guest post on Salesforce blog)

The Opportunity of '(Not Provided)' Google Keywords

Lead Tracking 101: Understanding Advertising ROI in Salesforce

Tracking Google Adwords Results in Salesforce

Replacing Salesforce for Google Adwords

6 Challenges with Tracking Adwords Conversions in Salesforce

How to get a detailed Email about every new lead in Salesforce