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 
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?