File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
integrations/fullstory/lib Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ .idea /
12bin /
23node_modules /
34coverage /
Original file line number Diff line number Diff line change @@ -21,9 +21,11 @@ var FullStory = (module.exports = integration('FullStory')
2121 . option ( 'trackNamedPages' , false )
2222 . option ( 'trackCategorizedPages' , false )
2323 . option ( 'trackPagesWithEvents' , true )
24+ . option ( 'script' , 'edge.fullstory.com/s/fs.js' )
25+ . option ( 'host' , 'fullstory.com' )
2426 . option ( 'isOuterScript' , false )
2527 . tag (
26- '<script async src="https://edge.fullstory.com/s/fs.js " crossorigin="anonymous"></script>'
28+ '<script async src="https://{{script}} " crossorigin="anonymous"></script>'
2729 ) ) ;
2830
2931/**
@@ -39,8 +41,8 @@ var apiSource = 'segment';
3941FullStory . prototype . initialize = function ( ) {
4042 window . _fs_is_outer_script = this . options . isOuterScript ;
4143 window . _fs_debug = this . options . debug ;
42- window . _fs_host = 'fullstory.com' ;
43- window . _fs_script = 'edge.fullstory.com/s/fs.js' ;
44+ window . _fs_host = this . options . host ;
45+ window . _fs_script = this . options . script ;
4446 window . _fs_org = this . options . org ;
4547 window . _fs_namespace = 'FS' ;
4648
You can’t perform that action at this time.
0 commit comments