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