diff --git a/src/App.js b/src/App.js index b4daabb..2005845 100644 --- a/src/App.js +++ b/src/App.js @@ -15,8 +15,15 @@ import AppFooter from "./components/Footer"; import "./App.css"; import { ServerProvider } from "./context/ServerContext"; +import React from 'react'; function App() { + React.useEffect(() => { + var _mtm = window._mtm = window._mtm || []; + _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; + g.async=true; g.src='https://analytics.jst-tan.com/js/container_P4oAHkGy.js'; s.parentNode.insertBefore(g,s); + }, []) return ( @@ -40,4 +47,5 @@ function App() { ); } + export default App;