Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Custom script not triggering

Avatar

Employee

My third-party or custom script does not trigger when my page load rule fires. What might be wrong with my rule?

1 Accepted Solution

Avatar

Correct answer by
Employee

Check and see what type of script you are using and the load option you have chosen for the rule. If you use sequential html, then your rule must be set to load at Bottom / Top of Page. The script will not work if the rule is set to load Onload or DOM ready.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Check and see what type of script you are using and the load option you have chosen for the rule. If you use sequential html, then your rule must be set to load at Bottom / Top of Page. The script will not work if the rule is set to load Onload or DOM ready.