Skip to content

Commit

Permalink
Merge branch 'react-ga4' 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 5cf5587 + 803236e commit 6efcc19
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,6 @@ function App() {

if (response.length > 0) {
const location = response.pop();

ReactGA.set({
link_text: `${location!.title.rendered}`,
link_url: `${location!.link}`
})
ReactGA.event({
category: "link",
action: "click_internal_link",
Expand Down Expand Up @@ -268,10 +263,6 @@ function App() {
};

const campusHandler = (campus: Campus) => {
ReactGA.set({
link_text: `${campus.name}`,
link_url: ''
})
ReactGA.event({
category: "campus_menu",
action: "click_campus_menu",
Expand Down

0 comments on commit 6efcc19

Please sign in to comment.