ReferenceError: _isMatchingDomain is not defined at parseCookie at HTMLDocument.set [as cookie]
_isMatchingDomain is not on our website and is coming only from certain browsers:
Mozilla/5.0 (X11; Linux x86_64)
AppleWebKit/537.36 (KHTML, like Gecko)
Additional information from comments below:
The IPs triggering the error seem to be owned by Facebook. Possibly a Facebook crawler? (Chris Morbitzer)
The referrer URLs are all from Facebook (Rob Wierzbowski)
Does anyone know the source of this error, if it affects users, and how to fix?
We're getting the same thing too. All of the request IPs come from Facebook-owned addresses so we think they are the crawlers executing some script. It's irritating to say the least.
Edit: I'm wondering if this has something to do with also using Piwik/Matomo? Here's our full stacktrace in one example:
:1:32551:43parseCookie :1:32551HTMLDocument.set [as cookie] https:///piwik.js:42:141c0 https:///piwik.js:48:240bo https:///piwik.js:65:146Q.setCookieDomain https:///piwik.js:23:60ac https:///piwik.js:70:900c https:///piwik.js:71:348aa https:///piwik.js:72:279Object.addTracker https:///piwik.js:75:386