Skip to content

Don't track hits when running on localhost #20

@wheresalice

Description

@wheresalice

When I'm doing local development on a website which uses bearlytics, my traffic still gets counted.

I would like script.js to be aware that it is being called from a page served from localhost and not sent the fetch to bearlytics in that case.

That seems easy enough to do, but maybe people would want this to be configurable. At which point I'm not clear on the best approach of achieving this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions