Retrieving Cookie in Shopify + Checkout

Highlighted
New Member
8 0 0

We're looking to implement Rakuten's affiliate tracking pixel and it requires us to store a landing page URL parameter value as a persistent cookie to be retrieved and passed on the order status page.

We built a custom front end (no access to theme.liquid) so I understand how we can set up a cookie with the values we need but I have NO IDEA how to retrieve this cookie in the checkout. The documentation on here suggests cart attributes but I don't think that will work in my case (could be wrong).

Is there some nice code that would perform this fucntion?

Thanks in advance,

R

0 Likes