Last Updated on May 12, 2022
This page will walk you through the steps needed to setup Google Analytics, Google Tag Manager, and Search Console.
The first order of business is to determine what tracking tools are already setup for the client. Find out if the site has Google Tag Manager or Google Analytics installed. Use the following guides to tell you what to do next:
No Google Analytics & No Google Tag Manager
- Create a GTM account
- Add client as a full admin user (or add sebo.marketing@gmail.com if client created the account)
- Install GTM
- Via WordPress
- Look to see if they have a child theme installed/active
- In appearance -> editor look through files starting with header.php to try and find the file with the
opening <head> and <body> tags. If child theme is active then you may have to look in parent theme
files. If you can’t find this file then you may have to try option c – “via plugin”
- If no child theme exists then create and activate a child theme
- Make sure that the site looks the same after updating the child theme.
- If it looks the same then you are good to move on
- If it doesn’t look the same then try going to the theme settings and pressing the save/update
button.
- If that doesn’t work then reactivate the parent theme and move on to the “Via Plugin” option.
- Copy the file where the <head> and <body> tags are (usually header.php) from the parent theme and
add it to the child theme. Make sure the file name is exactly the same as in the parent theme.
- Grab the GTM code from GTM and paste them below the <head> and <body> tags in the child theme.
- Use Google Tag Assistant extension to make sure that the tag is there or if the computer you are on
doesn’t have this extension then view the source code and search for GTM to make sure the 2 snippets
of code are on the site.
- Via FTP
- Similar to WordPress method but you do this through FTP
- Via Plugin
- Our best practice is to have the GTM code in the child theme and not have it be dependent on a plugin.
If this isn’t possible then use Duracell Tom’s Google Tag Manager plugin
- Add the GTM ID to the plugin and try the experimental option and check to make sure the site
is working properly. If things look wrong then switch to “code in footer” option.
- Create a Google Analytics account
- Add client as a full admin user (or add sebo.marketing@gmail.com if client created the account)
- Copy the analytics ID and return to Google Tag Manager
- Install Google Analytics tag in GTM
- Add a new tag and choose Universal Analytics
- Have it trigger on all pages
- Add the GA ID as the GA settings variable and then publish the container
- Now go to real-time in Google Analytics and browse a few pages on the website and make sure your page visits
are showing up in the real-time view
- Move on to setting up goals and filters in GA
No Google Tag Manager but Google Analytics is Installed
- Is it possible to install GTM on the website?
- Yes, move on to step 2.
- No, skip to Setting up Google Analytics Section
- Create a GTM account
- Create a GTM account with the same email used for the Analytics account
- Install GTM to website
- Follow the Install GTM steps in the “No GA, No GTM” section
- Install Google Analytics tag in GTM
- Add the tag, trigger, variable and then publish the container
- Remove Google Analytics code
- Find where the GA code is on the site and remove it
- Refresh the website and check the tag assistant extension to make sure that GTM and GA are both still firing
- Now go to real-time in Google Analytics and browse a few pages on the website and make sure your page visits
are showing up in the real-time view
- Move on to setting up goals and filters in GA
No Google Analytics but Google Tag Manager is Installed
- Check to see if they have a GA account with the same email as the GTM account
- If they have a GA account then move on to the next step
- If they don’t have a GA account then create one and make sure that both client and Sebo are users
- Install Google Analytics tag in GTM
- Add the tag, trigger, variable and then publish the container
- Refresh the website and check the tag assistant extension to make sure that GTM and GA are both still firing
- Now go to real-time in Google Analytics and browse a few pages on the website and make sure your page visits
are showing up in the real-time view
- Move on to setting up goals and filters in GA
Install Google Analytics to Unbounce Pages
If you are using Unbounce you will want to make sure you install Google Analytics or Google Tag Manager to the landing pages so you can track the data. This step is often forgotten so please make an effort to not forget to do it.