Return to site

Google Analytics

broken image


Google Marketing Platform brings together DoubleClick Digital Marketing and the Google Analytics 360 Suite to help you plan, buy, measure and optimize digital media and customer experiences in one place. The Google Analytics team has developed a step-by-step playbook to help you get the most out of linking your Google Analytics and Google Ads accounts. Learn how to unlock deeper insights and create smarter Google Ads campaigns. Take a look at this page on the Google Marketing Platform site, and download the PDF of the playbook.

There are a few ways to add Google Analytics tracking code to your website. Adding Google Analytics to your website enables you to track the number of visitors to your site, the search keywords they use to find your site, the time spent on your site, goal conversion and much more.

  1. Google Analytics is a powerful tool, yet most people don't use it to its full potential. With it, you can track the ROI for your online marketing, set up custom segments, goal tracking, filter your site data to find underperforming pages, and lots more.
  2. Google Analytics is a free tracking and statistics software that gives you vital insights on how visitors find your site, what they do when they get there, and other important information on the health of your business: such as eCommerce and lead conversions.

A few housekeeping items before we move forward, this tutorial assumes that you already have a Standard Google Analytics account and not a Google Analytics 360 account. Second, that you have already set up a property in Google Analytics, which allows you to generate a tracking ID (more on this later).

With that settled, we'll explore two ways to add Google Analytics code to your website.

Google Analytics Tracking Code

The first step you'll need to do is find your tracking ID, which is a unique ID created for your Google Analytics account.

To get your tracking ID, follow these steps:

  1. Log in to your Google Analytics account
  2. On the bottom left-hand side of the page, click Admin
  3. From the left column titled Account, select an account from the dropdown menu
  4. From the middle column titled Property, select a property from the dropdown menu
  5. Under the Property column, click Tracking Info > Tracking Code
  6. Your website's unique tracking ID is shown at the top of the page under Tracking ID and starts with UA

Once you've identified your tracking ID, you'll need to get your tracking code snippet, which can be found on this page as the Global Site Tag (gtag.js). The gtag.js is the tracking code for this specific property and you'll need to copy and paste this code to every webpage you want to track on your website.

The Roman numeral D represents the number 500. D is the grade below C but above E in the school grading system. D is the International vehicle registration code for Germany (see also.de). In Cantonese: Because the lack of Unicode CJK support in the early computer system, many Hong Kongers used the capitalized D to represent 啲 (lit. Dominion Energy (D) further expands clean energy generation in the United States with the acquisition of a 150-MW solar project from Invenergy in Ohio. Dominion (D) Buys Assets From Invenergy, Boosts Clean Generation Jan 20 / Zacks.com - Paid Partner Content Can Dominion Energy (D) Keep the Earnings Surprise Streak Alive? D&d 5e disease dmg treatment.

To copy and paste your gtag.js, follow these steps:

  1. Copy the gtag.js shown on the page (example shown below)
  1. Replace the GA_TRACKING_ID with your unique tracking ID provided by Google Analytics
  2. Paste the code snippet right after the tag on each page of your site that you'd like to track in Google Analytics

Keep in mind that gtag.js (launched in 2017) is a newer, more expanded version of analytics.js.

Google Tag Manager

You can also use Google Tag Manager to add the Google Analytics code to your website. Google Tag Manager is a free tool and is useful for websites that use multiple analytics or advertising performance tools from multiple campaigns.

Google Analytics Academy

To install Google Analytics code via Google Tag Manager (GTM), follow these steps:

(Source: Google Analytics Documentation)

  1. In GTM, select Create Tag and choose Google Analytics
  2. Then select Universal Analytics
  3. Name your tag, preferably something related to Google Analytics (like GA). Add your Google Analytics property ID or gaProperty variable.
  4. Choose the Track Type (i.e. Page View)
  5. Choose your firing triggers such as All Pages, which the tag will fire the tracker on every page of your website

Gtag.js or Google Tag Manager?

If your website is already using Google Tag Manager, then gtag.js is not necessary and continue to use GTM. Since GTM inherently combines event data from Google Analytics and Google Adwords, it's best to keep it running if it's already in place.

Google Analytics

However, if you haven't installed GTM and are not planning on investing in Google Adwords, using the gtag.js may be beneficial to your website. The gtag.js tag makes the tracking process easier by:

  • Streamlining the installation process to get Google Analytics code on your site faster
  • Allowing you to send event data to multiple tools as once
  • Keeping all tracking tags in once place in your website code

Google Analytics Academy

Either way, we recommend that you add Google Analytics to your website, so you can keep track of all your event data.





broken image