Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea/
bin/
node_modules/
coverage/
Expand Down
8 changes: 5 additions & 3 deletions integrations/fullstory/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ var FullStory = (module.exports = integration('FullStory')
.option('trackNamedPages', false)
.option('trackCategorizedPages', false)
.option('trackPagesWithEvents', true)
.option('script', 'edge.fullstory.com/s/fs.js')
.option('host', 'fullstory.com')
.option('isOuterScript', false)
.tag(
'<script async src="https://edge.fullstory.com/s/fs.js" crossorigin="anonymous"></script>'
'<script async src="https://{{script}}" crossorigin="anonymous"></script>'
));

/**
Expand All @@ -39,8 +41,8 @@ var apiSource = 'segment';
FullStory.prototype.initialize = function() {
window._fs_is_outer_script = this.options.isOuterScript;
window._fs_debug = this.options.debug;
window._fs_host = 'fullstory.com';
window._fs_script = 'edge.fullstory.com/s/fs.js';
window._fs_host = this.options.host;
window._fs_script = this.options.script;
window._fs_org = this.options.org;
window._fs_namespace = 'FS';

Expand Down