The Benefits of Workspaces in Google Tag Manager

Fast Web Media

Google Tag Manager (GTM) helps marketers and non-technical people to easily track results within a website without having to access the site’s code.

Workspaces is a feature within Google Tag Manager that allows you to manage multiple sets of tag changes. By understanding more about workspaces and how they function you will be able to make changes to your website without needing to worry about errors arising from experimentation with the source code.

What Are Workspaces?

Workspaces are distinct areas in GTM used for development, such as creating tags and triggers. Workspaces should be used to help separate different projects or configurations as this ensures that development can continue without interferences from other teams. Some developers also like to use workspaces as a “sandbox” to isolate and test code while protecting the live servers.

Fast Web Media

What Are the Benefits of Using Workspaces?

Using workspaces gives you greater control of your versioning system and allows you to inspect changes on a more granular level. A byproduct of this is that you can also compare the live container version and developed workspaces, allowing you to make decisions on what works best for your site.

Different users can also work on different workspaces, allowing each user to develop and publish multiple tag variations. The workspaces themselves also make it less likely that unfinished changes will be inadvertently published to the live container.

How Do I Update Workspaces and Resolve Conflicts?

When changes are made to another workspace, the version you are working on may become out of date. If yours is out of date, you should get a notification when publishing.

To fix this issue, you should update the workspace by clicking “Update Workspace”, and you’ll be presented with a list of unmerged versions. You then have the option to look at the changes in more detail by clicking on individual entries, or you can click “Update” to merge the changes.

If one of your workspaces has a conflict, the Workspace Overview page displays a notification stating “Conflict Found”. GTM has a conflict resolution tool that should help guide you through this process. Conflicts are resolved one entity at a time, meaning that if you have multiple conflicts, you will be able to address each one individually. GTM helps to show where the conflict lies by colour coding the different types of conflict:

Fast Web Media

With each conflict, you get the option to ignore or resolve the changes to either the latest synced version or the workspace.

Conclusion

Workspaces allow you to experiment with your site and have multiple teams work on different features without worrying about publishing unfinished versions, and this feature is invaluable to any avid GTM user looking to improve their website.

splitter

We hope you enjoyed that

Related Articles