Closed GoogleCodeExporter closed 9 years ago
Note: the term 'events' used by the original reporter might be ambiguous: Not
only events but also pageviews do not work.
Original comment by ama...@google.com
on 2 Jul 2013 at 3:21
This fixes it:
// ga('create', ....
ga('set', 'checkProtocolTask', function(){}); // Overrides the function that
checks
// for protocol name
Disclaimer: Someone else told me. I don't deserve credit for this :)
Original comment by alfo...@gmail.com
on 2 Jul 2013 at 10:08
[deleted comment]
Original comment by dspatti...@google.com
on 24 Jun 2014 at 11:33
@dspatti, could you tell us why the issue was marked as fixed?
Original comment by bogdanvi...@gmail.com
on 15 Sep 2014 at 9:32
Hello! Ran into this yesterday and took me a couple hours to figure out. Would
love to see this fixed too. :-)
Original comment by l...@google.com
on 18 Sep 2014 at 1:08
There is official document on this issue.
here:
https://developers.google.com/analytics/devguides/collection/analyticsjs/tasks
just put
ga('set', 'checkProtocolTask', null); // Disable file protocol checking.
after create the analytic.
In case of using analytics in an iframe on background page.
I opened another issue here:
https://code.google.com/p/analytics-issues/issues/detail?id=494
Original comment by sarun...@gmail.com
on 18 Sep 2014 at 1:55
Original issue reported on code.google.com by
gjugg...@gmail.com
on 20 Jun 2013 at 1:54