fix(core): update
This commit is contained in:
parent
d24593b07c
commit
50b33a5f88
@ -1,6 +1,7 @@
|
||||
import * as plugins from './websetup.plugins';
|
||||
|
||||
import { setupGoogleAnalytics } from './tools/ganalytics';
|
||||
import { setupFullStory } from './tools/fullstory';
|
||||
|
||||
export interface IWebSetupConstructorOptions {
|
||||
googleAnalyticsCode?: string;
|
||||
@ -16,8 +17,8 @@ export class WebSetup {
|
||||
setupGoogleAnalytics(optionsArg.googleAnalyticsCode);
|
||||
}
|
||||
|
||||
if () {
|
||||
|
||||
if (optionsArg.fsCode) {
|
||||
setupFullStory(optionsArg.fsCode)
|
||||
}
|
||||
}
|
||||
}
|
@ -4,13 +4,13 @@ declare global {
|
||||
_fs_host: any;
|
||||
}
|
||||
}
|
||||
export const setupFullStory = async () => {
|
||||
export const setupFullStory = async (fsCodeArg: string) => {
|
||||
// tslint:disable-next-line: no-string-literal
|
||||
window['_fs_debug'] = false;
|
||||
// tslint:disable-next-line: no-string-literal
|
||||
window['_fs_host'] = 'fullstory.com';
|
||||
// tslint:disable-next-line: no-string-literal
|
||||
window['_fs_org'] = 'G6FC5';
|
||||
window['_fs_org'] = fsCodeArg;
|
||||
// tslint:disable-next-line: no-string-literal
|
||||
window['_fs_namespace'] = 'FS';
|
||||
(function(m, n, e, t, l, o, g, y) {
|
||||
|
Loading…
Reference in New Issue
Block a user