Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisliu committed Dec 8, 2014
1 parent 98c3ad5 commit aefe165
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Amplitude-Javascript
b.async=true;b.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.0.1-min.js";
var g=a.getElementsByTagName("script")[0];g.parentNode.insertBefore(b,g);
f._q=[];function e(i){f[i]=function(){f._q.push([i].concat(Array.prototype.slice.call(arguments,0)))}}
var c=["init","logEvent","setUserId","setUserProperties","setVersionName","setDomain","setGlobalUserProperties"];
var c=["init","logEvent","setUserId","setUserProperties","setVersionName","setDomain","setDeviceId",
"setGlobalUserProperties"];
for(var d=0;d<c.length;d++){e(c[d])}h.amplitude=f})(window,document);

amplitude.init("YOUR_API_KEY_HERE");
Expand Down

0 comments on commit aefe165

Please sign in to comment.