Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

80
Views
Google Analytics UA not showing event

When I refresh the page a pageview event will go through. On a button click I have the following in a function

ReactGA.pageview("/?summoner1=" + person1 + "&summoner2=" + person2);

this is in a function and this function gets called when i push submit. even though the page doesnt change I have the url change through history.pushState.

looking at the network tab i see that the request is being sent and its giving me a 200 enter image description here

the same goes for when I try to trigger an event like this

ReactGA.event({
  category: "submit",
  action: "submit action",
  label: "submit label",
});

this is also in a function where a button calls it through the onclick

however the onlything ga is showing me is initial page loads. any ideas on what im doing wrong?

almost 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!