# Click tracker for Google Ads: track clicks, keywords and affiliate sales

> How to track Google Ads clicks with a click tracker: tracking templates, ValueTrack parameters like {keyword} and {campaignid}, gclid, and sending affiliate sales back as conversions.

Source: https://hoplytic.com/blog/google-ads-click-tracker · Updated 2026-11-21 · Hoplytic Guides

Video version (59 seconds): [https://hoplytic.com/video/google-ads-click-tracker.mp4](https://hoplytic.com/video/google-ads-click-tracker.mp4)

## Video transcript

How do you track Google Ads clicks, and see affiliate sales in Google? A click tracker connects the two.

The sale happens on the merchant's side. Your tracker records each click, then tells Google which ones earned.

Keep auto-tagging on, then add campaign, ad group, keyword and device values to your tracking template.

In the tracking template, the tracker logs each click, with the campaign and keyword Google fills in, then forwards to your final URL.

The tracker stores the gclid with every click. The visitor buys, and the network reports it with your click ID. The sale joins an offline conversion feed Google fetches, so bidding optimises for sales.

Choose Google Ads in the link maker: the gclid is stored and ad values added. Under Send back, add Google Ads to get a private feed address for scheduled uploads.

The full guide is right below. Hoplytic: ad tracking made simple.

Google Ads knows who clicked your ad. It doesn't know who bought, because for affiliates the sale happens on the network's merchant. A click tracker connects the two: it records each Google click with its keyword and campaign, and later tells Google which ones earned.

**Short answer:** keep auto-tagging on (Google adds `gclid`), add ValueTrack parameters such as `{campaignid}`, `{adgroupid}`, `{keyword}` and `{device}` to your tracking template, and route clicks through a tracker that stores them. When a sale comes in, send it back to Google Ads as an offline conversion with the gclid, so bidding optimises for sales instead of clicks.

## The ValueTrack parameters worth adding

| Parameter | What you learn |
| --- | --- |
| `gclid` | Google's click ID, added automatically with auto-tagging. Needed to send conversions back. |
| `{campaignid}` | Which campaign |
| `{adgroupid}` | Which ad group |
| `{keyword}` | The keyword that matched |
| `{device}` | Mobile, tablet or computer |
| `{matchtype}`, `{network}`, `{placement}` | Match type, Search vs Display, and the Display placement |

The full list is in our [Google Ads macros](https://hoplytic.com/blog/google-ads-macros) reference.

## Where the tracker goes

- **Tracking template** (account, campaign or ad group level): for example `https://tracker.example/click?campaign={campaignid}&kw={keyword}&url={lpurl}`, where the tracker logs the click and forwards to the final URL.

- **Final URL suffix**: adds parameters to the landing page without a redirect, for when your own page or site script does the logging.

- **Direct affiliate links**: Google's policies require the final URL's domain to match the display URL, and many merchants don't allow affiliates to bid on their brand. Most affiliates send Google traffic to their own landing page or review page first.

## Sending sales back to Google Ads

- The tracker stores the gclid with every click.

- The visitor buys; the network reports the sale to your tracker with your click ID.

- The tracker adds the sale to an offline-conversion feed with the gclid, time and value.

- Google Ads fetches the feed on a schedule (Goals → Conversions → Uploads → Schedules) and attributes the conversion to the keyword and ad.

Details in [Google Ads offline conversion import](https://hoplytic.com/blog/google-ads-offline-conversions).

## On Hoplytic

Choose Google Ads in the link maker: `gclid` is stored automatically and the campaign, ad group, keyword and device values are added for you. With the [site script](https://hoplytic.com/help/site-script) on your landing page, ad values carry from the landing page to the affiliate click. Under **Send back**, add Google Ads to get a private feed address for scheduled uploads; sales from Google clicks go into it within about 20 seconds of the network reporting them. Reports group by campaign → keyword → device with sales, commission and earnings per click.

![Making a tracking link for PropellerAds in Hoplytic: paste the offer link, pick the ad platform, and its click ID, zone and campaign macros are added to the tracking link.](https://hoplytic.com/video/howto-link-ad-platform.gif)

*Pick the ad platform and its macros are added to your tracking link.*

## Questions people ask

### How do I use a click tracker with Google Ads?

Put the tracker in the ad's tracking template or final URL suffix, with ValueTrack parameters like {campaignid}, {adgroupid} and {keyword}. Google adds the gclid automatically when auto-tagging is on. The tracker logs each click and passes it on to the landing page.

### Does Google Ads allow tracking redirects?

Yes, through tracking templates, as long as the visitor ends up on the page your final URL shows. The final URL's domain must match the ad's display domain; redirecting to a different site is against Google's policies.

### How do I see affiliate sales in Google Ads?

Store the gclid with each click, and when the network reports a sale, upload it to Google Ads as an offline conversion, either by file or a scheduled feed from your tracker. Smart bidding can then optimise for sales.
