Rather than pasting a whole bunch of pixels in the client's website and in Unbounce, we use Google Tag Manager to get everything nice and clean.
If the client has their own GTM, you must request access to it: https://support.google.com/tagmanager/answer/6107011
If not, ask Erik to create the master client account and assign you access to it.
If you are unsure if they have GTM, then load the client's main website. Press "CTRL-U" to view the page source, and "CTRL-F" for find. Search for tagmanager or googletagmanager. If it's present, then they have GTM installed.
The remainder of these instructions will assume that we're installing GTM for the first time.
Once you're inside of GTM, you'll need to copy and paste the GTM code into the client's website.
- Login to https://tagmanager.google.com
- Click the client's container name
- Click "Admin" at the top to access the administration menu
- Click "Install Google Tag Manager" in the "Container" menu.
NOTE: MAKE SURE YOU ARE IN THE CORRECT CONTAINER IF THERE IS MORE THAN ONE!
The code you copied will be used in at least two places. The first place is the client's website, somewhere inside of the HTML <head> and </head> tags. A good practice is to place it right above the closing </head> tag.
You'll either delegate this to the client's technical contact, or you'll do it yourself. Either way, you'll need to figure this out. Ask Erik if you can't.
The second place you'll likely use this is in the Unbounce script manager. This is done on the "DOMAIN" level.
NOTE: you can only do this AFTER you have set the client's domain up in Unbounce. However, the steps are below.
- Login to Unbounce and click "Domains" on the left side
- To the right of the client's domain, you'll click the gear icon.
- Click "Add script to domain" and "+ Add a Script" at the bottom of the window.
- Select "Custom Script" from the dropdown box - NOT GOOGLE TAG MANAGER! Name the script "Google Tag Manager", "GTM" or something similar.
- On the next page, select "Head" from the Placement dropdown.
- Select "Main Landing Page + Form Confirmation Dialog" from the Included On dropdown.
- Paste the Google Tag Manager code into the box.
- Ensure the client's domain is selected. Click "Save and Publish Script"
In step 8 you MUST ensure you have the correct domain checked off. Don't be the person who installs GTM across clients. It will mess up Analytics, conversion tracking and pixels for both!
You should be done! Now you can move on to setting up GTM and testing to ensure it's working properly.