Writing direct call function as custom code in Adobe Launch rule
Hi,
I have a data layer where data is pushed when an event occurs. Normally, I use Direct Call with the name of the event to fire the rule. However, I would like to have several event-names.
I know that it's possible to use several Direct Call's, however, I think it becomes too messy for my purposes here and therefore want to use custom code.
In another forum, I was adviced to use _satellite.track('yourstringgoeshere') in custom code. Although, I am not able to fire the rule by doing this. I am passing the event name as 'yourstringgoeshere'. Is this the right way to do it? Is there anything else I need to do?
Note: Under actions I am using Set Variables and Send Beacon with s.tl().
My previous question was posted here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform/writing-direct-call-function-as-custom-code-in-adobe-launch-rule/m-p/558486#M1534
Can anyone help me? Thanks in advance! 🙂


