Expandir minha barra de realizações na Comunidade.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLUCIONADO

Not able to access detail object from satellite track call

Avatar

Level 2
Hi All, We are trying to use satellite.track to trigger a button click. But along with that track call we are sending additional objects. I am trying to access those objects inside a rule as a condition or ac an action, i am not able to access those. Can someone please help me with what type of Condition type should i be using to reference that? In the below track call i want to access the "name" and the "conversion label"
_satellite.track("link-button-click",{id: 4267, name: 'Apply now', conversionLabel: 'test'});

 

1 Solução aceita

Avatar

Resposta correta de
Level 3

What does "cannot access" exactly mean? Do you get an error message? How do you address the payload inside your custom code? 

 

The common way of implementation looks like this:

 

1. Event Type "Direct Call", Identifier "Hello_World"

2. Action "Set Variables", Custom Code, access payload via event.detail

 

Call the rule by issuing:

_satellite.track("Hello_World", {foo: bar});

Ver solução na publicação original

1 Resposta

Avatar

Resposta correta de
Level 3

What does "cannot access" exactly mean? Do you get an error message? How do you address the payload inside your custom code? 

 

The common way of implementation looks like this:

 

1. Event Type "Direct Call", Identifier "Hello_World"

2. Action "Set Variables", Custom Code, access payload via event.detail

 

Call the rule by issuing:

_satellite.track("Hello_World", {foo: bar});