Every project has a list of allowed domains. Reports from any other site are rejected, and the widget doesn't show up there. Manage the list under Project → Settings → Allowed domains.
Patterns you can use
| Pattern | Matches |
|---|---|
example.com | exactly example.com |
www.example.com | exactly www.example.com |
*.example.com | any subdomain, like staging.example.com or www.example.com (not example.com itself) |
localhost | localhost on any port |
localhost:3000 | localhost on port 3000 only |
127.0.0.1 | the loopback address |
A project can have up to 10 domains.
Common setups
- Live site with www: add
example.comandwww.example.com, orexample.comand*.example.com. - Client staging site: add the staging host, for example
client-staging.youragency.com. - Local development: add
localhost.