[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"module-vercel-analytics":3,"versions":314},{"name":4,"description":5,"repo":6,"npm":7,"icon":8,"github":9,"website":10,"learn_more":11,"category":12,"type":13,"maintainers":14,"compatibility":18,"generatedAt":21,"contributors":22,"stats":77,"readme":85},"vercel-analytics","Privacy-friendly, real-time traffic insights for your Nuxt app","vercel/analytics#main/packages/web","@vercel/analytics","vercel.svg","https://github.com/vercel/analytics","https://vercel.com/docs/analytics","https://vercel.com/docs/analytics/quickstart?framework=nuxt","Analytics","3rd-party",[15],{"name":16,"github":17},"Vercel","vercel",{"nuxt":19,"requires":20},">=3.0.0",{},"2026-05-17T09:41:45.021Z",[23,27,31,35,38,42,46,49,53,56,59,62,65,68,71,74],{"id":24,"username":25,"contributions":26},2978876,"tobiaslins",22,{"id":28,"username":29,"contributions":30},186268,"feugy",18,{"id":32,"username":33,"contributions":34},1440854,"timolins",10,{"id":36,"username":37,"contributions":34},8166969,"dglsparsons",{"id":39,"username":40,"contributions":41},7249920,"chriswdmr",7,{"id":43,"username":44,"contributions":45},16088670,"AndyBitz",2,{"id":47,"username":48,"contributions":45},904724,"atinux",{"id":50,"username":51,"contributions":52},651787,"emspishak",1,{"id":54,"username":55,"contributions":52},16144158,"Ethan-Arrowood",{"id":57,"username":58,"contributions":52},10332782,"CHC383",{"id":60,"username":61,"contributions":52},71938701,"HugoRCD",{"id":63,"username":64,"contributions":52},52795576,"MacielG1",{"id":66,"username":67,"contributions":52},8675906,"MaxLeiter",{"id":69,"username":70,"contributions":52},71256,"TooTallNate",{"id":72,"username":73,"contributions":52},26281609,"paoloricciuti",{"id":75,"username":76,"contributions":52},1368727,"acao",{"version":78,"downloads":79,"stars":80,"watchers":80,"forks":81,"defaultBranch":82,"publishedAt":83,"createdAt":84},"2.0.1",13100010,508,48,"main",1776462620922,1666636782265,{"data":86,"body":88,"toc":309},{"title":87,"description":87},"",{"type":89,"children":90},"root",[91,101,113,118,122,154,161,172,177,189,195,294,298],{"type":92,"tag":93,"props":94,"children":95},"element","p",{},[96],{"type":92,"tag":97,"props":98,"children":100},"img",{"alt":12,"src":99},"https://github.com/vercel/analytics/blob/main/.github/banner.png",[],{"type":92,"tag":102,"props":103,"children":105},"div",{"align":104},"center",[106],{"type":92,"tag":107,"props":108,"children":109},"strong",{},[110],{"type":111,"value":112},"text","Vercel Web Analytics",{"type":92,"tag":102,"props":114,"children":115},{"align":104},[116],{"type":111,"value":117},"Privacy-friendly, real-time traffic insights",{"type":92,"tag":119,"props":120,"children":121},"br",{},[],{"type":92,"tag":102,"props":123,"children":124},{"align":104},[125,132,138,144,148],{"type":92,"tag":126,"props":127,"children":129},"a",{"href":128},"https://vercel.com/analytics",[130],{"type":111,"value":131},"Website",{"type":92,"tag":133,"props":134,"children":135},"span",{},[136],{"type":111,"value":137}," · ",{"type":92,"tag":126,"props":139,"children":141},{"href":140},"https://vercel.com/docs/concepts/analytics/package",[142],{"type":111,"value":143},"Documentation",{"type":92,"tag":133,"props":145,"children":146},{},[147],{"type":111,"value":137},{"type":92,"tag":126,"props":149,"children":151},{"href":150},"https://twitter.com/vercel",[152],{"type":111,"value":153},"Twitter",{"type":92,"tag":155,"props":156,"children":158},"h2",{"id":157},"overview",[159],{"type":111,"value":160},"Overview",{"type":92,"tag":93,"props":162,"children":163},{},[164,170],{"type":92,"tag":165,"props":166,"children":168},"code",{"className":167},[],[169],{"type":111,"value":7},{"type":111,"value":171}," allows you to track page views and custom events in your Next.js app or any other website that is deployed to Vercel.",{"type":92,"tag":93,"props":173,"children":174},{},[175],{"type":111,"value":176},"All page views are automatically tracked in your app.",{"type":92,"tag":93,"props":178,"children":179},{},[180,182,187],{"type":111,"value":181},"This package does ",{"type":92,"tag":107,"props":183,"children":184},{},[185],{"type":111,"value":186},"not",{"type":111,"value":188}," track data in development mode.",{"type":92,"tag":155,"props":190,"children":192},{"id":191},"quickstart",[193],{"type":111,"value":194},"Quickstart",{"type":92,"tag":196,"props":197,"children":198},"ol",{},[199,215,227,289],{"type":92,"tag":200,"props":201,"children":202},"li",{},[203,205,213],{"type":111,"value":204},"Enable Vercel Web Analytics for a project in the ",{"type":92,"tag":126,"props":206,"children":210},{"href":207,"rel":208},"https://vercel.com/dashboard",[209],"nofollow",[211],{"type":111,"value":212},"Vercel Dashboard",{"type":111,"value":214},".",{"type":92,"tag":200,"props":216,"children":217},{},[218,220,225],{"type":111,"value":219},"Add the ",{"type":92,"tag":165,"props":221,"children":223},{"className":222},[],[224],{"type":111,"value":7},{"type":111,"value":226}," package to your project",{"type":92,"tag":200,"props":228,"children":229},{},[230,232],{"type":111,"value":231},"Inject the Analytics script to your app",{"type":92,"tag":233,"props":234,"children":235},"ul",{},[236,263,276],{"type":92,"tag":200,"props":237,"children":238},{},[239,241,246,248,253,255,261],{"type":111,"value":240},"If you are using ",{"type":92,"tag":107,"props":242,"children":243},{},[244],{"type":111,"value":245},"Next.js",{"type":111,"value":247}," or ",{"type":92,"tag":107,"props":249,"children":250},{},[251],{"type":111,"value":252},"React",{"type":111,"value":254},", you can use the ",{"type":92,"tag":165,"props":256,"children":258},{"className":257},[],[259],{"type":111,"value":260},"\u003CAnalytics />",{"type":111,"value":262}," component to inject the script into your app.",{"type":92,"tag":200,"props":264,"children":265},{},[266,268,274],{"type":111,"value":267},"To add the tracking script for other frameworks, use the ",{"type":92,"tag":165,"props":269,"children":271},{"className":270},[],[272],{"type":111,"value":273},"inject",{"type":111,"value":275}," function.",{"type":92,"tag":200,"props":277,"children":278},{},[279,281,288],{"type":111,"value":280},"If you want to use Vercel Web Analytics on a static site without npm, follow the instructions in the ",{"type":92,"tag":126,"props":282,"children":285},{"href":283,"rel":284},"https://vercel.com/docs/analytics/quickstart",[209],[286],{"type":111,"value":287},"documentation",{"type":111,"value":214},{"type":92,"tag":200,"props":290,"children":291},{},[292],{"type":111,"value":293},"Deploy your app to Vercel and see data flowing in.",{"type":92,"tag":155,"props":295,"children":296},{"id":287},[297],{"type":111,"value":143},{"type":92,"tag":93,"props":299,"children":300},{},[301,303,308],{"type":111,"value":302},"Find more details about this package in our ",{"type":92,"tag":126,"props":304,"children":306},{"href":283,"rel":305},[209],[307],{"type":111,"value":287},{"type":111,"value":214},{"title":87,"searchDepth":45,"depth":45,"links":310},[311,312,313],{"id":157,"depth":45,"text":160},{"id":191,"depth":45,"text":194},{"id":287,"depth":45,"text":143},{"v5":315,"v4":316,"v3":317,"v2":318},"5 (nightly)","4.4.5","3.21.5","2.18.1"]