some questions
-
Hello,
Do you support 1 to 3 ? and 4 is a question.
1/ Track logged-in admins
Support: analytics.js, Minimal, Minimal Inline, gtag.js v4, and gtag.js
Include logged-in WordPress admins in your Google Analytics reports.
Important: If you leave this off, you won’t see the analytics script when you’re logged in as an administrator on your site. But you can confirm your script is running by checking for it when you’re logged out or in incognito mode.`
2/ Tracking code position
Load your analytics script in the header (default) or footer of your site.
Google Analytics advises you load the script in the header of your site. But this is simply to prevent any issues if someone aborts loading the page (in rare cases it might not fire). If you have a fast loading site, loading GA in footer is completely fine and won’t impact your page view counts. In fact, we load GA in the footer on all of our sites.
3/ enable Local Analytics (host Google Analytics on your WordPress site)
Hosting Google Analytics locally can help speed up your site by reducing extra DNS lookups and resolving the “leverage browser caching” issue from their script.
Ironically Google’s own script throws a warning about caching, but this is because they have their HTTP caching header expiration set really short. When you host it yourself, your own CDN or server’s HTTP caching headers will automatically be applied. In other words, you have full control over the caching of the script.
Hosting Google Analytics locally and serving the script from your own CDN or server also lets you take advantage of a single HTTP/2 connection.
4/ How to analytics tag & category ?
there is an option to get category data into the data layer but how to configure the GTM tag and sends data to GA4 ?
Regards,
- The topic ‘some questions’ is closed to new replies.