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 /
1
2
bin /
2
3
node_modules /
3
4
coverage /
Original file line number Diff line number Diff line change @@ -21,9 +21,11 @@ var FullStory = (module.exports = integration('FullStory')
21
21
. option ( 'trackNamedPages' , false )
22
22
. option ( 'trackCategorizedPages' , false )
23
23
. option ( 'trackPagesWithEvents' , true )
24
+ . option ( 'script' , 'edge.fullstory.com/s/fs.js' )
25
+ . option ( 'host' , 'fullstory.com' )
24
26
. option ( 'isOuterScript' , false )
25
27
. tag (
26
- '<script async src="https://edge.fullstory.com/s/fs.js " crossorigin="anonymous"></script>'
28
+ '<script async src="https://{{script}} " crossorigin="anonymous"></script>'
27
29
) ) ;
28
30
29
31
/**
@@ -39,8 +41,8 @@ var apiSource = 'segment';
39
41
FullStory . prototype . initialize = function ( ) {
40
42
window . _fs_is_outer_script = this . options . isOuterScript ;
41
43
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 ;
44
46
window . _fs_org = this . options . org ;
45
47
window . _fs_namespace = 'FS' ;
46
48
You can’t perform that action at this time.
0 commit comments