This documentation is deprecated. Please refer our new documentation here

FAQBrowser MonitoringHow do I send performance and error data only from specific domains?

There is an option to whitelist domains in Atatus configuration, and atatus will only transmit error and performance metrics only from these domains. The whitelist domain configuration accepts the list of domains as an array of strings:

atatus.config('YOUR_API_KEY', { allowedDomains: ['', '', ''] }).install();

Note that, you need to add "" in your allowed domains if you want to capture metrics of AJAX calls over "".

Important: If you want to allow all your sub domains, then you can just include your domain name like [ "" ].