Safari Intelligent Tracking Prevention blocks Google Analytics in iframe settings - google-analytics

I have my application running in iframe https://iframe-domain.com embedded in the main site https://parent-domain.com. With a bit of pain I was able to setup google analytics and GTM to make it work. For this I've used the configuration
cookie_flags: max-age=7200;secure;samesite=none
in Google tag manager. Then it worked in all browsers except Safari. I've noticed that safari ITP (Intelligent tracking prevention) is blocking GA (more precisely, it's blocking third-party cookies) because of the cross-origin iframe. This is reproducible in mobile safari, not sure about the desktop.
Is there any workaround? I don't want to miss all my safari users in analytics reports. GA version 4 is used.

Related

How can I track web events on Safari with Google Tag Manager

I am unable to track web conversions happening on safari browser. I already setup conversion linker tag but still unable to record conversions. Upon disabling the option of prevent cross site tracking in Safari the event tracking option starts working but when prevent cross site tracking option is on safari is not allowing me to record events. Is there any way through which I can get the events recorded while enabling prevent cross site tracking on Safari?

Google Tag Manager not including Universal Analytics

I have a site that the Tag Assistant extension shows is loading GTM, but not our Universal Analytics code. What is strange about this is, this site has the same URL structure as all of our other sites. I exported a known working container and imported into this site, changing only the Universal Analytics variable, and it still doesn't work.
Even stranger. When I open preview mode from GTM, it shows everything firing as it should: Universal Analytics and Data Layers. We offer a cookie-cutter white-label solution in our industry and this same setup works for all other customers.
I've published again. I've wiped out the container and rebuilt it.
Any ideas about what to look for?

How to test google analytics in firefox browser?

As a part of Google analytics testing, i am testing the events fired, page view hits, conversions, label etc.. in firefox browser.
I couldn't find great add-on's as i found in Google Chrome browser to test the attributes mentioned above .
Can you let me know if there is any way forward to test the google analytic's in Firefox browser?
Thank you
The above link is for GA debugger extension. I just managed to check the google analytics parameters in firefox. Hope this helps. Open firefox browser->Tools->WebDeveloper-> webConsole You would be prompted with a seperate or autofitted window. Then go to Tool Box options-> Enable google Chrome addon debugging in advanced settings. Then check in the network tab. you would get all the query parameters as you see in google. Please let me know if any concerns
Also make sure you switch on the GTM in preview and debug mode, so that the query parameters would be more readable

Image slider blocked by Tracking Protection in Google Analytics

I've recently rebuilt a website for a free lance client who wanted to add GA to his site. This is first time I've used GA. On one page I included a javascript image slider. The slider is being blocked in all 5 major browsers. In IE 11 Web Developer tools I get this message for every page on the site:
"SEC7114: A download in this page was blocked by Tracking Protection. http://www.google-analytics.com/analytics.js"
I think this is a GA setting that can be changed, but I haven't been able to find it.
Can anyone help me with this?
Disable tracking protection.
What is an "image slider"?

Google analytics https iframe does not work on chrome and safari

So I'm trying to embed the google analytics login page onto a page. Works fine on IE and Firefox. The website is hosted on a local machine.
Code:
<iframe src="https://www.google.com/analytics/settings/?et=reset&hl=en" height="1000px" width="100%">Your browser does not support iframes.</iframe>
Is this a bug in chrome safari or can I adapt my xhtml to fix this?
Edit :In the end I used the Google Analytics API with this PHP library http://code.google.com/p/gapi-google-analytics-php-interface/
and google chart api.
Google is setting response headers to explicitly block the loading of these pages into an iframe. The headers are respected by newer browsers, but not implemented in older ones. I suspect you're using a version of IE below 8 if this is working for you.

Resources