javascript - How to track iPhone orientation in google analytics? -
we're getting ready deploy mobile version of our website , we'd track iphone orientation within google analytics. i'm guessing should custom variable because don't see pre-defined way track under mobile tab analytics reports. i'm not sure how detect current orientation of iphone when page loads, however.
when searching answer detect see lot of suggestions apps, none safari when viewing web pages. did miss question, or know how detect iphone orientation within safari?
thanks in advance!
edit: mobile safari orientation events coupled analytics track js events
i'm pretty sure iphone browser reports same display width (javascript:screen.width) regardless of orientation. makes impossible track such data in mobilesafari. i'm looking somewhere can confirm test on own device or emulator or emulator.
Comments
Post a Comment