How to create your own Google Tag Manager container to manage third-party scripts

How to create your own Google Tag Manager container to manage third-party scripts 

Shoppers leave slow websites, and Google considers page speed in how your site performs in search. Each Google Tag Manager (GTM) container added to your site requires a script to download and can negatively affect performance. Third-party vendors often add their own containers to load even more scripts, the small pieces of code that run on your website, which can pull down the Core Web Vitals scores in your Website Health Report. Using one container that your dealership owns, and giving your vendors access to it, is a better approach.

In this article, you’ll learn how to create one GTM container that your dealership owns, give vendors access to it, audit it to keep your site fast, and ask Support to add the container to your site and remove old containers and scripts. 

To get started

Go to the Google Tag Manager page.

Sign in with your dealership’s Google account.

How it works

Creating your own container gives you control of every script on your site and can help improve your site speed and Core Web Vitals scores.

  • You create a GTM container under your dealership’s Google account
  • Dealer Inspire adds the new container to your website
  • Your vendors add their tags to your container instead of installing their own
  • You decide who has access and what each vendor can change
  • You remove access and delete or pause tags when a vendor relationship ends
  • You ask Dealer Inspire Support to remove old GTM containers you no longer need

Note: Dealer Inspire never adds or removes a script on your site without your approval. Removing a vendor’s access does not remove the tags they already added.

How to create your container 

1Set up a container

  • Click Create Account
GTM Account
  • Enter an Account Name, such as your dealership name, and select your country
  • Enter a Container Name, such as your website address (for example, yourdealership.com)
  • Select Web as the target platform
  • Click Create
    • Check the box and click Yes to accept the terms of service on the next screen
GTM account setup

Note: GTM prompts you to follow installation instructions. Skip these steps. Dealer Inspire Support handles the installation for you. 

  • Click the X to close the window and open your workspace
Installation instructions

2Copy your Container ID

  • Locate the Container ID at the top of your workspace
    • It looks like GTM-XXXXXX
  • Right click on the Container ID and select Copy
Copy tag manager

3Add the container to your site 

Now that you’ve set up your GTM container, our Support team can add it to your site. 

  • Email support@dealerinspire.com
  • Include your website address and paste your Container ID
  • Ask Support to add your container to your site
  • List any vendors you no longer work with
  • Ask Support to remove the scripts and containers those vendors added

Note: Support removes only what you approve, so name each vendor or script you want removed. Send both your container request and removal request in one email. 

4Give your vendors access 

  • Click the Admin tab from your workspace
  • Click User Management from the Container column
Give vendor access
  • Click the + button, then select Add users
Add users
  • Enter the vendor’s email address (you can add more than one at a time)
  • Select the Container permissions for the third-party vendor:
    • Publish: makes changes go live on your site
    • Approve: edits and approves changes but can’t publish them
    • Edit: creates and changes tags but can’t publish them
    • Read: views but can’t change anything

Note: Permission levels stack. If you select Edit, the vendor can also read. If you select Publish, the vendor can also approve, edit, and read.

Send invitations and set access

Best practice: Grant the lowest level a vendor needs. Many dealers give vendors Edit or Approve, then review and publish changes themselves.

  • Click Invite 
Click invite

5Ask vendors to use your container 

  • Tell each vendor to add their tags to your container
  • Ask vendors not to install their own GTM container or request new scripts on your site
  • Ask vendors not to add a tag that loads another GTM container
  • Ask vendors to name tags clearly and consistently, such as “VendorName: Purpose”

Manage and audit your container

One container only stays fast if you keep it clean. Build these habits.

Audit your container every few months

  • Review who has access and remove anyone you no longer work with
  • Check each tag: Which vendor added it? Do you still work with them? Does it still help you?
  • Keep a short list of which vendors manage which tags

Offboard vendors in two steps

Remove access first:

  • Click Admin, then User Management
  • Click into the user and select remove in the top right corner
  • Confirm your action by clicking remove again  

Then clean up their tags:

  • Click the Tags tab on the left side of your workspace
  • Find the tags that vendor added
  • Delete tags you no longer need, or pause tags you want to keep for later
  • Click Submit to publish your changes

Tip: Ask the vendor for a list of every tag they added before their access ends.

Find out who made a change

  • Click the Versions tab at the top of your workspace
  • Review the publisher and date listed for each version
  • Open that version to see exactly what changed
  • Pause the affected tags or roll back to a previous version if a change causes a problem
  • Contact the vendor who made the change and ask them to fix it

Contact Dealer Inspire Support

Email support@dealerinspire.com when you need to:

  • Add your container to your site
  • Remove scripts from vendors you no longer work with
  • Investigate a site issue you think a script causes

Include these details in your email to Support:

  • Your website address
  • Your Container ID
  • The vendor names and scripts you want removed
  • Whether you want each script removed or only paused