Is there a way to set server side first-party cookie from the Shopify APP to avoid Apple's ITP 2.3 ?
We can set client-side first party cookie from the JS placed on the merchant shop, but the limitations is only 24 hours since it is not a server side cookie.
Would like to know If there is a way to place server-side first-party cookie using Shopify APP on the shop domain.
No I haven't done this process specifically. It's a bit in depth and requires some technical skills. If you're not a developer or have one on retainer it may be a heavy lift, but her's an overview of the process:
The snippet may look something like:
<script> document.cookie = "foo=bar; expires=Thu, 25 Dec 2025 12:00:00 UTC; path=/"; </script>
Isn't it same as setting a cookie from the JS ? We are already setting a cookie from the JS and will have the lifetime of 24 hrs in safari due to ITP 2.3.
I'm looking to set a server side cookie here, Just like how Shopify is setting '_landing_page' , '_orig_referrer' cookies etc. from the server side.