Newlywed Party Monsters

    nuxt-cloudflare-analytics

    0.1.5 • Public • Published

    nuxt-cloudflare-analytics

    Add Cloudflare Web Analytics to your Nuxt Project

    Nuxt Cloudflare Web Analytics Modules

    npm version npm downloads

    Note: this modules is not enabled in dev mode. You can set environment variable NODE_ENV to production for testing in dev mode.

    Setup

    • Add nuxt-cloudflare-analytics dependency using yarn or npm to your project npm i nuxt-cloudflare-analytics or yarn install nuxt-cloudflare-analytics
    • Add nuxt-cloudflare-analytics to modules section of nuxt.config.js
    modules: [
        ['nuxt-cloudflare-analytics', { 
          token: 'your-token', // Example 1a2b3v4a5er6ac7r8afd
      }],
    ]

    You can find token on Web Aalytics Page at Cloudflare Dashboard.

    Options

    token

    • Required
    • Cloudflare analytics token

    License

    MIT © Hamjs

    Install

    npm i nuxt-cloudflare-analytics

    DownloadsWeekly Downloads

    12

    Version

    0.1.5

    License

    MIT

    Unpacked Size

    4.44 kB

    Total Files

    5

    Last publish

    Collaborators

    • hamknw