Apps: Google Analytics (Universal)

Set account ID

  1. Each Google Universal tag (building block) has an option to set the account ID. This option has to be correctly filled with the GA-account ID in order to send data to the right GA-account.
    Most often the same ID is used across all building blocks and event definitions. However, it is possible to send data to different GA-accounts. One ID per building block, but it is possible to add several building blocks in the same event definition with different ID's.

  2. Parameters

            Account ID

            Sign in with your Google Analytics account.

            Click on Home tab from the menu bar at the top of the page.


            This value has format UA-xxxxx-x

Event tag testing

 

  1. This tag allows you to measure how users interact with the content of your website. For example, you might want to measure how many times a button was pressed, or how many times a particular item was used in a web game.
  2. Parameters
    • UA account ID: UA-xxxxx-x
    • Event category: Typically the object that was interacted with (e.g. Button)
    • Action: The type of interaction (e.g. click)
    • Label: This is a non-requirement parameter. Useful for categorizing events (e.g. “nav buttons”)
    • Value: This is a non-requirement parameter. Values must be non-negative. Useful to pass counts (e.g. 4 times)



  3. Results

Exception

 

  1. This tag allows you to measure the number and type of crashes and exceptions that occur on your property.
  2. Parameters
    • UA account ID: UA-xxxxx-x
    • Exception description: A description of the exception.
    • Fatal: Indicates whether the exception was fatal. These can be “true” or “false”. ”true” indicates fatal.

 

Custom request

 

  1. This tag used for creating custom requests to Google Analytics
  2. Parameters

    • UA Account ID: UA-xxxxx-x
    • Custom request code: This field is used to determine the custom request to Google Analytics. For example, to send a page view hit, you use: GA ('send', 'page view')

  3. Results

Page view

  1. Allows you to measure the number of views you had on a particular page on your website.
  2. Parameters
    • UA account ID: UA-xxxxx-x


  3. Results

Social

 

  1. This tag allows you to measure the number of times users click on social buttons embedded in web pages. For example, you might measure a Facebook "Like" or a Twitter "Tweet."
  2. Parameters

    • UA account ID: UA-xxxxx-x
    • Social action: The type of action that happens (e.g. Like, Send, Tweet).
    • Social network: The network on which the action occurs (e.g. Facebook, Twitter)
    • Social target: Specifies the target of social interaction. This value is typically a URL but can be any text. (e.g. http://mycoolpage.com)

  3. Results


Time tracking

  1. This tag allows generating reports that automatically measure and report on page load times.
  2. Parameters
    • UA account ID: UA-xxxxx-x
    • Timing category: A string for categorizing is all user timing variables into logical groups (e.g. jQuery).
    • Timing variable: A string to identify the variable is being recorded. (e.g. JavaScript Load)
    • Time: The number of milliseconds in elapsed time is to report to Google Analytics. (e.g. 20)
    • Timing label: A string that can be used to add flexibility in visualizing user timings is in the reports. (e.g. Google CDN)


  3. Results 

 


Track transaction

 

  1. This tag allows you to measure the number of transactions and revenue that your website generates.
  2. Parameters
    • Account ID: UA-xxxxx-x
    • Transaction ID: The transaction ID. (e.g. 1234)
    • Affiliate: The store or affiliation from which this transaction has occurred (e.g. Acme Clothing).
    • Revenue: Specifies the total revenue / grand total are associated with the transaction. This value should include any shipping or tax costs (e.g. 11.99)
    • Shipping: Specifies the total shipping cost of the transaction. (e.g. 5)
    • Tax: Specifies the total tax of the transaction. (e.g. 1.29)
    • Products names: The array of products names
    • Products SKUs: Specifies the array of SKU's or products codes
    • Products categories: The array of products categories
    • Products quantities: The array of numbers of purchased products in the transaction. If a non-integer value is passed into this field (e.g. 1.5), it will be rounded to the closest integer value.
    • Products prices: The array of product prices.

      E-commerce tracking is available for both web and app properties but must be enabled at the view level.
      No E-commerce data appears in your reports until you set up E-commerce tracking.

  3. Enable Ecommerce tracking
    • Click Admin from the menu bar at the top of any screen in Analytics.
    • Use the drop-down menus to select the Account, Property, and View.
    • Click View Settings.
    • In the Ecommerce Settings section, click the toggle so it says ON
    • Click Save at the bottom of the page.

  4. Results

Below are the steps for Custom Request.

  1. This tag used for creating custom requests to Google Analytics
    Read more about Custom Requests here.
  2. Parameters

    • UA Account ID: UA-xxxxx-x
    • Custom request code: This field is used to determine the custom request to Google Analytics. For example, to send a page view hit, you use: GA ('send', 'page view')


  3. Results 

Below are the steps for Event Tracking.

  1. This tag allows you to measure how users interact with the content of your website. For example, you might want to measure how many times a button was pressed, or how many times a particular item was used in a web game.
    Read more about Event Tracking here
  2. Parameters

    • UA account ID: UA-xxxxx-x
    • Event category: Typically the object that was interacted with (e.g. Button)
    • Action: The type of interaction (e.g. click)
    • Label: This is non-requirement parameter. Useful for categorizing events (e.g. “nav buttons”)
    • Value: This is non-requirement parameter. Values must be non-negative. Useful to pass counts (e.g. 4 times)


  3. Results

Below are the steps for Exception.

 

  1. This tag allows you to measure the number and type of crashes and exceptions that occur on your property.
    Read more about Exception tracking here.
  2. Parameters

    • UA account ID: UA-xxxxx-x
    • Exception description: A description of the exception.
    • Fatal: Indicates whether the exception was fatal. These can be “true” or “false”. ”true” indicates fatal.


Below are the steps for Page View.

  1. Allows you to measure the number of views you had on a particular page on your web site.
    Read more about Page Views here.
  2. Parameters
    • UA account ID: UA-xxxxx-x


  3. Results


Below are the steps for Set Account ID

  1. Each Google Universal tag (building block) has an option to set the account ID. This option has to be correctly filled with the GA-account ID in order to send data to the right GA-account.
    Most often the same ID is used across all building blocks and event definitions. However, it is possible to send data to different GA-accounts. One ID per building block, but it is possible to add several building blocks in the same event definition with different ID´s.
  2. Parameters
  • Account ID
  • Sign in with your Google Analytics account.
  • Click on Home tab from the menu bar at the top of the page.


  • This value has format UA-xxxxx-x


Below are the steps for Social tracking.

  1. This tag allows you to measure the number of times users click on social buttons embedded in webpages. For example, you might measure a Facebook "Like" or a Twitter "Tweet."
    Read more about Social tracking here.
  2. Parameters
    • UA account ID: UA-xxxxx-x
    • Social action: The type of action that happens (e.g. Like, Send, Tweet).
    • Social network: The network on which the action occurs (e.g. Facebook, Twitter)
    • Social target: Specifies the target of social interaction. This value is typically a URL but can be any text. (e.g. http://mycoolpage.com)


  3. Results

Below are the steps for Time Tracking.

  1. This tag allows generating reports that automatically measure and report on page load times.
    Read more about Time Tracking here.
  2. Parameters

    • UA account ID: UA-xxxxx-x
    • Timing category: A string for categorizing is all user timing variables into logical groups (e.g. jQuery).
    • Timing variable: A string to identify the variable is being recorded. (e.g. JavaScript Load)
    • Time: The number of milliseconds in elapsed time is to report to Google Analytics. (e.g. 20)
    • Timing label: A string that can be used to add flexibility in visualizing user timings is in the reports. (e.g. Google CDN)

  3. Results


Below are the steps for Track transaction.

  1. This tag allows you to measure the number of transactions and revenue that your website generates.
    Read more about Track transaction here.
  2. Parameters
    • Account ID: UA-xxxxx-x
    • Transaction ID: The transaction ID. (e.g. 1234)
    • Affiliate: The store or affiliation from which this transaction has occurred (e.g. Acme Clothing).
    • Revenue: Specifies the total revenue / grand total are associated with the transaction. This value should include any shipping or tax costs (e.g. 11.99)
    • Shipping: Specifies the total shipping cost of the transaction. (e.g. 5)
    • Tax: Specifies the total tax of the transaction. (e.g. 1.29)
    • Products names: The array of products names
    • Products SKUs: Specifies the array of SKU's or products codes
    • Products categories: The array of products categories
    • Products quantities: The array of numbers of purchased products in the transaction. If a non-integer value is passed into this field (e.g. 1.5), it will be rounded to the closest integer value.
    • Products prices: The array of product prices.
      E-commerce tracking is available for both web and app properties but must be enabled at the view level.No E-commerce data appears in your reports until you set up E-commerce tracking.

  3. Enable E-commerce tracking
    • Click Admin from the menu bar at the top of any screen in Analytics.

    • Use the drop-down menus to select the Account, Property, and View.

    • Click View Settings.

    • In the Ecommerce Settings section, click the toggle so it says ON

    • Click Save at the bottom of the page.


  4. Results