mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-30 16:03:37 -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
|
console.log "Would track analytics pageview: /#{name}" if debugAnalytics
|
||||||
return unless @isProduction and analytics? and not me.isAdmin()
|
return unless @isProduction and analytics? and not me.isAdmin()
|
||||||
if includeIntegrations
|
if includeIntegrations
|
||||||
options.integrations = {'All': false}
|
options = integrations: {'All': false}
|
||||||
for integration in includeIntegrations
|
for integration in includeIntegrations
|
||||||
options.integrations[integration] = true
|
options.integrations[integration] = true
|
||||||
analytics.page null, "/#{name}", null, options
|
analytics.page null, "/#{name}", null, options
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue