you could also try wrapping window.gtag in the pageview function with a conditional
if (typeof window !== 'undefined')
to prevent a window event from being instantiated when the window is undefined.
you could also try wrapping window.gtag in the pageview function with a conditional
if (typeof window !== 'undefined')
to prevent a window event from being instantiated when the window is undefined.
Full-Stack Engineer
Love podcasts or audiobooks? Learn on the go with our new app.