Google Analytics & Tag Manager Website Redesign Best Practices

T he best way to ensure a seamless transition is to fully develop your new Google Tag Manager account on a staging server.

  • Use the new website you are developing, and create a new Google Analytics (GA) account and a new Google Tag Manager (GTM) account for it.
  • Tag each page of the new site with the code from the new GTM/GA account (use a new account so you won’t get confused by this property later – you’ll just trash the account when you’re done).
  • Make sure all filters are turned off – you want to track internal traffic, as that will be your test traffic.
  • Ensure that you create a Universal Analytics tag with the new GA code that is used in all of your events/triggers (this is important so you can just switch it out later)
  • Develop all of your events with the new URLs from the staging server, but make sure to use URL “contains” and no full path URLs that contain the staging server domain or subdomain.
  • Test, test, test. Get it perfect.
  • When you’re ready to launch the new site, you should be able to just go into the Tag Manager account (the new one), open that UA tag, and change the UA code back to your main account. This will change the tag on all of the new events you’ve created.
  • Upload the new tag manager code to all pages prior to launch.
  • Test it and make sure it’s working perfectly (it should be).
  • Delete or archive the old Tag Manager account and the test Google Analytics account you created.
2018-08-17T16:23:19+00:00