Join Cpamatica to access a world of opportunities with our in-house offers, cutting-edge technologies, and never-ending benefits!

Guide Simple Script to Dynamically Insert Your Tracking Domain into Every Landing Page

Facebook & Google Agency Accounts


Staff Member
Community Leader
Oct 15, 2019
I recently replied to a quick question in another thread about how to dynamically insert a tracking domain name into a landing page.

In that case, the reason for the question was because the tracking domain had been flagged, which meant moving to a new domain... which meant changing the domain name in the code of every landing page!

Which is a painful experience you're gonna wanna avoid, right BOB?!
I had to to this manually the last time my domain got flagged, ugh the pain, never again...


But it doesn't have to be painful - or even something you have to lift a finger to fix - if you follow the simple steps in this guide.

(Note: if your domain get's flagged, then follow this guide to try to get it unflagged first! Otherwise, try this!!)

Of course, the forum's resident bigbrain coding guru @Nick curates a Mega Thread of LP scripts (that you need to bookmark if you haven't already):

He's also shared a few examples of how to dynamically insert URL parameters into your LP for a variety of purposes (here, here,
Last edited:
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!