Cloudflare with Rocket Loader

If you are working on Cloudflare with the "Rocket Loader" the execution of the tracking script will be escape.

You can have Rocket Loader ignore individual scripts by adding the data-cfasync="false" attribute to the relevant script tag.


script tracking

1. Adding this attribute within JS will not work to exclude the script from Rocket Loader.

2. The 'data-cfasync' attribute must be added before the 'src' attribute.

3. Rocket loader will recognize the tag when either single or double quotes are placed around the attribute value.