JavaScript being delayed

A fairly popular new way to speed up websites is by Delaying JavaScript execution. This does make a website load faster, but it does not let AB Split Test configure tests conversions until click or scroll on the page. If the user clicks away then the conversion won’t be logged. If you turn that off your conversions should log as expected.

Below is how to disable the feature in popular plugins.

In WP Rocket: 

Admin > Settings > WP Rocket > File Optimization > Delay JavaScript Execution > Turn off (uncheck)
In Perfmatters:

Settings > Perfmatters > JavaScript > under “Delay”, toggle OFF “Delay JavaScript.”

Perfmatters JavaScript settings with the Delay JavaScript toggle under Delay.

Leave a Comment

You must be logged in to post a comment.