0.0.7 • Published 1 month ago

gumanalytics v0.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
1 month ago

Gum Analytics

Gum Analytics is a Google Analytics alternative. It help you to learn about your visitors while protecting their privacy.

1. Installation

NPM

$ npm install gumanalytics
// Import as ES6
import gumanalytics from "gumanalytics";

// Import as commonjs
const gumanalytics from "gumanalytics";

// Insert this line as soon as posible to initate gumanalytics library
gumanalytics.config({  projectId: "your project id" })

Browser

<!-- Replace $projectID with your GumAnalytics Project ID -->
<script async data-id="$projectID" src="https://cdn.gumanalytics.com/gum.min.js"></script>

<!-- 
    After loaded the script, you can use `window.gumanalytics`
-->

2. How to use

After initate the gumanalytics library, it will automatically send request to our listener servers.

Track events

gumanalytics.addEvent("eventName")
0.0.7

1 month ago

0.0.6

1 month ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago