Skip to content
Permalink
Browse files

πŸ“‹ Documentation update

  • Loading branch information...
dr-dimitru committed Oct 3, 2019
1 parent a7e6887 commit 42afa91a2f77374199a45f167d9ccd0d4a5996b7
Showing with 3 additions and 3 deletions.
  1. +3 βˆ’3 README.md
@@ -231,7 +231,7 @@ Examples:

```js
const Analytics = require('ostrio-analytics');
const analyticsTracker = new Analytics('trackingId', false);
const analyticsTracker = new Analytics('trackingId');
analyticsTracker.onPushEvent((key, value) => {
console.log({ key, value });
@@ -250,7 +250,7 @@ Examples:

```js
const Analytics = require('ostrio-analytics');
const analyticsTracker = new Analytics('trackingId', false);
const analyticsTracker = new Analytics('trackingId');
analyticsTracker.onTrack(() => {
console.log('Tacking a session');
@@ -315,7 +315,7 @@ In your `<head>` add Google Analytics as instructed:

```js
const Analytics = require('ostrio-analytics');
const analyticsTracker = new Analytics('google-tracking-id', false);
const analyticsTracker = new Analytics('google-tracking-id');
analyticsTracker.onTrack(() => {
// Track navigation with Google Analytics

0 comments on commit 42afa91

Please sign in to comment.
You can’t perform that action at this time.