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:
- Go to Settings / Google Tag Manager on your WordPress admin area
- Click on the Basic data tab
- Click on the Browser/OS/Device subtab
- 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
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.
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.