plausible / analytics

Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
https://plausible.io
GNU Affero General Public License v3.0
19.65k stars 1.05k forks source link

Iframe integration broken for ublock users #2550

Open mquandalle opened 1 year ago

mquandalle commented 1 year ago

Past Issues Searched

Issue is a Bug Report

Using official Plausible Cloud hosting or self-hosting?

Plausible Cloud from plausible.io

Describe the bug

The iframe integration is broken in Firefox

Expected behavior

examples of broken integrations:

Screenshots

No response

Environment

- OS: Ubuntu
- Browser: Firefox
- Browser Version: 104
metmarkosaric commented 1 year ago

Thanks for reporting @mquandalle! I just checked those links and on both the embedded dashboard looks/works all fine on Firefox for me. Could you please share more info on what's not working for you? BTW please do make sure to disable any adblocker as they may block the embedded dashboard from loading

mquandalle commented 1 year ago

You are right this is indeed caused by ublock origin.

Any idea how we could workaround this issue so that ad blocker users could see the iframe embedded?

metmarkosaric commented 1 year ago

@mquandalle thanks for the update! unfortunately not that i know of. i asked the easyprivacy contributor who blocked our embed code from loading to consider removing the block as it's not a tracker, it's a useful part of people's websites and blocking it breaks the experience of visitors that use adblock but they declined to do so unfortunately

mquandalle commented 1 year ago

Maybe using a "self-hosted" proxy like for the tracking script could be a solution?

mquandalle commented 1 year ago

Unfortunately a naive proxy doesn't work: https://deploy-preview-348--publicodes-website.netlify.app/statistiques/