Go to All Forums

Chrome complains about sameSite cookie produced by RUM

I'm got RUM configured on my website, and in Chrome, I'm seeing the following message in the console:

"Cookie “site24x7rumID” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute."

I understand the issue about Chrome and SameSite cookies - I'm wondering what's being done to remediate this before Chrome starts rejecting this cookie.

I'm using the standard code to include RUM in my site:

<script type="text/javascript">

var rumMOKey='7xxxxxxxxxxxx1';
(function(){
if(window.performance && window.performance.timing && window.performance.navigation) {
var site24x7_rum_beacon=document.createElement('script');
site24x7_rum_beacon.async=true;
site24x7_rum_beacon.setAttribute('src','//static.site24x7rum.com/beacon/site24x7rum-min.js?appKey='+rumMOKey);
document.getElementsByTagName('head')[0].appendChild(site24x7_rum_beacon);
}
})(window)

</script>
Like (3) Reply
Replies (2)

Greetings,

site24x7rumID cookie is used only in same-site or first party context and not for cross-site access. Setting the samesite attribute as strict should address this warning . We'll fix this in the next update .
Like (0) Reply

Greetings,

we've now set the secure attribute as true & samesite attribute as strict . Please check the same .

Like (0) Reply

Was this post helpful?