Omniture c_w(...) question | Adobe Higher Education
Skip to main content
October 16, 2015
Respondido

Omniture c_w(...) question

  • October 16, 2015
  • 2 respostas
  • 1364 Visualizações

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!

Este tópico foi fechado para respostas.
Melhor resposta por 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 Respostas

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
warrensanderResposta
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.