How to setup Google Tag Manager and add Analytics

Google Tag Manager is a free tool that makes it easy to add/update website tracking snippets such as conversion tracking, site analytics, remarketing, etc. without the need to edit the website source code. This is perfect for when you have advanced tracking needs or are working with a third party specialist that will need to add/edit tracking snippets on your site. 

As RealtyNinja already supports standard Google Analytics to track events on your website, there is no need to use Google Tag Manager unless you have a specific need to do so. What you will find below is a generic guide on how to setup and implement Google Tag Manager on your RealtyNinja website.

Our team can help setup Google Tag Manager (GTM) for you and all we need to do this is the e-mail/password for a Google account that you own. This could be a gmail account or a Google Workspace (Formerly G Suite) e-mail account, but we need it to be able to properly setup Google Tag Manager for you. All you need to do is e-mail support@realtyninja.com with the account details (confirm they work by logging into gmail before sending) and a quick note saying that you would like us to set GTM up for you.

Step 1: Go to Google Tag Manager website and click Sign in at the top right

Step 2: Enter your Google account details and login

Step 3: Enter your new account name and click continue

Step 4: Enter your Container Information, select "Web" from the three options and click "Create"

Step 5: Read the "Terms of Service Agreement" that pops up, and then click "Yes" at the bottom left.

Step 6: In the next pop-up box, highlight all of the code and click CTRL + C to copy everything you've selected, then click the blue "OK" button

Step 6A: Now that you have copied the code, in a new browser tab, go to your RealtyNinja website dashboard (www.mysite.com/login), click Settings from the top right, then click "Custom Code" from the right hand side. Find the empty text box with the heading "Custom Body Code", and paste (CTRL + V) the Tag Manager code into this box on your RealtyNinja dashboard. Scroll to the bottom and click "Apply Changes" (important!)

Step 7: Return to your browser tab with the Google Tag Manager page open. Click "Add a new tag"

Step 8: Rename your Tag and select the Google Analytics button from the menu, then click Continue

Step 9: Select Universal Analytics or Classic Analytics, then enter your Google Analytics Tracking ID, and follow the other instructions in the screenshot below. Click Continue at the bottom of the page once all this is complete.

(NOTE: If you do not have a Google Analytics account, follow this help document: http://support.realtyninja.com/article/28-setting-up-google-analytics)

Step 10: Select "All Pages" and click "Create Tag"

At this point, you have completed the creation of your Google Analytics Tag. Your Analytics is now a part of your new GTM "Container".

Still need help? Contact Us Contact Us