Data about the operating system used by a user

Please note: this feature is still in beta. If you are using it, please let us know whether it works for you as expected.

How to enable operating system variables?

This feature is disabled by default which means that you will need to enable it:

  1. Go to Settings / Google Tag Manager on your WordPress admin area
  2. Click on the Basic data tab
  3. Click on the Browser/OS/Device subtab
  4. Put a check mark into the boxes shown on that page

Enabling this will allow you to access the following Data Layer Variables on all pages.

Note: you do not need this feature to be enabled to collect browser/os/device data with Google Analytics. You may want to use this feature to pass such data towards other 3rd party systems or to limit certain tags in your Google Tag Manager container to only certain browsers/operating systems/devices

osName

This will include the name of the operating system that your user is currently using to run the browser. Example values are: Windows, Android, iOS, etc.

osVersion

This will include the version of the operating system that your user is currently using to run the browser. Example values are: 8.1 (for Windows), 4.4.2 (for Android), etc.