Ready Analytics for a website (Universal Analytics)

This article is for anyone who wants to set up Analytics (using a Universal Analytics property) on a new website.  Universal Analytics is the earlier version of Analytics and only supports web measurement. If you need a "UA- " Tracking ID, follow the instructions in this article.

Follow the instructions beneath carefully. Be sure to click Show advanced options, then turn on the switch for Create a Universal Analytics property, equally shown below. If you don't do this, you will create a Google Analytics iv property instead.

Create an Analytics account

Your first footstep is to ready up an Analytics business relationship, unless you lot already take one. Skip to creating a property unless you want to create a split business relationship for this website. For example, you might want to create another account if this website belongs to a separate business concern.

  1. In Admin, in the Business relationship column, click Create Account.
  2. Provide an account name. Configure the information-sharing settings to control which data you share with Google.
  3. Click Side by side to add the first belongings to the account.

 Create a property

  1. Are you standing from "Create an Analytics business relationship", above? If then, skip to pace 2.  Otherwise,
    • In Admin, expect at the Account cavalcade to make certain that you've selected the right account. And so, in the Holding cavalcade, click Create Belongings.
  2. Enter a proper noun for the belongings (due east.g. "My Business, Inc website") and select the reporting time zone and currency. If a visitor comes to your website on a Tuesday in their time zone, but it'south Monday in your time zone, the visit is recorded as having occurred on Monday.
    • If you choose a time zone that honors Daylight Savings Time, Analytics automatically adjusts for time changes. Apply Greenwich Mean Fourth dimension if you don't want to accommodate for Daylight Savings Fourth dimension.
    • Changing the time zone only affects information going forward. If yous change the time zone for an existing property, you may see a apartment spot or a spike in your data, caused by the time shift forwards or backwards, respectively. Report data may refer to the old time zone for a short period subsequently yous update your settings, until Analytics servers have candy the change.
  3. Click Show advanced options (below the holding-setup fields).
  4. Plough on the switch for Create a Universal Analytics holding.
  5. Enter the website URL. Select the protocol (http or https).
    Most domain hosts back up only UTF-viii characters in URLs. Apply either UTF-8 characters or punycode for symbols and whatsoever non-UTF-8 characters (including Cyrillic characters) in your domain name. Try a punycode converter for assist with this.
  6. At this point, choose to create
    • Both a Google Analytics iv holding and a Universal Analytics property. This choice
      • Sets up a parallel Google Analytics four property that collects data alongside your Universal Analytics property. Once you add the tag for the Google Analytics 4 holding to your site, data will exist sent to both properties.  You can switch back and forth between properties using the property selector or Admin screen.
      • Establishes a connexion betwixt the two properties that allows you to drift configuration settings from your Universal Analytics property to your Google Analytics 4 property later on.

        How to place each property: If you named your property "Instance" in stride 2, your Universal Analytics property volition exist named "Example (UA-1234567)" and your Google Analytics 4 property will be named "Instance - GA4 (98765432)".

    • Merely a Universal Analytics belongings.Cull this selection if y'all just want a Universal Analytics property.

      If you need a "UA-" tracking ID, choose this option.

  7. Click Next and provide data nigh your business concern.
  8. Click Create.

Accept the Analytics Terms of Service and the Data Processing Amendment if prompted, and click Finish.

Set upwardly data collection (i.eastward. add the global site tag to your site)

Add the global site tag to a website architect or CMS-hosted website (for example, WordPress, Shopify, etc.)

If you elected to prepare upwards only a Universal Analytics property (i.e. yous did not elect to ready up both a GA4 and Universal Analytics property), simply paste your "UA-" tracking ID into the Google Analytics tracking ID field that your website builder provides.

OR

If you elected to set up both a GA4 holding and a Universal Analytics property, you lot should follow the instructions beneath and paste your entire global site tag into the custom HTML field that your website builder provides. By doing this, yous'll be able to see data in both your GA4 and Universal Analytics backdrop. In contrast, if you simply provide your "UA-" ID to your website builder, y'all'll merely see information in your Universal Analytics property.

  1. Look for "Global site tag (gtag.js)". Your Analytics folio tag is the unabridged section of code that appears, kickoff with:
    <!-- Global Site Tag (gtag.js) - Google Analytics -->
    and ending with
    </script>

Re-create and paste your entire Google Analytics page tag to your website using your CMS'due south custom HTML feature.

Use the Realtime study to verify that you're receiving data.

Website builder / CMS Options to add custom HTML
Blogger Instructions
Cart.com Contact Cart.com back up for instructions
Hubspot Instructions
Magento Instructions
One.com Contact Ane.com support for instructions
Salesforce (Demandware) Contact Salesforce support for instructions
VTEX Contact VTEX back up for instructions
Weebly Instructions

Information technology may take up to xxx minutes for information collection to start. You tin can then use the Realtime written report to verify that y'all're receiving data.

Add the global site tag straight to your web pages

You lot'll need access to your web pages HTML. Ask your web developer to perform these steps if you're unable to practice this yourself.

  1. Expect for "Global Site Tag (gtag.js)". Your Analytics folio tag is the unabridged section of code that appears, outset with:
    <!-- Global Site Tag (gtag.js) - Google Analytics -->
    and ending with
    </script>
  2. Copy and paste your unabridged Analytics page tag immediately after the <head> on each page of your website.

It may take up to xxx minutes for data collection to commencement. You can then use the Realtime report to verify that you're receiving data.

Was this helpful?

How tin nosotros ameliorate it?