plausible / plausible-tracker

Frontend library to interact with Plausible Analytics
https://github.com/plausible/plausible-tracker
MIT License
214 stars 47 forks source link

Adding Plausible via npm prevents you from seeing the real cause of console messages #14

Open jardayn opened 3 years ago

jardayn commented 3 years ago

Past Issues Searched

Issue is a Bug Report

Describe the bug

Install plausible via npm. (not self hosted).


const { trackPageview } = Plausible({
    domain: 'domain.com'
})
trackPageview()

Check your console. Now every console message is shown to come from some tracker.ts file.
Same goes for stack traces.

Removing plausible fixes the issue.

Expected behavior

I don't want plausible to fuck with my console messages.

Screenshots

Screenshot from 2021-09-11 00-28-30

Environment

- OS: Ubuntu
- Browser: Chrome
- Browser Version: Latest
ukutaht commented 3 years ago

@Maronato Any clue what could be going on here?