Analytics added / NewRestaurant.js added

This commit is contained in:
2020-08-10 20:14:43 +02:00
parent 769be397e5
commit 48bb74e5f8
26 changed files with 118 additions and 48 deletions

View File

@@ -1,4 +1,5 @@
import React from "react";
import ReactGA from "react-ga";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
import "./index.scss";
@@ -8,6 +9,8 @@ import rootReducer from "./reducers";
import thunk from "redux-thunk";
import { createStore, applyMiddleware, compose } from "redux";
ReactGA.initialize("G-SHB9LXPWWM");
ReactGA.pageview("/");
const store = createStore(
rootReducer,
compose(