Writing direct call function as custom code in Adobe Launch rule | Community
Skip to main content
November 17, 2022
Solved

Writing direct call function as custom code in Adobe Launch rule

  • November 17, 2022
  • 1 reply
  • 2526 views

I would like to write direct call as custom code because I want the rule to fire on a range of different direct calls. 

 

I know it's possible to add several direct calls, but due to the scope I want in this rule, this seems messy to me. I would prefer to have it lined up with use of custom code.

 

Can anyone help me? 🙂 Thanks in advance!

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 jayakrishnaaparthasarathy

Hi @fridarasch  - This forum is more to discuss on adobe experience platfrom (AEP),  which is a CDP concepts. I would request you to post your queries on https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform-data/ct-p/adobe-launch-community to get better and quick solution going forward. 

However, let me answer for you on this. Yes, it is possible to utilize direct call on the custom code. Please find the below code which should be call across as required on the custom code. Call this line whevere it is required and pass the actual string over the code to trigger the rule.

_satellite.track('yourstringgoeshere');

Reference: https://digitalbalance.com.au/our-blog/how-to-use-direct-call-rules-in-dtm/

 

1 reply

jayakrishnaaparthasarathy
Community Advisor
jayakrishnaaparthasarathyCommunity AdvisorAccepted solution
Community Advisor
November 17, 2022

Hi @fridarasch  - This forum is more to discuss on adobe experience platfrom (AEP),  which is a CDP concepts. I would request you to post your queries on https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform-data/ct-p/adobe-launch-community to get better and quick solution going forward. 

However, let me answer for you on this. Yes, it is possible to utilize direct call on the custom code. Please find the below code which should be call across as required on the custom code. Call this line whevere it is required and pass the actual string over the code to trigger the rule.

_satellite.track('yourstringgoeshere');

Reference: https://digitalbalance.com.au/our-blog/how-to-use-direct-call-rules-in-dtm/

 

November 18, 2022

Hi @jayakrishnaaparthasarathy .

Thanks for your help! Also, thanks for giving me the directions to the correct forum. Will use that going forward.

I was not able to fire the rule with this code, but perhaps it's something I'm missing. Will take a look at the documentation you attached, and otherwise ask a new question in the other forum.