mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Fix trackPageView options initialization
This commit is contained in:
parent
44282cb946
commit
2ecda7dbbf
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module.exports = class Tracker
|
|||
console.log "Would track analytics pageview: /#{name}" if debugAnalytics
|
||||
return unless @isProduction and analytics? and not me.isAdmin()
|
||||
if includeIntegrations
|
||||
options.integrations = {'All': false}
|
||||
options = integrations: {'All': false}
|
||||
for integration in includeIntegrations
|
||||
options.integrations[integration] = true
|
||||
analytics.page null, "/#{name}", null, options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue