Having trouble seeing Google Analytics page view counts?
September 22nd, 2019
Users of Cloudflare’s “Rocket Loader” service have reported issues with Stackerdecks interactions properly registering as page views in Google Analytics.
Here’s a super quick fix that will allow you to continue to take advantage of the Rocket Loader service and see all user interactions with Stackerdecks content as page views your Google Analytics reporting console.
You can have Rocket Loader ignore individual scripts by adding the data-cfasync=”false” attribute to the relevant script tag.
Rocket Loader will still optimize the loading of all other scripts on the page.
Adding this line inside the opening script call for your GA (or, any other code you want to execute without being cached/optimized).
For more information, please visit this Cloudflare link.