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

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

Open
2 tasks done
jardayn opened this issue Sep 10, 2021 · 1 comment
Open
2 tasks done

Comments

@jardayn
Copy link

jardayn commented Sep 10, 2021

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for self-hosted support

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 ukutaht transferred this issue from plausible/analytics Sep 13, 2021
@ukutaht
Copy link
Contributor

ukutaht commented Sep 13, 2021

@Maronato Any clue what could be going on here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants