Google Analytics App + Web properties (beta)

This help center article is part of the App + Web Property Beta.

App + Web properties are not currently supported in the Analytics app.

Google Analytics App + Web properties are a new type of measurement that bridges the gap between web and mobile analytics. This feature is currently in beta. Learn more.

Google Tag Manager supports App + Web properties with two tags that work together:

  • Google Analytics: App + Web Configuration
  • Google Analytics: App + Web Event

The Configuration tag

The Google Analytics: App + Web Configuration tag initializes Google Analytics for your App + Web property on a particular page. It handles behavior such as setting of Google Analytics cookies, sending automatic and enhanced measurement events, and declaration of common settings for subsequent events.

The Configuration tag should be fired on every page where you want to collect data for an App + Web property, and should be triggered to fire as soon as possible, before any other App + Web event tags.

To create an App + Web configuration tag:

  1. Click Tags and then New.
  2. Click Tag Configuration.
  3. Select Google Analytics: App + Web Configuration.
  4. Enter your measurement ID.
  5. Optional: Add any parameters you'd like to configure in Fields to Set. Use recommended event parameter names for best results.
  6. Optional: Add any custom user properties that you'd like to configure in User Properties. Note: Analytics automatically logs some user properties. You can set up to 25 additional user properties per App + Web property.
  7. Optional: Use Advanced Settings to set a Tag Firing Priority or to use Tag Sequencing to help ensure that the Configuration tag fires before any other event tags that require it.
  8. Click Triggering and select appropriate events that would cause the tag to fire.
  9. Save the tag configuration and publish your container.

Use Fields to Set to set persistent parameter values for all pages that fire the given tag.

Example 1: To set a user ID, add a row to Fields to Set. Set the Field Name to user_id, and the Value to a Tag Manager Variable that returns the user ID.

Example 2: Use Fields to Set to configure cookie field settings:

Parameter Name Example
cookie_prefix SubscriberCookie
cookie_domain tickets.example.com
cookie_expires 31536000

The Event tag

Ecommerce measurement is not yet supported in App + Web properties.

The Google Analytics App + Web Event tag enables you to send additional custom events to Google Analytics beyond those that are sent automatically and through enhanced measurement. For example, if you want to collect scroll depth data or more granular intervals than provided via enhanced measurement, you can trigger an App + Web Event tag to fire based on Tag Manager’s scroll depth trigger.

To create an App + Web Event tag:

  1. Click Tags and then New.
  2. Click Tag Configuration.
  3. Select Google Analytics: App + Web Event.
  4. For Configuration Tag, select the Configuration Tag you created earlier.
  5. For Event Name, specify the name of the event. Use the recommended event names for best results.
  6. Optional: Enter Event Parameters. Use recommended event parameter names for best results.
    1. Click Add Row.
    2. Enter a Parameter Name.
    3. Enter a Value.
    4. Repeat until all desired parameters have been added.
  7. Optional: Add any custom user properties that you'd like to configure in User Properties. Note: Analytics automatically logs some user properties. You can set up to 25 additional user properties per App + Web property.
  8. Optional: To help ensure that the Event tag fires after its associated Configuration tag, use Advanced Settings to set a Tag Firing Priority or to use Tag Sequencing to help ensure that the Configuration tag fires before any other event tags that require it.
  9. Click Triggering and select appropriate events that would cause the tag to fire.
  10. Save the tag configuration and publish your container.

Example Event tag configuration:

  • Event Name: scroll
  • Parameter Name: percent_scrolled
  • Parameter Value: {{Scroll Depth Threshold}} (populated by built-in variable)
Use Advanced Settings and then Tag Sequencing to specify that an Event tag should fire after a Configuration tag.
Was this helpful?
How can we improve it?