Expand my Community achievements bar.

SOLVED

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 Accepted Solution

Avatar

Correct answer by
Level 2

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});

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

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});