Skip to content

Commit e8ae5a8

Browse files
committed
Updated snippet with setDomain method
1 parent 44f71c8 commit e8ae5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/amplitude-snippet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
amplitude._q.push([fn].concat(Array.prototype.slice.call(arguments, 0)));
1919
};
2020
}
21-
var funcs = ["init", "logEvent", "setUserId", "setGlobalUserProperties", "setVersionName"];
21+
var funcs = ["init", "logEvent", "setUserId", "setGlobalUserProperties", "setVersionName", "setDomain"];
2222
for (var i = 0; i < funcs.length; i++) {
2323
proxy(funcs[i]);
2424
};

0 commit comments

Comments
 (0)