Not able to access detail object from satellite track call | Community
Skip to main content
Level 2
October 27, 2023
Solved

Not able to access detail object from satellite track call

  • October 27, 2023
  • 1 reply
  • 822 views
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'});

 

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 nrs2

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

1 reply

nrs2Accepted solution
Level 2
October 27, 2023

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