How to fire a particular Adobe event using direct call rule from our environment custom script file.




I am facing issue while calling a direct call rule from my code base. I need to trigger a particular event on ajax Complete function 



complete: function(data) {

            if(totalPage != 0 && totalPage == page){

//Fire the Direct Call rule here.


Can you please help me with how I can do that???



Chinmay Hegde

Accepted Solutions (1)

Accepted Solutions (1)



Hi Chinmay ,

First you need to create a Direct call rule in the DTM interface and in the conditions tab on Direct call rule specify the string say "Ajax_Complete_Event" and then under Adobe Analytics tab , initialize the Traffic/conversion variables and event which needs to be triggered when the Direct call rule is fired. Please see the following link for more information on Direct Call rules.

Also, Please see the below snippet of code to get more details on how to fire Direct call Rule from your code.

complete: function(data) { if(totalPage != 0 && totalPage == page){ _satellite.track("Ajax_Complete_Event"); }

Thanks & Regards

Parit Mitttal

Answers (0)