Skip to content

Commit be759cf

Browse files
authored
support Totango EU services (replace PR#650 per Pooyaj comment) (#652)
This change needed to be supported with a new selection option, region, with the values "us" or "eu1"
1 parent 8d5d682 commit be759cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

integrations/totango/lib/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ var Totango = (module.exports = integration('Totango')
2323
.option('serviceId', null)
2424
.option('trackNamedPages', true)
2525
.option('trackCategorizedPages', true)
26+
.option('region', 'us')
2627
.tag('<script src="//tracker.totango.com/totango4.0.3.js">'));
2728

2829
/**
@@ -47,6 +48,7 @@ Totango.prototype.initialize = function(page) {
4748
window.totango_options = {
4849
allow_empty_accounts: false,
4950
service_id: this.options.serviceId,
51+
region: this.options.region,
5052
disable_heartbeat: this.options.disableHeartbeat,
5153
module: page.category()
5254
};

0 commit comments

Comments
 (0)