Skip to content

Commit 68cc641

Browse files
committed
chore: use label on events
1 parent 2d239cf commit 68cc641

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controllers/track.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const trackEvent = async (req, res, next) => {
8080
userId: user ? user._id.toString() : ''
8181
})
8282

83-
return visitor.event({ ec: action, ea: 'request', dp: url }, (err) => {
83+
return visitor.event({ ec: action, ea: 'request', el: url }, (err) => {
8484
if (err) throw Error(err)
8585
}).send()
8686
} catch (e) {

0 commit comments

Comments
 (0)