mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 12:27:17 +00:00
Add google analytics
This commit is contained in:
@@ -15,6 +15,11 @@ import Education from "./components/Education";
|
||||
import Project from "./components/Project";
|
||||
import { setRepo } from "./store/slices/repoSlice";
|
||||
import Blog from "./components/Blog";
|
||||
import { ga } from "./helpers/utils";
|
||||
|
||||
if (config.googleAnalytics.id) {
|
||||
ga.initialize(config.googleAnalytics.id);
|
||||
}
|
||||
|
||||
function App() {
|
||||
const dispatch = useDispatch();
|
||||
|
||||
Reference in New Issue
Block a user