Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page Overlay has no bubbles #18471

Closed
topcnm opened this issue Dec 9, 2021 · 4 comments
Closed

Page Overlay has no bubbles #18471

topcnm opened this issue Dec 9, 2021 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@topcnm
Copy link

topcnm commented Dec 9, 2021

Page Overlay loads the page that i want to tracking correctly, however with no bubbles in page.

Current Behavior

The console log give errors as below:
Refused to frame '<My URL I am tracking>' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback

Possible Solution

Steps to Reproduce (for Bugs)

  1. I have followed the steps that given by nginx example to set up my own matomo website with docker-compose
  2. Embed the track code in My URL
  3. Set My URL as trusted_hosts
  4. The matomo collects the tracking infomation correctly but page overly

Your Environment

  • Matomo Version: matomo:fpm-alpine
  • Server Operating System: CentOs 7
  • Additionally installed plugins:
  • Browser:
  • Operating System:
@topcnm topcnm added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Dec 9, 2021
@bx80
Copy link
Contributor

bx80 commented Dec 16, 2021

Hi @topcnm, thanks for contacting us.

Do you have Cross Origin Resource Sharing configured? https://matomo.org/faq/how-to/faq_18694/

@topcnm
Copy link
Author

topcnm commented Dec 28, 2021

@bx80
Thanks fro your reply.
I have set domain with * (Administration > System > General settings), then config the websites( that i want to track) nginx by add_header Access-Control-Allow-Origin *;
however, it does not help. When I open the page overlay, it gives the same error still, and the left side keeps on loading.

@bx80
Copy link
Contributor

bx80 commented Jan 4, 2022

@topcnm You might need to adjust the nginx content security policy rule to allow Matomo to iframe your website.

I can't give you the exact changes as I don't know your configuration, but it would look something like add_header Content-Security-Policy “frame-src ‘self’ your-matomo-domain.com”

@sgiehl
Copy link
Member

sgiehl commented Nov 13, 2022

Closing now, as there hasn't been any activity within a year.
@topcnm If you still have problems with this maybe try to get some help on our forums or if there is something we could improve in Matomo feel free to create a new issue for that.

@sgiehl sgiehl closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2022
@sgiehl sgiehl added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants