Final URL UTM Consistency Audit
Audits enabled ad/keyword final URLs for missing UTM parameters and inconsistent tagging patterns.
Script code
Low-effort QA script to catch attribution gaps and inconsistent campaign tagging before reporting quality drops.
Preview is public. Unlock full code with name and email.
/**
* ==========================================================
* Final URL UTM Consistency Audit
* ==========================================================
* Description: Checks enabled final URLs for missing UTM
* parameters and inconsistent tagging.
*
* Copyright (c) 2026 TwoSquares. All Rights Reserved.
* Developed by Kiril Ivanov
*/
function main() {
var SPREADSHEET_URL = "";
var SHEET_NAME = "UTM Consistency Audit";
var REQUIRED_PARAMS = ["utm_source", "utm_medium", "utm_campaign"];
// ... preview shortened
}За този script
Final URL UTM Consistency Audit scans enabled ads and keywords, then checks final URLs for required UTM parameters and consistent naming patterns. It helps reduce attribution blind spots and reporting noise.
The script outputs one row per unique URL with missing-parameter details, source counts, and examples of where each URL appears.
As with your other scripts, sheet handling is robust: blank URL auto-creates a spreadsheet, provided URL writes to existing file and creates the tab if missing.
Implementation notes
- Set REQUIRED_PARAMS to your baseline tracking requirements.
- Leave SPREADSHEET_URL blank for auto-create, or supply an existing URL.
- Run after major campaign launches to validate tracking hygiene.
- Schedule weekly to keep attribution clean across teams.
Още scripts в библиотеката
MCC UTM Tracking Template Updater
Applies a standard UTM tracking template across up to 50 child accounts from an MCC, covering standard, shopping, and Performance Max campaigns.
Single Account UTM Tracking Template Updater
Applies a standard UTM tracking template across campaign types in a single Google Ads account.
Conversion Action Mix Anomaly Monitor
Monitors conversion action distribution shifts to detect sudden tracking or intent-mix anomalies.
Delete Disapproved Ads
Finds ads with non-approved policy status and removes them, with a dry-run mode enabled by default for safer review first.
Final URL UTM Consistency Audit FAQs
Чести setup, usage и troubleshooting въпроси за този script.