Operating system attributes in the data layer
This feature uses the bundled WhichBrowser library to identify some attributes of the operating system that is used by your site visitor. Please make sure you are not using this data for unethical purposes and to request consent from the user if accessed and processed in a way that might be related to data protection regulations around the world.
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 fire on specific operating systems.
By enabling this feature, you can access the following data layer variables:
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: 11 (for Windows), 13 (for Android), etc.