I’m using Cloudflare with Wordpress, and the Google Tag Manager script loads slowly (approx. 20/30 seconds). In addition to Cloudflare, I use a caching plugin that allows JavaScript to be delayed. I have eliminated the calls to the Tag Manager libraries from said plugin, does Cloudflare also have an option of this type that I must configure?
If the loading of these libraries is delayed, does it affect the data reflected in Analytics such as visit time, transition between pages, time spent between pages or even the registration of the session?
What I need is to record each visit correctly and in real time without any measurement error on the panels.