Next.js Discord

Discord Forum

@vercel/analytics: Changing the /_vercel/insights/script.js path due to adblockers

Answered
Mozzy posted this in #help-forum
Open in Discord
Avatar
Heyo! Is there any way good way of changing the location of this script to hopefully avoid detection from adblockers?
Answered by Mozzy
It seems like this is working
<Analytics scriptSrc="/assets/va/script.js" />
<SpeedInsights scriptSrc="/assets/si/script.js" />
Image
View full answer

1 Reply

Avatar
It seems like this is working
<Analytics scriptSrc="/assets/va/script.js" />
<SpeedInsights scriptSrc="/assets/si/script.js" />
Image
Answer