Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritix authored Jul 23, 2018
1 parent 0e6af2a commit a513d83
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ Returns a new instance.

Returns an object containing the parsed information.

```
{
userId: 'User ID',
initialVisit: 'Initial visit timestamp',
source: 'Source',
campaign: 'Campaign,
medium: 'Medium',
keywords: 'Keywords',
content: 'Content'
}
```

* `setCookie(name = '_ga-legacy-tracking')`

Sets a cookie containing a JSON string with parsed information.
Expand Down

0 comments on commit a513d83

Please sign in to comment.