Add Google Analytics
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React from 'react';
|
||||
import React, { useEffect } from "react";
|
||||
import Home from './Home';
|
||||
import StyledFirebaseAuth from 'react-firebaseui/StyledFirebaseAuth';
|
||||
import "./css/Login.css";
|
||||
@@ -25,6 +25,10 @@ export default function Login(props) {
|
||||
|
||||
document.title = "Login | Parandum";
|
||||
|
||||
useEffect(() => {
|
||||
props.logEvent("page_view");
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
<Home />
|
||||
|
||||
Reference in New Issue
Block a user