Vercel Web analytics
Unanswered
Cinnamon posted this in #help-forum
CinnamonOP
Hey all, I am trying to get Vercel's Analytics tool to pick up my website.
I am using NPM; I have TailwindCSS, Browsersync and Vercel/Analytics installed.
This is a static site, hosted on GH and deployed on Vercel.
This is my current javascript file:
This is how I have imported it in my HTML file:
I am using NPM; I have TailwindCSS, Browsersync and Vercel/Analytics installed.
This is a static site, hosted on GH and deployed on Vercel.
This is my current javascript file:
const analytics = require('../node_modules/@vercel/analytics');
analytics({
projectId: 'prj_bPtwxAybd8AjsZxkGG4nvPruT28x',
});This is how I have imported it in my HTML file:
<script type="module" src="index.js"></script>