mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 22:30:23 +00:00
feat: added google optimize
This commit is contained in:
parent
6d753774b2
commit
22b9cff163
@ -99,7 +99,7 @@ class MyDocument extends Document {
|
|||||||
function gtag(){window.dataLayer.push(arguments);}
|
function gtag(){window.dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
|
|
||||||
gtag('config', 'UA-165454387-1');
|
gtag('config', 'UA-165454387-1', { 'optimize_id': 'OPT-NXSXXB5' });
|
||||||
|
|
||||||
if(/MSIE \\d|Trident.*rv:/.test(navigator.userAgent)) {
|
if(/MSIE \\d|Trident.*rv:/.test(navigator.userAgent)) {
|
||||||
window.location = 'microsoft-edge:' + window.location;
|
window.location = 'microsoft-edge:' + window.location;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user