Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Commit 383cc6e

Browse files
committed
Use setUserId() in piwik initializer
1 parent f303713 commit 383cc6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ var PiwikTracker = function(opts) {
170170
push(['setTrackerUrl', u+opts.serverTrackerName]);
171171

172172
if (opts.userId) {
173-
push(['setUserId', opts.userId]);
173+
setUserId(opts.userId);
174174
}
175175

176176
if (opts.enableLinkTracking) {

0 commit comments

Comments
 (0)