← Back to Docs

Google Ads Setup Guide

Configure Google Ads with our tracking template to capture Google Click IDs, ValueTrack parameters, and entity details for accurate attribution.

Who This Is For

This guide is for advertisers, agencies, and founders running campaigns on Google Ads. Injecting the SourceTrack ValueTrack template is essential to map campaign names, ad groups, creatives, devices, and networks to conversions.

The SourceTrack ValueTrack Template

Copy and paste this template into your Google Ads Account, Campaign, or Ad Group level tracking settings.

{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_id={campaignid}&utm_content={creative}&utm_term={keyword}&st_campaign_id={campaignid}&st_adgroup_id={adgroupid}&st_ad_id={creative}&st_target_id={targetid}&st_network={network}&st_device={device}&st_matchtype={matchtype}

Performance Max & Keywordless Traffic:

For modern Google Ads campaigns like Performance Max (PMax) or Dynamic Search Ads (DSA), Google does not use keywords. Therefore, the {keyword}placeholder will often resolve to a blank value. By capturingst_campaign_id, st_adgroup_id, and st_ad_id directly from Google's ValueTrack macro engine, SourceTrack can still attribute conversions to the exact campaign and asset groups without relying on keyword strings.

How to Install the Tracking Template

Option A: Account-Level Setup (Recommended)

Applying the template at the Account Level automatically covers all current and future campaigns in your Google Ads account:

  1. Log in to your Google Ads account.
  2. In the left navigation menu, click Settings → Account settings.
  3. Expand the Tracking section.
  4. Paste the SourceTrack tracking template into the Tracking template field.
  5. Click Save.

Option B: Campaign-Level Setup

If you only want to track specific campaigns with SourceTrack:

  1. Go to the Campaigns list.
  2. Select the campaign you want to track, then click Settings.
  3. Expand Additional settings at the bottom.
  4. Click on Campaign URL options.
  5. Paste the template into the Tracking template field and click Save.

Verifying Your Setup

You can verify your setup using the Google Ads Setup Checklist in the SourceTrack dashboard:

  1. Open theIntegrationspage.
  2. Look at the Google Ads Setup Checklist card.
  3. Click your Google Ads links or send test traffic using a GCLID (e.g. https://yourdomain.com/?gclid=test_gclid_123).
  4. Refresh the checklist or visit the Event Debugger to verify that click IDs and parameters are captured.