TB Google Analytics Module causing load delay and flickering in front and back office
Anyone else experiencing this? I’ve isolated it to the module as I can disable it and the flickering and delays go away. Not sure how to resolve.
It starts loading the page…then a white screen pops up for a second or two, then the page finishes loading
wakabayashi last edited by
I recently had some flickering too. But in my case it was when I search for images in the backoffice html editor.
lesley last edited by
Yeah, this is something I have noticed as well, that I would attribute to google. I first noticed it on a site I use for tracking SEO rankranger.com I thought it was because of oh how they were using node. Then after we added Google Optimize to the google analytics module I noticed it on my dev site. What the issue is, is if you are using Google Optimize, they white the screen out and delay the showing of the screen.
This should only be happening if you are using Google Optimize and have an id entered. See here in the code, https://github.com/thirtybees/ganalytics/blob/master/views/templates/hook/analyticsjs.tpl#L26 That line is hiding the contents of the browser window, then this line, https://github.com/thirtybees/ganalytics/blob/master/views/templates/hook/analyticsjs.tpl#L29 is showing it 4 seconds later. You can edit the file and manually adjust the timer to less than 4000 milliseconds. The reason I used that value is because that is what the Google code uses. Here is a screenshot of what they give me in my account, notice the highlighted line, https://www.screencast.com/t/WkNFXg6h
Thanks. Seems to still be causing some lag. After removing the ID. I’ll take a look.
Pedalman last edited by
Can this be related to a slow loading BO/orders page?
It takes about 7 secs to load and the Ajax circle is spinning. Very annoying. I already posted related to this but to no avail so I wonder that GA Optimized might be the reason? Anyway, after deactivating the module the hickups were not much better.
Browser tools name Google related stuff but I have no clue that all:
And btw what does “UserID tracking” mean? Thefunction of the module is not very clear to me. Sorry
lesley last edited by
It means google trackers user by an id that your shop generates.