How to separate multiple cookie values? | Community
Skip to main content
julib23
Level 2
October 16, 2015
Solved

How to separate multiple cookie values?

  • October 16, 2015
  • 2 replies
  • 1739 views

Hi, I would like to understand how to set a data element based on a portion of a cookie.

Example:

cookie=cid=123 | uid=jsmith | account=123456 | auth=UN

How can I set the values of each of these items (cid, uid, account, auth) into their own separate data elements?

Thanks for any advice!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Rahsing

Hi,

I'm not really sure if you can store different portions of a cookie into separate data elements since the whole value would be fed into a data element. (however, let me see if I can find some more info on this)

One way you could go about is by storing the cookie value and then passing the relevant attributes separately into a variable thru some rules.

Let me know if that works

Rahul

2 replies

Rahsing
RahsingAccepted solution
Level 9
October 16, 2015

Hi,

I'm not really sure if you can store different portions of a cookie into separate data elements since the whole value would be fed into a data element. (however, let me see if I can find some more info on this)

One way you could go about is by storing the cookie value and then passing the relevant attributes separately into a variable thru some rules.

Let me know if that works

Rahul

Rahsing
Level 9
October 16, 2015

Hi,

Were you able to find a method to implement this?

Regards

Rahul