nuxt3-delacon

1.0.1 • Public • Published

Nuxt 3 Delacon

A nuxt module for integrating Delacon call tracking into your Nuxt 3 application.

npm

Getting Started

Installation

First step is to install it using npm or yarn:

npm install nuxt3-delacon
# or
yarn add nuxt3-delacon

Usage

In your Nuxt 3 project, create a nuxt.config.ts file if you don't already have one, and add the module to the modules array:

// nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    ['nuxt3-delacon', {
      mid: 'your-mid', // Your Delacon MID
      cid: ['your-cid'] // Your Delacon CID
    }]
  ]
})

Replace 'your-mid' and 'your-cid' with your actual Delacon MID and CID values.

Options

mid (required)

Your Delacon MID.

  • Type: Integer

cid (required)

Your Delacon CID. If an array is provided, it will be joined with "-" delimiter before passing to Delacon.

  • Type: string|int[]

License

MIT License

Copyright (c) Gian Carlo Saquilayan

Package Sidebar

Install

npm i nuxt3-delacon

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

4.67 kB

Total Files

5

Last publish

Collaborators

  • dev.giancarlo