Internet Explorer and cross-site scripts


#1

Hi guys,

I’m having a problem with not seeing any IE visitors in piwik stats.

The setup is :
website is on a.com
adserver is on b.com
piwik instance is on c.com

The website includes a script that loads the ad from the adserver, and also loads the piwik script.

I tried adding a p3p policy on c.com, but that didnt help.

There are no iframes involved btw. Tested with IE8. I see all other browsers in visitor logs.


(jOoL) #2

HI,

The two first questions that come to my mind are :

[ul]
[li]Are cookies disabled in you Internet Explorer ?
[/li][li] In Piwik, Did you set the cookie to prevent page views from your browser ?
[/li][/ul]

Check these first and let me know.

jOoL


#3

Are cookies disabled in you Internet Explorer ?

nope. default IE settings

In Piwik, Did you set the cookie to prevent page views from your browser ?

nope.

I think this is happening because of the way I’m trying to use PIWIK, as embedded in an ad, instead of embedded in a page. Basically, I am using PIWIK to provide me client-stats on the pages where my ad appears, and hence including the PIWIK tag with my adtag.

IE has different third-party cookie rules (more stricter than other browsers).

I’ve been able to find a solution around the problem, using mod_rewrite, setting P3P policy, using setCustomUrl() and other functions, but it is still clunky and I was wondering if there was a more elegant solution.