About gad parameter

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.

Note: The gad parameter will be gradually rolled out in the coming months. Some advertisers may not find the gad parameter in their URLs yet.

How it works

Google adds &gad to the end of your final URL, before any fragments (also called "name anchors" and indicated by the presence of a #).

Example

example.com/foo?a=b&gad=1#xyz

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.

Special cases

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:

Note: The instructions below are part of a new Google Ads user experience that will launch for all advertisers in 2024. If you’re still using the previous version of Google Ads, review the Quick reference map or use the Search bar in the top navigation panel of Google Ads to find the page you’re searching for.
  1. In your Google Ads account, click the Campaigns icon Campaigns Icon.
  2. Click the Insights and reports drop down in the section menu.
  3. Click Landing pages.
  4. Copy the landing page URL from your Google Ads landing page and paste the URL into your browser.
  5. Add &gad URL parameter manually.
  6. Press enter to go to that URL.
  7. Check if the parameter you entered is still present in the URL box and the page loads successfully.

Example

Let's say your landing page is: example.com/foo

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:

example.com/foo?gad=1

If there is a preceding question mark, you need to prepend the parameter with an ampersand (&):

example2.com/foo?page=123&gad=1

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:

example.com/foo?a=b&gad=1#xyz

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.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
true
true
true
true
73067
false