Recover blocked click IDs
Some browsers delete the click ID from your ad's landing URL before your site ever sees it. One line in your ad account brings it back.
Why it matters
When someone clicks your Google ad, Google adds a gclid to the landing URL — a unique ID that later lets the conversion be matched back to that exact click. Microsoft Ads does the same with msclkid.
Safari and Brave treat these IDs as trackers. In private browsing (and increasingly beyond it) they delete the ID from the URL before your page loads. The visitor still arrives, still buys — but with no click ID, the sale can’t be credited to the ad. Your campaigns look worse than they are, and Smart Bidding learns from incomplete data.
How it works
Browsers strip the names they know — gclid is on the list, pb_gclid is not. So you tell your ad account to add a second copy of the click ID under that name. AdsPing’s script reads it and treats it exactly like the original.
- If the real
gclidmade it through, it is used — the backup copy never overrides it. - If the browser deleted it, the
pb_gclidcopy fills the gap, and the conversion is credited normally. - Nothing to turn on in AdsPing — every pixel understands
pb_gclidandpb_msclkidout of the box, on every plan.
Set up in Google Ads
- In Google Ads, go to Admin → Account settings (or Settings → Account settings in the older layout) and open Tracking.
- In Final URL suffix, enter:
pb_gclid={gclid} - Already have a suffix there? Keep it and join the two with
&, for example:utm_source=google&pb_gclid={gclid} - Save. It applies to every campaign in the account.
Set up in Microsoft Ads
- In Microsoft Advertising, open Settings → Account level options.
- In Final URL suffix, enter:
pb_msclkid={msclkid} - As with Google, join an existing suffix with
&.
Check it’s working
- Click one of your own ads (or open a landing URL and add
?pb_gclid=test123by hand) in a Safari private window. - Browse to any page and trigger an event — a pageview is enough.
- In your pixel’s Recent Events, open the event and look for
gclidin its details. If it’s there, recovery worked.