The Result:

Cookies? It fails

External JS Cookies? It fails

Testing if Googlebot can use cookies. There is a script in the head that sets a cookie:

const date = new Date();
const dateforOutput = date.toISOString();
date.setTime(date.getTime() + (60*1000));
const expires = "; expires=" + date.toUTCString();
document.cookie = "ttbtest=It Works " + dateforOutput + expires + "; path=/";

There is then another script at the bottom of the page that takes this value, and changes the innerText of the results span.

const v = document.cookie.match('(^|;) ?ttbtest=([^;]*)(;|$)');
document.getElementById("result").innerText = v ? v[2] : null;

< Back