Skip to content

Job template · Tracking and analytics

Job template: install Google Tag Manager on a Shopify or WordPress site

By The Microployed teamUpdated 2 min read

The short answer

Use this scope when you want Google Tag Manager added to your site so future tracking can be managed in one place. On WordPress the pro adds the container through Google's Site Kit plugin or the theme header, and on Shopify through a custom pixel in Customer events, then confirms the container loads and publishes a first version.

Ready-to-post scope

Install Google Tag Manager on our Shopify or WordPress site and confirm it loads

Typical time for a pro: 30 to 75 minutes

Install a Google Tag Manager web container on our site using the method our platform supports: Site Kit or the theme header on WordPress, or a custom pixel in Customer events on Shopify. Remove any old or duplicate Tag Manager snippets, publish a first container version with a clear name, and show us how you confirmed it works.

Check first

  • Whether you already have a Tag Manager account or container, and which Google account owns it
  • Any tracking already added by apps, plugins or theme code, such as GA4 or the Meta Pixel
  • Whether you need a cookie banner or consent settings for your visitors

Access to give

  • An invite to your Tag Manager account with Publish or Approve permission on the container, sent from Admin > User Management
  • On WordPress, a separate user account for this job with permission to install plugins and edit the theme
  • On Shopify, a staff account with access to Settings and Customer events

Done when

  • The container ID appears once, and only once, in the site's code or pixel settings
  • Tag Manager Preview, or the Shopify Pixel Helper on Shopify, shows the container loading on the homepage and a product page
  • A first container version is published with a descriptive name
  • Any old Tag Manager snippets have been removed from the theme

When you need this job

You need this job when you want to add or change tracking tags without editing your site's code every time. Google Tag Manager keeps your tags in one container, and once it's installed, a pro can add GA4, Meta or Google Ads tags later without touching your theme again. It's also the usual first step before a job like setting up GA4 purchase tracking in Tag Manager.

What the pro will do

The pro will create or open your Tag Manager container and install it using the method your platform supports. Google's install instructions place the container snippet as high in the page's <head> as possible, and the install dialog in Tag Manager has a Select your platform option for builders such as WordPress and Shopify.

  • WordPress: the simplest route is Google's Site Kit plugin, where the pro goes to Site Kit > Settings > Connect More Services > Set up Tag Manager, picks your container and lets Site Kit place the code. If you can't install plugins, the pro adds the snippet to the theme header instead, ideally in a child theme so a theme update doesn't wipe it out.
  • Shopify: Shopify's help center adds Tag Manager as a custom pixel in the Customer events section of your settings. Pixels run in Shopify's sandbox, so the pro also subscribes to the store events you care about, such as page views and purchases, and pushes them into the data layer.

At the end, the pro publishes a first container version with a descriptive name so you can see what was installed and when. If you haven't added a staff account for a freelancer before, our guide on giving a freelancer access to Shopify without your password covers it.

How to review the work

Ask the pro to show you the container loading on a live page, not only inside the Tag Manager workspace. On WordPress, Tag Manager's Preview mode should connect to your site and list the container on the homepage and a product or service page. On Shopify the check is different, because Shopify notes that Tag Assistant's troubleshooting doesn't detect tags inside custom pixels, so the pro should use the Shopify Pixel Helper to show the pixel receiving events without errors.

Common gotchas

  • Duplicate containers: if a theme, an app and Site Kit each add Tag Manager, tags can fire twice. Site Kit shows a notice when it finds a container already on the site, so read it rather than dismissing it.
  • Old theme.liquid installs on Shopify: older tutorials paste the snippet into theme.liquid, but Shopify's current instructions use a custom pixel, and pixels load on checkout, the thank you page and the order status page as well as the storefront. Ask the pro to remove any old copy from the theme.
  • Tags that already exist elsewhere: if GA4 already comes from Site Kit or a Shopify app, adding a GA4 tag in Tag Manager as well will double your data, so decide which one owns each tag.
  • Consent: Shopify says consent settings in a custom pixel are your responsibility, so tell the pro whether you need a cookie banner or Consent Mode before they start.

The next level up

Once Tag Manager is in place, you can track purchases properly

With the container installed, a pro can add GA4 purchase tracking that sends order value, currency and items through Tag Manager. That gives you revenue reports you can trust and a clean base for ad conversion tracking later.

Post this job

Questions people ask

Can I install Google Tag Manager on Shopify without editing theme code?

Yes. Shopify's instructions add Tag Manager as a custom pixel in the Customer events settings, which loads on the storefront, checkout and thank you page without changes to your theme.

Do I need a plugin to add Google Tag Manager to WordPress?

No, but Google's Site Kit plugin is the easiest way because it places the container code for you. Without a plugin, the snippet goes as high in the theme's head section as possible.

What permission does a freelancer need in Google Tag Manager?

Publish permission on the container lets them create versions and publish them. If you'd rather review changes yourself, give them Approve permission and publish the version after you've checked it.

Will installing Tag Manager start tracking anything by itself?

No. An empty container loads on your pages but sends nothing until tags and triggers are added, which is why this job is usually followed by GA4 or ad conversion setup.

Sources

Checked against these pages on .