Skip to content

Commit

Permalink
Merge branch 'hf-GA4-custom-dimentions' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramin Farhadi authored and Ramin Farhadi committed Jul 24, 2024
2 parents 1631cf3 + ae59c5c commit 82a1466
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ const FOOTER_SOCIAL_ID = import.meta.env.VITE_REMOTE_SOCIAL_LINKS_ID;
const REACT_MEASUREMENT_ID = import.meta.env.VITE_REACTGA_MEASUREMENT_ID || '';

function App() {

if(REACT_MEASUREMENT_ID) {
ReactGA.initialize(REACT_MEASUREMENT_ID)
// Send pageview with a custom path
ReactGA.send({ hitType: "pageview", page: "/map/", title: "UCF Campus Map" });
}
const initialLng = -81.200142;
const intitalLat = 28.602368;
const initialZoom = 15;
Expand Down

0 comments on commit 82a1466

Please sign in to comment.