• Resolved jackpd

    (@jackpd)


    Hi there,

    First of all, great plugin, switched from Google Analytics Pro and considered both GTM Kit and GTM4WP but went with GTM Kit after some consideration and have been impressed with how lightweight the plugin is as well as having all required features.

    We have quite a large site with 60,000+ SKUs so we’re looking to re-enable page caching with FastCGI (or WP Rocket as a last resort) asap but I’m a little bit concerned in regards to caching and the dataLayer. We have the user data option enabled in WooCommerce integration to allow for enhanced conversions in Google Ads.

    FastCGI cache will be setup to not cache or serve from the cache if user has added anything to the cart or is logged in. As you might expect, it also won’t cache or serve from the cache on user specific pages such as: cart, checkout, my account, order received etc

    I have two questions:

    1) With the above setup, should I be concerned that standard/ecommerce (not containing user data) events in the dataLayer will be cached and thus potentially mess with our analytical data?

    2) It’s my understanding that the user data is only included in the purchase events within the dataLayer? Since our purchase event only triggers on the checkout/order received page which are not cached anyway, plus this is after the user has added something to the cart (which triggers the skip-cache before they even make it to the checkout), I’m assuming I don’t need to worry about the warning that states:

    “Including user data is not compatible with full page caching.

    Full page caching will cache user data making it the same for all users. There are ways around this, but it depends on the chosen cache solution and is only for advanced users.”?

    Any help would be greatly appreciated.

    Thanks in advance,
    Jack

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.