[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"module-vercel-analytics":3,"versions":315},{"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":86},"vercel-analytics","Privacy-friendly, real-time traffic insights for your Nuxt app","vercel\u002Fanalytics#main\u002Fpackages\u002Fweb","@vercel\u002Fanalytics","vercel.svg","https:\u002F\u002Fgithub.com\u002Fvercel\u002Fanalytics","https:\u002F\u002Fvercel.com\u002Fdocs\u002Fanalytics","https:\u002F\u002Fvercel.com\u002Fdocs\u002Fanalytics\u002Fquickstart?framework=nuxt","Analytics","3rd-party",[15],{"name":16,"github":17},"Vercel","vercel",{"nuxt":19,"requires":20},">=3.0.0",{},"2026-04-28T04:39:43.965Z",[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":81,"forks":82,"defaultBranch":83,"publishedAt":84,"createdAt":85},"2.0.1",11235579,510,37,48,"main",1776462620922,1666636782265,{"data":87,"body":89,"toc":310},{"title":88,"description":88},"",{"type":90,"children":91},"root",[92,102,114,119,123,155,162,173,178,190,196,295,299],{"type":93,"tag":94,"props":95,"children":96},"element","p",{},[97],{"type":93,"tag":98,"props":99,"children":101},"img",{"alt":12,"src":100},"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fanalytics\u002Fblob\u002Fmain\u002F.github\u002Fbanner.png",[],{"type":93,"tag":103,"props":104,"children":106},"div",{"align":105},"center",[107],{"type":93,"tag":108,"props":109,"children":110},"strong",{},[111],{"type":112,"value":113},"text","Vercel Web Analytics",{"type":93,"tag":103,"props":115,"children":116},{"align":105},[117],{"type":112,"value":118},"Privacy-friendly, real-time traffic insights",{"type":93,"tag":120,"props":121,"children":122},"br",{},[],{"type":93,"tag":103,"props":124,"children":125},{"align":105},[126,133,139,145,149],{"type":93,"tag":127,"props":128,"children":130},"a",{"href":129},"https:\u002F\u002Fvercel.com\u002Fanalytics",[131],{"type":112,"value":132},"Website",{"type":93,"tag":134,"props":135,"children":136},"span",{},[137],{"type":112,"value":138}," · ",{"type":93,"tag":127,"props":140,"children":142},{"href":141},"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fconcepts\u002Fanalytics\u002Fpackage",[143],{"type":112,"value":144},"Documentation",{"type":93,"tag":134,"props":146,"children":147},{},[148],{"type":112,"value":138},{"type":93,"tag":127,"props":150,"children":152},{"href":151},"https:\u002F\u002Ftwitter.com\u002Fvercel",[153],{"type":112,"value":154},"Twitter",{"type":93,"tag":156,"props":157,"children":159},"h2",{"id":158},"overview",[160],{"type":112,"value":161},"Overview",{"type":93,"tag":94,"props":163,"children":164},{},[165,171],{"type":93,"tag":166,"props":167,"children":169},"code",{"className":168},[],[170],{"type":112,"value":7},{"type":112,"value":172}," allows you to track page views and custom events in your Next.js app or any other website that is deployed to Vercel.",{"type":93,"tag":94,"props":174,"children":175},{},[176],{"type":112,"value":177},"All page views are automatically tracked in your app.",{"type":93,"tag":94,"props":179,"children":180},{},[181,183,188],{"type":112,"value":182},"This package does ",{"type":93,"tag":108,"props":184,"children":185},{},[186],{"type":112,"value":187},"not",{"type":112,"value":189}," track data in development mode.",{"type":93,"tag":156,"props":191,"children":193},{"id":192},"quickstart",[194],{"type":112,"value":195},"Quickstart",{"type":93,"tag":197,"props":198,"children":199},"ol",{},[200,216,228,290],{"type":93,"tag":201,"props":202,"children":203},"li",{},[204,206,214],{"type":112,"value":205},"Enable Vercel Web Analytics for a project in the ",{"type":93,"tag":127,"props":207,"children":211},{"href":208,"rel":209},"https:\u002F\u002Fvercel.com\u002Fdashboard",[210],"nofollow",[212],{"type":112,"value":213},"Vercel Dashboard",{"type":112,"value":215},".",{"type":93,"tag":201,"props":217,"children":218},{},[219,221,226],{"type":112,"value":220},"Add the ",{"type":93,"tag":166,"props":222,"children":224},{"className":223},[],[225],{"type":112,"value":7},{"type":112,"value":227}," package to your project",{"type":93,"tag":201,"props":229,"children":230},{},[231,233],{"type":112,"value":232},"Inject the Analytics script to your app",{"type":93,"tag":234,"props":235,"children":236},"ul",{},[237,264,277],{"type":93,"tag":201,"props":238,"children":239},{},[240,242,247,249,254,256,262],{"type":112,"value":241},"If you are using ",{"type":93,"tag":108,"props":243,"children":244},{},[245],{"type":112,"value":246},"Next.js",{"type":112,"value":248}," or ",{"type":93,"tag":108,"props":250,"children":251},{},[252],{"type":112,"value":253},"React",{"type":112,"value":255},", you can use the ",{"type":93,"tag":166,"props":257,"children":259},{"className":258},[],[260],{"type":112,"value":261},"\u003CAnalytics \u002F>",{"type":112,"value":263}," component to inject the script into your app.",{"type":93,"tag":201,"props":265,"children":266},{},[267,269,275],{"type":112,"value":268},"To add the tracking script for other frameworks, use the ",{"type":93,"tag":166,"props":270,"children":272},{"className":271},[],[273],{"type":112,"value":274},"inject",{"type":112,"value":276}," function.",{"type":93,"tag":201,"props":278,"children":279},{},[280,282,289],{"type":112,"value":281},"If you want to use Vercel Web Analytics on a static site without npm, follow the instructions in the ",{"type":93,"tag":127,"props":283,"children":286},{"href":284,"rel":285},"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fanalytics\u002Fquickstart",[210],[287],{"type":112,"value":288},"documentation",{"type":112,"value":215},{"type":93,"tag":201,"props":291,"children":292},{},[293],{"type":112,"value":294},"Deploy your app to Vercel and see data flowing in.",{"type":93,"tag":156,"props":296,"children":297},{"id":288},[298],{"type":112,"value":144},{"type":93,"tag":94,"props":300,"children":301},{},[302,304,309],{"type":112,"value":303},"Find more details about this package in our ",{"type":93,"tag":127,"props":305,"children":307},{"href":284,"rel":306},[210],[308],{"type":112,"value":288},{"type":112,"value":215},{"title":88,"searchDepth":45,"depth":45,"links":311},[312,313,314],{"id":158,"depth":45,"text":161},{"id":192,"depth":45,"text":195},{"id":288,"depth":45,"text":144},{"v5":316,"v4":317,"v3":318,"v2":319},"5 (nightly)","4.4.2","3.21.2","2.18.1"]