mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Update trackPageView integrations call
Based on feedback from segment.io support. Was unclear from documentation how to provide only name and options object.
This commit is contained in:
parent
ffcfec0a6a
commit
35adea61e0
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module.exports = class Tracker
|
|||
options = integrations: {'All': false}
|
||||
for integration in includeIntegrations
|
||||
options.integrations[integration] = true
|
||||
analytics.page null, "/#{name}", null, options
|
||||
analytics.page "/#{name}", {}, options
|
||||
else
|
||||
analytics.page "/#{name}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue