Reports for a site loaded in iframe


#1

Reports for a site loaded in iframe show only the page url which contain the iframe. ,

So, site A contains a site B loaded in a iframe. Site B include piwik.js and piwik tracking code, with the right siteId. Any click on site B inside the iframe is visible via Visitors in Real Time widget, but when I’m looking at details per visitor I can see only the url for site A which contain the iframe, times X (X being the number of clicks inside the iframe). Numbers of clicks are correct. url recorded is not.

loading the site from the iframe as a stand alone site works fine and I can see all the data I want.
Any hint will help. Thanks


(Matthieu Aubry) #2

Hi there,

ifyou think this is a bug in piwik, could you create an issue at: Issues · matomo-org/piwik · GitHub ?
it would be great if you can submit a little HTML snippet that lets us reproduce the bug, and if you explain what you get VS what you expected to get.


#3

Hi Matt.
Thanks for your answer. I’m not sure if this is a bug, however, I’ll investigate more, time permitted.


#4

I am also not sure if this is a bug but I can give you an example:

We host the site A on which the JS tracking code is integrated.
When there is a request on an external website via an iframe, e.g.: http://lingro.com/translate/http:/.../A/PATH/armut.html this shows up in our Piwik statistics, see lingro.com.png as a reference.

As I debugged this case, I found out that there may be another problem/bug:
On the site The Global Labour University: Scholarships there is a link to our website. We see the path /161.html of the original link in Piwik, please refer to the second attachment called global-labour-university.org.


#5

REMINDER (20150810); sorry for that but pressure from work.

Hello,

is there any new knowledge about this issue?

Cheers