difference between Custom event and direct call rule | Community
Skip to main content
Level 3
June 12, 2023
Solved

difference between Custom event and direct call rule

  • June 12, 2023
  • 1 reply
  • 2362 views

Hi, 

     I feel like that direct call rule and custom event does the same thing. Can anyone explain the main key difference?

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 dwright-adobe

I agree, they're very similar. Custom events are triggered by generic JavaScript, while direct call rules are triggered by tags/Launch-specific code. Personally, I think it's better to implement custom events in your web app. You might want to hook into them for other purposes besides tags/Launch rules, too.

1 reply

dwright-adobeAdobe EmployeeAccepted solution
Adobe Employee
June 13, 2023

I agree, they're very similar. Custom events are triggered by generic JavaScript, while direct call rules are triggered by tags/Launch-specific code. Personally, I think it's better to implement custom events in your web app. You might want to hook into them for other purposes besides tags/Launch rules, too.

SA30Author
Level 3
June 13, 2023

Got it ! I have a one more question . Should I need to use custom event when , I am using eddl with core extension.

Gokul_Agiwal
Community Advisor
Community Advisor
June 14, 2023

Hi @sa30 Please go through below 2 threads about EDDL, nicely explain by our community member @yuhuisg 

 

https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/hi-can-any-one-help-me-to-understand-the-difference-between-a/m-p/438861

https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/acdl-and-eddl-difference-and-implementation-steps/td-p/553095 

 

Hope this helps to understand and it's implement approach. If any question reply back to this thread.