HTTP headers

Avoid Diffy hits reflected in your analytics, device identification.

You can set up HTTP headers for Diffy workers. We have a few cases when it is really useful.

Google Analytics

If your site doesn't get much traffic Diffy's scans will be noticeable. To avoid that you can set

User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +

Native device detection

If your layouts use device detection (instead of screen width) you can mimic different devices with User-Agent headers as well. There is a great collection of devices/headers in puppeteer project.

Last updated