Did you npm install gtag as well
I did not. I just included the script from Google’s CDN