Google analytics not working from mobile
Jun 28, 2016
Hi Heroes,
I have implemented Google analytics by embedding the universal tracking code in the story.html file and by using "Execute Javascript triggers" on individual slides using 'pageview' hits. It is working fine when I visit the story from a desktop (I even see real time data).
However, when I visit the same URL from a mobile site, the data is not being received on the GA dashboard. Any ideas why? The output is of html5 format and the story is behaving expected except for sending the GA data.
Any help is appreciated, thanks !
3 Replies
Hi Matthew,
On the mobile phone, is story_html5.html used instead of story.html?
Thanks!
Hi Spread Knowledge,
If you're viewing the course in a mobile browser such as Safari on iOS and Chrome on Android, it'll be the story_html5.html file that will be presented to the user. This article describes how it's determined what to show them.
Thanks Ashley, I will add the analytics code to the story_html5.html as well then (along with story.html)
This discussion is closed. You can start a new discussion or contact Articulate Support.