Skip to Content
🎉 Nextra 2.0 is released. Read more →
reportingTracking & AttributionHow to set up Google Ad Precautionary Tracking Script

How to set up Google Ad Precautionary Tracking Script

Modified on: Wed, 14 Sep, 2022 at 11:55 AM

Covered in this article:

How to set up Google Ad Precautionary Tracking Script

Step 1: Visit your Google Ad account

Step 2: Click on Tools and Settings > Bulk Actions > Scripts (See image below)

**Step 3:**Next, we need to remove the predefined code and add this script:

Step 4: After closing, we need to change the name of the script and change the frequency from the list to the Hourly view.

Frequently Asked Questions


How to set up Google Ad Precautionary Tracking Script

The script is a simple example of how you would set up the Google AdPrecautionary tracking code.

The script acts as a fail-safe if the UTM template fails in capturing the attribution data.

It will track all clicks on a particular link and send it to Google Analytics. The only thing that needs to be changed in this script is the URL for the tracking page, which should match the one used by your website.


**Step 1:**Visit your Google Ad account

Step 2: Click on Tools and Settings > Bulk Actions > Scripts (See image below)

Please Note:


**Step 3:**Next, we need to remove the predefined code and add this script:

**Step 4:**After closing, we need to change the name of the script and change the frequency from the list to the H****ourly view.


Frequently Asked Questions

If I have another script, will it affect it?

Yes, Scripts can override as it is affecting UTM parameters.

Why do I need to authorize it?

Authorization is needed for the script as it gets implemented on Google Ad Account. It is necessary to check the preview before running it, it should show the majority of campaigns as successful with the landing page found.