@wiredcraft/oam

Omni Analytics Manager

Usage no npm install needed!

<script type="module">
  import wiredcraftOam from 'https://cdn.skypack.dev/@wiredcraft/oam';
</script>

README

Omni-analytics-manager

How to install

The base library should greater than 2.2.1

  1. # npm init // Skip this step if you already have package.json
  2. $ npm install @wiredcraft/oam --production
  3. In WeChat Developer Tool, Tools -> build npm
  4. In WeChat Developer Tool, Details -> check Use NPM module

How to setup

Copy the following code at the beginning of the file app.js

const oam = require('@wiredcraft/oam')
oam({
  url: 'theAPIUrl'
})

App({
  ...
})