Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Junyuan Qi authored and Brooooooklyn committed Dec 31, 2015
1 parent 961a27a commit 77b296a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ If `data-label` `data-action` `data-category` `data-value` is not provided then
* [Mixpanel](https://mixpanel.com/help/reference/javascript)
* [Piwik](http://developer.piwik.org/api-reference)
* [Customer.io](https://customer.io/docs/api/javascript.html)
* [Fullstory](http://help.fullstory.com/using-ref/getting-started)
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function(root, factory) {
;(function(root, factory) {
'use strict';
var gta;
gta = factory();
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"google",
"baidu",
"mixpanel",
"analysis"
"analysis",
"customer.io",
"fullstory"
],
"author": "teambition",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,13 @@
checkScript(script)

_fullstory.identify = (id, user) ->
_fullstory('user', {uid:id})
_fullstory('user', {uid: id})
if user then _fullstory('user', user)

_fullstory.setUserVars = (user) ->
_fullstory('user', user)

_fullstory.identifyAccount = (id, user={}) ->
_fullstory.identifyAccount = (id, user = {}) ->
user.acctId = id
_fullstory('account', user)

Expand Down

0 comments on commit 77b296a

Please sign in to comment.