Site Optimization
#16172
Replies: 1 comment 1 reply
-
Take a look at the with-google-analytics example. This shows how to setup up the script imports to be async in _document.js |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Google tag manager and some other tracking tools, because of that site performance is decreased very much.
I am currently loading the tracking scripts in componentDidMount() under pages/index.js, please suggest the optimal way of loading the GTM scripts.
Thanks in advance!!
Beta Was this translation helpful? Give feedback.
All reactions