Sending Conversions to Google Ads
Sending conversions to Google Ads is what turns random clicks into a manageable campaign — without it, Smart Bidding optimizes blind. Inside a PWA, the gclid parameter is easy to lose once the app moves into its own standalone window, so it needs to be captured and stored separately. Here's how to set up the postback, attach it to a Conversion Action, and stop losing data to auto-tagging gaps.
How Google Ads ties a click to a conversion
Google Ads uses gclid, a unique click identifier appended to the link when auto-tagging is enabled on the account. Any conversion that arrives with that gclid gets credited to the specific ad, keyword, and campaign that produced it. Without gclid, Google Ads can't connect the conversion to its source, and the campaign effectively optimizes on incomplete data.
Account setup: auto-tagging and Conversion Action
Start by enabling auto-tagging in the Google Ads account settings — without it, gclid never gets added to links at all. Next, create a Conversion Action of type import from clicks, setting an event name, value, and count window. This is the action your postback will target, so save its name and ID in your tracker.
Why PWAs lose gclid, and how to keep it
Once a PWA is added to the home screen, it opens in its own standalone window with no address bar, and URL parameters from the first visit are no longer readable the normal way. Capture gclid on that first load, before install, and store it locally — in localStorage or via the service worker — alongside the click ID. Skip this step and conversions that happen after install have nothing to link back to.
Setting up the postback and uploading conversions
There are two paths: send the postback through a tracker module integrated with the Google Ads API, or upload conversions manually via offline click import in the interface. The request carries gclid, the Conversion Action name, the conversion time, and a deal value if relevant. APEX passes gclid through its S2S postback natively, so setup comes down to adding a token and event name.
Enhanced Conversions: tightening the match
Enhanced Conversions layer hashed user data — email or phone, if collected at the lead stage — on top of gclid. This helps Google Ads credit a conversion even when gclid wasn't preserved or the attribution window closed. For accounts with real lead volume, Enhanced Conversions usually lift the matched-conversion rate noticeably.
Timing and send frequency
Send each conversion as soon as possible after the event itself — Smart Bidding learns faster and more accurately from fresh data. Google Ads accepts conversions within its gclid attribution window (typically several weeks), but the longer the delay, the less useful the data is for live campaign optimization.
Common mistakes when sending conversions
The most frequent issue is auto-tagging quietly getting disabled after an account settings change, so gclid stops appearing on links at all. A second common mistake is a mismatched Conversion Action name between the tracker and Google Ads. Double-counted conversions also show up when a manual upload runs on top of an already-configured automatic import — pick one channel and stick to it.
FAQ
- What if gclid is missing from the click?
- Check whether auto-tagging is enabled on the Google Ads account, and confirm the visit actually came from the ad, not organic search or another channel.
- Do I need Google Ads API access, or is a tracker enough?
- Automated conversion uploads usually need API access or a ready-made tracker integration — APEX's postback module handles this without manual exports.
- How long does a gclid stay valid?
- Google Ads' click attribution window is typically measured in weeks, but the exact length depends on the Conversion Action settings — send conversions as early as possible regardless.
- Can conversions be sent a few days late?
- Technically yes, within the attribution window, but the longer the delay, the slower and weaker the bidding algorithm's learning becomes.
- Are Enhanced Conversions mandatory?
- No, but they noticeably raise the matched-conversion rate wherever gclid gets lost, and they're worth adding whenever lead personal data is already being collected.
Cloaking, anti-bot, push, split tests and your own domains — in one service.
Get started free