How to set iOS device model in Google Analytics?

I am developing an Ionic app for iOS and Android. I use Cordova google-analytics-plugin for Google Analytics. It looks like plugin does not set iOS device model. Model is mentioned as “not set” in Google Analytics. It works fine for Android.

How do I set iOS model correctly (e.g. iPhone 6, iPhone 7, …)? Or is there any other plugin that sets iOS model correctly?

Thank you.!

1 Like

Solution is to create a custom dimension and send the device model (device.model) using the Cordova device plugin.