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?
Solved! Go to Solution.
Views
Replies
Total Likes
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-co... 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/
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-co... 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/
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.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies