Google uses the URL parameter gad to identify URLs coming from ad clicks and improve the accuracy of ads conversion measurement. Any URL coming from a Google ad now has
&gad=1 in its final URL. This parameter is not customizable and is the same for all advertisers and campaigns.
How it works
&gad to the end of your final URL, before any fragments (also called "name anchors" and indicated by the presence of a
If your website contains redirects, it's important that you keep the gad URL parameter in your redirect. Google Ads and Analytics tags expect to observe the gad parameter as top-level parameter on the page where tags are loaded.
A small percentage of websites don't allow arbitrary URL parameters and serve an error page with these parameters. Consult with your webmaster to find out if this is the case, or you can perform a brief test to check if your website allows arbitrary parameters. If you get an error, you may need to ask your webmaster to allow gad URL parameters.
To check if a
&gad URL parameter can be added to your landing page, follow these instructions:
- In your Google Ads account, click the Campaigns icon .
- Click the Insights and reports drop down in the section menu.
- Click Landing pages.
- Copy the landing page URL from your Google Ads landing page and paste the URL into your browser.
&gadURL parameter manually.
- Press enter to go to that URL.
- Check if the parameter you entered is still present in the URL box and the page loads successfully.
Let's say your landing page is:
Paste this into your URL box and add a test URL parameter (for example, "bar"). Note that you need to prepend the parameter with a question mark (
?) if there are no preceding question marks in the URL:
If there is a preceding question mark, you need to prepend the parameter with an ampersand (
When you navigate to this URL, check and make sure you find "
gad=1" in the URL box. Note that your gad parameter is case-sensitive and should appear the same across all pages on your site.
If you have other URL parameters, the "
gad" should come after those parameters but before any fragments (also called "named anchors" and indicated by the presence of a
#). It should look something like this:
If you have difficulties allowing this parameter in your URL, contact us. Note that the gad parameter is not controlled by auto-tagging as it’s not generated for your campaign specifically.