Comment on page
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.
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; +http://www.google.com/bot.html)
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 modified 2mo ago