Skip to main content
Oct 16, 2015 2:26 AM UTC
Solved

Omniture c_w(...) question

My question is this:

I need to log an event via the cookie writer to ... gs.c_w(...).  I only see examples of adding eVars to the cookie, but not events.  I've asked around and no one seems to know how exactly to do this.  I'm rather new to Omniture so you'll have to forgive my ignorance a bit.  :)

Thanks in advance!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
warrensander
warrensanderAccepted solution
Level 6
Oct 16, 2015 2:26 AM UTC

I'd use s.apl call rather than the += you suggested..

var xx = cookie value c_w(_) s.events=s.apl(s.events,xx,',',2);

that way the , delimiter gets added if needed between existing events and the one from the cookie.

2 replies

warrensander
warrensanderAccepted solution
Level 6
Oct 16, 2015 2:26 AM UTC

I'd use s.apl call rather than the += you suggested..

var xx = cookie value c_w(_) s.events=s.apl(s.events,xx,',',2);

that way the , delimiter gets added if needed between existing events and the one from the cookie.

Translate
TanmayMathur
Adobe Employee
Adobe Employee
Oct 16, 2015 2:26 AM UTC

Hi,

You may try writing "event3" into cooke value c_w(_)

then call the cookie as  s.events+=cookie value c_w(_)

Let me know if you have more questions.

TM

Translate