Skip to content

Commit aefe165

Browse files
committed
Update README.md
1 parent 98c3ad5 commit aefe165

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Amplitude-Javascript
1010
b.async=true;b.src="https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.0.1-min.js";
1111
var g=a.getElementsByTagName("script")[0];g.parentNode.insertBefore(b,g);
1212
f._q=[];function e(i){f[i]=function(){f._q.push([i].concat(Array.prototype.slice.call(arguments,0)))}}
13-
var c=["init","logEvent","setUserId","setUserProperties","setVersionName","setDomain","setGlobalUserProperties"];
13+
var c=["init","logEvent","setUserId","setUserProperties","setVersionName","setDomain","setDeviceId",
14+
"setGlobalUserProperties"];
1415
for(var d=0;d<c.length;d++){e(c[d])}h.amplitude=f})(window,document);
1516

1617
amplitude.init("YOUR_API_KEY_HERE");

0 commit comments

Comments
 (0)