Sumo and Rocket Loader

If you are trying to use the old, manual Sumo install code and Rocket Loader on the same site, please keep in mind that Rocket Loader often keeps Sumo from working properly.

The old install code looks like this:


The new install code looks like this:

<script async>(function(s,u,m,o,j,v){j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';j.dataset.sumoPlatform='wordpress';v.parentNode.insertBefore(j,v)})(window,document,'script','//');</script>

If you are using the new manual install code, it works great with Rocket loader. If you're using an old manual install code, you'll need to make a quick modification to the script tag.

Add the data-cfasync="false" attribute to your Sumo install code (do note that the data-cfasync attribute must be added to the HTML script tag before the src attribute):

<script <strong>data-cfasync="false"</strong> src="//" ...

Beyond this, we do not offer any dedicated support for any problems you may run into due to using Rocket Loader with Sumo.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.