Closed Willaiem closed 1 year ago
What's causing vercel error?
Seems it couldn't find the partytown package.
That's weird because I tested the production build and it's building and working flawlessly.
I'll add the partytown package manually and see if this changes anything.
Okay, it seems the partytown plugin import wasn't there, so I had to add it.
Before:
After:
Neat.
Party town might have broken g-tag, needs further investigation
This pull request adds Partytown to delay the fetching of the google analytics script for better performance (hopefully). Since it has the commits from https://github.com/NowYouKnowProgramming/webdev-learning-materials/pull/147, these commits will be ignored.
Fixed the issue with CORS - now the gtag script is loaded directly from the script file.