Set account ID
- 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. - 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
- 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.
- 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)
- Results
Exception
- This tag allows you to measure the number and type of crashes and exceptions that occur on your property.
- 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
- This tag used for creating custom requests to Google Analytics
- 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')
- Results
Page view
- Allows you to measure the number of views you had on a particular page on your website.
- Parameters
- UA account ID: UA-xxxxx-x
- UA account ID: UA-xxxxx-x
- Results
Social
- 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."
- 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)
- Results
Time tracking
- This tag allows generating reports that automatically measure and report on page load times.
- 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)
- Results
Track transaction
- This tag allows you to measure the number of transactions and revenue that your website generates.
- 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.
- 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.
- Results