Skip to content

Commit

Permalink
added GA
Browse files Browse the repository at this point in the history
  • Loading branch information
sayshark75 committed Feb 19, 2024
1 parent cba384d commit 42c5ed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Contact from "./pages/Contact/Contact.tsx";
import Footer from "./components/Footer/Footer.tsx";
import ReactGA from "react-ga4";

ReactGA.initialize(import.meta.env.VITE_GA_TAG);
ReactGA.initialize("G-PLC3VZSS76");

function App() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/About/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const About = () => {

ReactGA.event({
category: "pagevisit",
action: `Viewed About me Page`,
action: `Viewed About Page`,
});

return (
Expand Down

0 comments on commit 42c5ed5

Please sign in to comment.