I want to store a 1st party cookie from a JavaScript extension using the utag.loader.SC function but I cannot find any documentation other than those for combined cookie.
What is the expiration syntax I should for a standard cookie (not the combined one)?
For example: utag.loader.SC("my_cookie", "cookie value", )
Hi Sofiane,
If your using a cookie that does not start with "utag_" then the expiry on the cookie can not e set as it is hardcoded to a year. You would then need to use
utag.loader.SC("my_cookie","value","da")
to delete the cookie when you are finished.
If you wanted to set the expiry you would need to use the combined format which requires "utag_" to be prefixed on the front of the cookie name.