Best practice for managing multiple tracking codes (tags) on your website


tag, also known as a pixel, is a snippet of code on which a web page is added. Google Analytics (GA), cloud-based CRM, Marketing Automation platforms, social media advertising platforms, and other retargeting platforms like AdRoll are some of the examples of software that use tags for tracking and data gathering.

Typically, these tags are placed in the head, body or footer of each relevant webpage when developing or updating a website design. The tag will track visitor behaviour, capture data filled out in forms, or place a cookie on a visitor's device to advertise to them on some of the third-party websites they go on to view.

Adding one or two tags to a website is relatively easy. Many website platforms offer direct integration with applications like GA where you'll only need to add your customer ID to the website settings which bypasses the need to add the tag directly to a webpage and is something just about anyone can do with some familiarity with their website platform (Wordpress, Webflow, etc.).

While managing one or two tags isn't too challenging, if you have GA, CRM, Marketing Automation, chat, Facebook pixel, AdRoll pixel, LinkedIn pixel, etc. then it becomes too complex to keep track of and to update if they change. They can also affect each other and mess with your website. We've witnessed situations where tracking codes have actually stripped dynamic pages of their URL rendering the page inaccessible to users (if you've had this issue and want to chat more about how to solve it then contact our Australia-based Development Team).

One solution to managing multiple tracking codes is Google Tag Manager (GTM). Using GTM requires just one code on your website and allows you to manage all of your other tags in one place. It also offers integration with some applications such as other Google products, Facebook, and other popular cloud systems.

GTM Configuration


Your GTM account can manage multiple containers. A website or application is typically managed by one container. For example, we use two containers – one for our main website and one for our sub-domain because they reside in different systems and we want to be able to manage them separately. Another scenario where you might use separate containers is where you use marketing automation software (MAS). When you build a landing page in your MAS, which may reside in a different system to your website, you risk double-firing tags. This scenario is where it becomes complicated and hard to explain, but here goes……


Marketing automation systems (MAS) use a tag to track behaviour and data on your website, which resides in one platform – Webflow for example. Most MAS are also a content management system though – that's where your landing pages and blogs might be managed, and which may be different to your main website platform (although where possible we don't recommend this approach). So, if you have a GTM code on your website, it won't track your landing pages because they are in a different place. It will fire the MAS tag for tracking though, so if you add the GTM code to the landing pages – which would seem the most straightforward thing to do – you will effectively be firing the MAS tag on its landing pages, which it tracks anyway. Clear as mud? There are two ways you can get around this:

  • Add your MAS tag directly to your website  – this means you will have to have two tags, one for MAS and one for GTM, or
  • Create a new container for your MAS landing pages and manage the tags separately.

The first solution is the easiest as you can manage all of your tags in one place, but it does mean that every tag – except for MAS – will fire on both CMS's.


Once your container is set up, you can start adding tags. They are the tracking codes for Facebook, LinkedIn, Analytics, CRM, Website chat wigets, etc. etc. - whatever you use.

Within the tag configuration, you can choose to add custom code or connect to an application which already integrates with GTM. If there is an existing integration. choose that as it's faster - you generally just add in your account ID and away you go. For custom code, you'll need to get that from the application you want to add to your website. Log in to the application and it should be somewhere within your account settings. Contact them directly if you have any issues.


The more tags that have to load on your website the slower it will be. So you'll want certain tags to only fire (or load) on specific pages or after a user has taken some action - for example filled out a form.

GTM can get a bit more technical, but in most instances the above information will be enough to get you through. One thing to remember though is to make sure you SUBMIT your changes. Simply saving them won't publish those changes to your website.

If you need any help with your tracking codes or setting up your marketing attribution systems, contact LimeHub!


We never share your info. View our Privacy Policy
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Join Our
THere's More

Post You Might Also Like

All Posts

Using Webflow for Rapid Prototyping and Agile Development

This article explores how Webflow facilitates prototyping and agile development, enhancing the efficiency and effectiveness of web design and development.

Ultimate Guide to Webflow (Website Project Checklist Included)

So, you’re thinking about embarking upon a new or redesigned website and are considering Webflow, but you’re not too sure whether it’s the right platform for you? Then read on because we have developed the ultimate guide to Webflow so that you know exactly whether it’s right for your business or not!

Create Beautiful No-Code Apps with Webflow


Becoming an Adalo Expert in the Rising No-Code Era

Developing web and mobile apps has never been easier and more accessible to traditional businesses. Read about how we developed a web and mobile app in a matter of weeks without writing one line of code.

Comparison of Webflow vs Wix

Both Webflow and Wix are no-code website platforms - but which is best for you? Read on to find out,