To modify any of these values, you can specify them in the fieldObject you pass the create command. For example: ga('create', 'UA-XXXXX-Y', { 'cookieName': 'gaCookie', 'cookieDomain': 'blog.example.co.uk', 'cookieExpires': 60 * 60 * 24 * 28 // Time in seconds. 'cookieUpdate': 'false', 'cookieFlags': 'SameSite=None; Secure', }); The most common cookie field to set is cookieDomain, as such, the crea
![Cookies and User Identification | Analytics for Web (analytics.js) | Google for Developers](https://cdn-ak-scissors.b.st-hatena.com/image/square/3a11a08371fffa96fdecf3b29ce2f29d7105ed36/height=288;version=1;width=512/https%3A%2F%2Fwww.gstatic.com%2Fdevrel-devsite%2Fprod%2Fv138136e2eb30b542aaba1f756fef1bb285a0aca3815d9b3afa69262b01441aa5%2Fdevelopers%2Fimages%2Fopengraph%2Forange.png)