fix(core): update
This commit is contained in:
parent
7375675d7d
commit
16ef41ae20
@ -28,6 +28,7 @@ export const setupFullStory = async (fsCodeArg: string) => {
|
|||||||
o = n.createElement(t);
|
o = n.createElement(t);
|
||||||
o.async = 1;
|
o.async = 1;
|
||||||
o.src = 'https://' + window._fs_host + '/s/fs.js';
|
o.src = 'https://' + window._fs_host + '/s/fs.js';
|
||||||
|
o.crossorigin = 'anonymous';
|
||||||
y = n.getElementsByTagName(t)[0];
|
y = n.getElementsByTagName(t)[0];
|
||||||
y.parentNode.insertBefore(o, y);
|
y.parentNode.insertBefore(o, y);
|
||||||
// tslint:disable-next-line: only-arrow-functions
|
// tslint:disable-next-line: only-arrow-functions
|
||||||
|
@ -22,6 +22,7 @@ export const setupGoogleAnalytics = async (gaCode: string) => {
|
|||||||
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
|
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
|
||||||
a.async = 1;
|
a.async = 1;
|
||||||
a.src = g;
|
a.src = g;
|
||||||
|
a.crossorigin = 'anonymous';
|
||||||
m.parentNode.insertBefore(a, m);
|
m.parentNode.insertBefore(a, m);
|
||||||
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'analytics');
|
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'analytics');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user