Expand my Community achievements bar.

SOLVED

difference between Custom event and direct call rule

Avatar

Level 3

Hi, 

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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.

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

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.

Avatar

Level 3

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

Avatar

Community Advisor

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...

https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/acdl-and-eddl-difference-... 

 

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