Another opt-out iFrame problem

Hello,

I upgraded to the latest version of PiWik from version 2.5.1 (??) and the opt-out iFrame is not showing up any more. This is very similar to the issue shown here. I tried:

These are the site details:

URL: https://talkingcouch.uk/article/core/cookie-policy
IFrame code:


<iframe src="https://analytics.prodia.co.uk/index.php?module=CoreAdminHome&action=optOut&language=en" style="border: 0; min-height: 200px;"></iframe>

The problem is visible in IE11, Firefox and Chrome.

Does anyone have any suggestions?

seems to be the same bug (when you call https://analytics.prodia.co.uk/index.php?module=CoreAdminHome&action=optOut&language=en directly you get the [quote=" "]Error: The parameter ‘idSite=’ is missing from the request.[/quote]-Message.

Additionally your site seems to block the forwarding - so your cookie-policy is still readable (unlike mine :frowning: )

Interesting, I am not seeing that error here. I get a blank area that is the iFrames height. When I view sorce in Firefox and click on the iFrames source link I see the page I am expecting. I tried adding &idSite=0/1/talkingcouch to the frameset but it didn’t do anything. Where do you see that error?

I am also a little unsure what you mean by:

Additionally your site seems to block the forwarding - so your cookie-policy is still readable (unlike mine sad smiley )

but maybe it is something to do with the cross-domain. My site is talkingcouch.uk but piwik is running at analytics.prodia.co.uk.

When you do that, are you logged in to piwik?

Yep, if I log out of Piwik then I see the error you mention.

See this bug report: problem with opt-out-iframe: when calling forwarded to log-in-screen with "idSite= is missing" · Issue #6128 · matomo-org/matomo · GitHub

is it the same bug maybe? we’ll make sure to fix it next release

Yes, that the one. Sorry, I had not realised that it had already been reported. Thanks for Piwik!