adswerve / Swift-GA-Tracker-for-Apple-tvOS

Google Analytics tracker for Apple tvOS provides an easy integration of Google Analytics’ measurement protocol for Apple TV.
http://www.analyticspros.com
BSD 3-Clause "New" or "Revised" License
81 stars 26 forks source link

Recognise as iPhone on GANT #2

Open sidan5 opened 8 years ago

sidan5 commented 8 years ago

If there a way to send another device type (we have apps support both ATV and iPhones)?

LukaData commented 8 years ago

Hi sidan5, you can set the data source (ds) parameter to TV. https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#ds

You can also update user agent to fit your requirements.

igoriols commented 6 years ago

Hi @LukaData, in my application I'm sending

Mozilla/5.0 (Apple TV; CPU iPhone OS 9_0 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13T534YI

as user agent. I still can't see Apple TV listed on devices in GA Dashboard. Can you help me?