Omniture c_w(...) question | Community
Skip to main content
October 16, 2015
Solved

Omniture c_w(...) question

  • October 16, 2015
  • 2 replies
  • 1364 views

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.
Best answer by warrensander

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

TanmayMathur
Adobe Employee
Adobe Employee
October 16, 2015

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

warrensander
warrensanderAccepted solution
Level 6
October 16, 2015

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.