Koozai > Blog > An SEO’s Guide to Planning Google Tag Manager Migration

An SEO’s Guide to Planning Google Tag Manager Migration

| 5 minutes to read

Google Tag Manager (GTM) is a powerful tool and when properly understood and implemented, can be an SEO’s best friend.

However, before you can actually begin a migration to GTM, you need to take some key steps to ensure everything goes to plan.

Getting the team on board

One of the biggest challenges when looking to migrate over to a tag management system such as GTM is getting buy-in from all parties involved. This includes the client or internal parties, web developers and marketers.

Different parties have different reasons to oppose the implementation of GTM, and fully understanding all of the risks and concerns is key to getting the whole team on board.

For example, the idea of using a tag management system can make developers uneasy because it takes away some of their control over the site and puts it in the hands of other parties, such as agencies and marketing departments. This can make them fearful that if something goes wrong, they’re going to have work to do to clean things up. This is why the next step, and properly communicating it to all parties, is so important.

Putting together a plan for migration

Before you get started, it’s important that you have a clear plan for migrating and launching GTM, which includes considering at least two key elements; users and tags.

Users, permissions and responsibilities

Coming back to the issues and concerns you may face from different parties when looking to introduce a tag management system, it’s essential that you have a full picture of who will be using the system and what for. You need to be able to answer the following sorts of questions:

  • Who needs access to view tags, triggers and rules, to understand how the system is set up and what tags are firing?
  • Who needs full access to GTM, to be able to make changes to tags and create new ones?
  • More importantly, who shouldn’t have this access? (More on this shortly…)
  • Who should be responsible for creating tags, approving the set-up and publishing changes? – Remember, these roles may sit with three different people.

It is vital that you understand the power and essential risk of using GTM wrong, as it has the potential to fire tags that could change or even break the site. Making sure that you have a clear allocation of responsibilities and only grant full publish rights to a small, capable number of people, is essential.

This post from Luna Metrics goes into more detail on how to address Google Tag Manager security risks.

Know Your Tags

Next you should review your site and make a list of the tags you know you’re going to need from the off. In some cases, this might just be standard Google Analytics pageview tracking, but some other tags to consider if you’re using them would include:

  • Ecommerce Tracking
  • AdWords Conversion Tracking
  • Remarketing Code
  • Facebook and Twitter Pixels
  • Hotjar Tags
  • Infinity Call Tracking Tags
  • And many, many more…

Make a list of all the tags you’re going to need and start thinking about what pages you’ll need to fire them on. For example, the Google Analytics code should go on all pages, whereas the AdWords Conversion code needs to go on your checkout confirmation page. Make sure you can start to visualise the tags you’ll need and the way they’ll need to be handled before you even start your set-up. This will help to ensure that everything goes as smoothly as possible later on.

Set up your Google Tag Manager container(s)

When you have a solid plan in place and everyone on board, it’s time to set up GTM. However, this doesn’t mean that you need to go live or start removing code from your site. One of the many beauties of the system is that you can get everything in place and test in Preview mode. This means that you can see exactly how everything is going to behave before it goes live. That way you know that when you hit Publish, everything is going to work as expected.

You need at least one container in GTM, where all your tags, triggers and variables sit. However, you may need more than one, as you should have a separate container for each of the following:

In some cases, you might also want separate containers for different subdomains if the tags you need for each behave very differently.

Within your container(s) you need to create your tags, triggers and variables using the now-more-intuitive interface. For more information on the structure of GTM and how to structure your GTM containers, my Complete Guide to Google Tag Manager might come in handy.

Guide to GTM

Setting up Tag Manager may not take very long if you only have a few tags to create, but could be a much bigger job if you’re running complex scripts and tracking.

Test, test and test again with Preview mode

When in Preview mode, you can even see Real Time Analytics data based on your visits, and only your browser will be running Tag Manager (until you publish).

Better still, you can run a separate GTM container on your staging site and test in Preview mode and when published, knowing that your published container is only live on your staging site. Once you’re happy with that, it’s a simple case of migrating over to your main container and publishing there.

Go live!

When you’ve tested your setup and are ready to launch, going live with GTM is as easy as hitting publish. The power of GTM is the ability to add and amend tags without changes on-site, so it’s unlikely that once you first hit Publish, you’ll never add or amend things again. GTM gives you the freedom to tweak tags, set up new tracking easily, and much more. Don’t forget, each time you make edits in the GTM environment, continue to test before going live.

The Versions section of GTM is also really useful for keeping track of your changes. Each time you publish, a new version is created which allows you to track changes and rollback if you encounter any snags. Make sure you give your versions useful names and descriptions so you know exactly what changes were made, as this will help when debugging any issues and choosing what version to rollback to.

When you’re ready to get a bit more advanced, LunaMetrics have some great “recipe packs” you can try which allow you to gather more insights. These packs are well worth trialling, such as scroll tracking, YouTube embedded video tracking, file download tracking and more.

There’s so much you can do with Google Tag Manager, so I’m a big advocate of the system. As long as you have a clear plan and carry out thorough testing, GTM is a really powerful tool for marketers.

Happy tagging!


  1. Priyanka Kapoor avatar

    Great guide for GTM explained it in a simple way, thanks Emma!

  2. ms kumar avatar

    good information….

  3. Haasil avatar

    Well said Emma

  4. Vdizpk avatar

    thanks for sharing

  5. S.D Bola avatar

    The amount of education I just got from reading this blog post alone is unreal. Thank you for making me better understand GTM migration

  6. Vinayak avatar

    Well said Emma !!
    Thank You Sharing the great knowledge about Google Tag Manager
    it’s really helpful for me

  7. Emmerey Rose avatar

    Great post Emma! Well written :) This is a very informative post. Helps a lot! Looking forward for more informative pieces :)

  8. w3coding avatar

    Yeah its right time for Digital Marketing agencies to move on Google Tag Manager as its a one stop solution for all the required tags and no further coding needed while adapting new ones.

    Thanks for this nice post :)

  9. ROCKY KUMAR avatar

    really great post.
    thank you so much.

  10. samartha avatar

    What you have written in this post is exactly what I have experience when I first started my blog.I’m happy that I came across with your site this article is on point,thanks again and have a great day.Keep update more information.

    1. Sally Newman avatar

      Hi Samartha,

      Thank you for your comment.

      This is great news. Please let us know if you have any more questions.

      Good luck with your website and using GTM in the future!


Leave a Reply

Your email address will not be published. Required fields are marked *

Sophie Roberts

Managing Director

As MD, Sophie ensures smooth sailing at Koozai HQ and oversees digital strategy across all our clients. A seasoned marketer with over 28 years’ experience, Sophie has delivered hundreds of effective marketing solutions for leading brands including Golden Wonder, Airfix & Humbrol, and Victorinox Swiss Army Knives. A big foodie and a self-confessed geek, Sophie treats every day like a school day. She’s business driven and solution focused, priding herself on being able to make digital simple. Providing digital solutions to your business issues is what motivates her. Sophie has appeared in The Business Magazine, Portsmouth News, The Daily Echo, Yahoo News, The Caterer & HVP Magazine.

Sophie Roberts Read more about Sophie Roberts

Digital Ideas Monthly

Sign up now and get our free monthly email. It’s filled with our favourite pieces of the news from the industry, SEO, PPC, Social Media and more. And, don’t forget – it’s free, so why haven’t you signed up already?