TwoSquaresTwoSquares
ContactFree Audit
ENBG
  1. Home
  2. Scripts
  3. MCC UTM Tracking Template Updater
Back to 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.

mccutmtrackingurls

Script Details

Name
MCC UTM Tracking Template Updater
Author
Kiril Ivanov
Updated
2026-03-19

Script Code

Use this when you want consistent campaign-level UTM tracking rolled out from a manager account without touching each child account manually.

Preview is public. Unlock full code with name and email.

/**
 * ==========================================================
 * MCC UTM Tracking Template Updater
 * ==========================================================
 * Description: Applies a UTM tracking template across child
 * accounts from a manager account.
 *
 * Copyright (c) 2026 TwoSquares. All Rights Reserved.
 * Developed by Kiril Ivanov
 */
function main() {
  var ACCOUNT_LIMIT = 50;
  // ... preview shortened
}

About This Script

MCC UTM Tracking Template Updater is designed for agencies and in-house teams managing multiple Google Ads accounts from a single manager account. It applies a common tracking template and custom parameter pattern across campaign types so reporting stays consistent.

This updated version keeps the original intent but uses cleaner helper structure, safer logging, and current campaign iteration patterns. It also uses a capped account selector so the execution scope remains controlled.

Because tracking changes can affect reporting and landing-page behaviour, it is best used in a staged rollout. Start with a small account subset, validate URLs, and only then widen execution.

Implementation Notes

  1. Replace or adapt the TRACKING_TEMPLATE if your reporting team uses a different UTM convention.
  2. Set ACCOUNT_LIMIT to the number of child accounts you want to process in one run.
  3. Optionally add specific account IDs instead of relying on a simple limit.
  4. Run on a small test batch first and validate final URLs in the Google Ads UI.
  5. Schedule only after confirming your analytics platform parses the UTMs correctly.

More Scripts In This Library

Previous Script

MCC Negative Keyword Conflict Checker

Next Script

Missing Active Ads Ad Group Alert

Single Account UTM Tracking Template Updater

Applies a standard UTM tracking template across campaign types in a single Google Ads account.

Final URL UTM Consistency Audit

Audits enabled ad/keyword final URLs for missing UTM parameters and inconsistent tagging patterns.

Campaign Underspending Alert

Flags campaigns and shared budgets that are underspending against expected budget pace, with support for yesterday or intraday checks.

Conversion Action Mix Anomaly Monitor

Monitors conversion action distribution shifts to detect sudden tracking or intent-mix anomalies.

MCC UTM Tracking Template Updater FAQs

Common setup, usage, and troubleshooting questions for this script.

Dominate your market. Own your growth.

Let's build measurable growth together.

Get Free Audit
TwoSquares

Full-service digital growth agency. SEO, PPC, paid social, GEO and web development for UK brands ready to scale.

ENBG

Ask AI about TwoSquares

ChatGPT
Perplexity
Grok
Claude
Gemini

Services

  • SEO
  • GEO
  • PPC
  • Paid Social
  • Email Marketing
  • Web Design & Dev
  • CRO
  • Strategy & Planning
  • Consultancy
  • Custom Solutions

Solutions

  • AI Search Growth System
  • Demand Generation & Lifecycle
  • Pay-Monthly Websites

Audits

  • PPC Audit
  • SEO Audit
  • GEO Audit
  • Website Audit
  • Full Marketing Audit
Featured on Best in Britain

Company

  • About Us
  • Our Brands
  • Blog
  • Contact
  • Case Studies
  • Careers
  • Templates

Resources

  • Resources Hub
  • AI Readiness Toolkit
  • SEO Glossary
  • Free Tools

Industries

  • Hotels & Resorts
  • Property & Rentals
  • Restaurants & Bars
  • E‑commerce & DTC

Connect

[email protected]
SSL Secured
GDPR Compliant

© 2026 TwoSquares Limited (SC877356). All rights reserved.

Privacy PolicyTerms of ServiceCookie PolicySitemap

TWOSQUARES