• Resolved tokyographer

    (@tokyographer)


    I have been optimising my WordPress installs through the following workflow:

    1. Light homepage, post and page structure, restricting the use of widgets, plugins and excessive code content load per page.
    2. Caching through W3C Total Cache
    3. Image compression
    4. CDN through Cloudflare

    The problem happened with this page Criticality.co. After using Cloudflare which offers caching and security tools I noticed that the Tag Assistant was only finding the Analytics code but not the Tag Manager which it usually did. This problem occurred due to the Cloudflare Optimization settings, when using the switching to the CDN+Full optimisations the Tag Manager jscript will stop working and wont fire the Tag Manager.

    I solved this issue by going to Cloudflare Settings and in Performance Profile switch to CDN only or CDN + Basic Optimisation then Purge Cache. This way your Tag Manager will fire without any problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    This sounds like an issue with Rocket Loader. Did you file a support ticket so we can see why Rocket Loader is breaking it?

    Thread Starter tokyographer

    (@tokyographer)

    Hi,

    Yes the problem got solved once I disabled rocket loader. What settings do you recommend when using W3 Total Cache plugin?

    Im not sure if I should use the plugin or the Cloudflare caching.

    “Im not sure if I should use the plugin or the Cloudflare caching. “

    Both should work together fine (W3TC and CloudFlare). The issue here is an optional performance feature that is not related to caching (Rocket Loader is not a caching feature, but one that speeds up JavaScript).

    I can’t really give tips about W3TC settings (it isn’t our product). The only recommendation I can really make is to make sure you don’t enable minify at CloudFlare and W3TC at the same time (problems can arise if you run two minify options at the same time).

    Thread Starter tokyographer

    (@tokyographer)

    Oh I see, now it makes sense, Ill try to work around using both!

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cloudflare and Google Tag Manager compatibility problems’ is closed to new replies.