mirror of
https://github.com/chaoticbackup/chaoticbackup.github.io.git
synced 2026-03-21 17:24:14 -05:00
add google tag manager
This commit is contained in:
parent
b491fdec56
commit
a85f76eecd
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
11
package-lock.json
generated
11
package-lock.json
generated
|
|
@ -21,6 +21,7 @@
|
|||
"react-collapsible": "^2.8.4",
|
||||
"react-digit-input": "^2.1.0",
|
||||
"react-dom": "^16.14.0",
|
||||
"react-gtm-module": "^2.0.11",
|
||||
"react-interactive": "^1.1.2",
|
||||
"react-loadable": "^5.5.0",
|
||||
"react-onclickoutside": "^6.12.1",
|
||||
|
|
@ -10330,6 +10331,11 @@
|
|||
"react": "^16.14.0"
|
||||
}
|
||||
},
|
||||
"node_modules/react-gtm-module": {
|
||||
"version": "2.0.11",
|
||||
"resolved": "https://registry.npmjs.org/react-gtm-module/-/react-gtm-module-2.0.11.tgz",
|
||||
"integrity": "sha512-8gyj4TTxeP7eEyc2QKawEuQoAZdjKvMY4pgWfycGmqGByhs17fR+zEBs0JUDq4US/l+vbTl+6zvUIx27iDo/Vw=="
|
||||
},
|
||||
"node_modules/react-interactive": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/react-interactive/-/react-interactive-1.1.2.tgz",
|
||||
|
|
@ -20249,6 +20255,11 @@
|
|||
"scheduler": "^0.19.1"
|
||||
}
|
||||
},
|
||||
"react-gtm-module": {
|
||||
"version": "2.0.11",
|
||||
"resolved": "https://registry.npmjs.org/react-gtm-module/-/react-gtm-module-2.0.11.tgz",
|
||||
"integrity": "sha512-8gyj4TTxeP7eEyc2QKawEuQoAZdjKvMY4pgWfycGmqGByhs17fR+zEBs0JUDq4US/l+vbTl+6zvUIx27iDo/Vw=="
|
||||
},
|
||||
"react-interactive": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/react-interactive/-/react-interactive-1.1.2.tgz",
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
"react-collapsible": "^2.8.4",
|
||||
"react-digit-input": "^2.1.0",
|
||||
"react-dom": "^16.14.0",
|
||||
"react-gtm-module": "^2.0.11",
|
||||
"react-interactive": "^1.1.2",
|
||||
"react-loadable": "^5.5.0",
|
||||
"react-onclickoutside": "^6.12.1",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,14 @@
|
|||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import TagManager from 'react-gtm-module';
|
||||
import { BrowserRouter } from 'react-router-dom';
|
||||
|
||||
import App from './components/app';
|
||||
|
||||
TagManager.initialize({
|
||||
gtmId: "GTM-WG8XPZB"
|
||||
});
|
||||
|
||||
const rootElement = document.getElementById('root');
|
||||
|
||||
ReactDOM.render(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user