Initialize page document

This commit is contained in:
Paulo Gustavo Veiga 2022-03-09 21:36:27 -08:00
parent b9fe714961
commit 3db587aa4b

View File

@ -23,6 +23,7 @@ const EditorPage = ({ isTryMode }: EditorPropsType): React.ReactElement => {
const client: Client = useSelector(activeInstance);
useEffect(() => {
document.title = `${global.mapTitle ? global.mapTitle : 'unknown'} | WiseMapping `;
ReactGA.pageview(window.location.pathname + window.location.search);
}, []);