0

I want to track the number of times a user taps/clicks the <- Back Link compared to users who use native browser Back Button.

I'm fairly new to Google Analytics, and GTM. I'm using React.

My thoughts are

  • Use GTM Triggers mostly to "listen" for click events OR
  • Use coded click event handlers in react.

How would I know a user clicks the Browsers back button? AND How would I link the events together for comparison?

Meet Lukka
  • 63
  • 3
Barrard
  • 1,783
  • 1
  • 18
  • 25
  • Does this answer your question? [How to Detect Browser Back Button event - Cross Browser](https://stackoverflow.com/questions/25806608/how-to-detect-browser-back-button-event-cross-browser) – BNazaruk Aug 09 '23 at 18:58

1 Answers1

0

How to Detect Browser Back Button event - Cross Browser This goes through back navigation listening. You can use both GTM and React to accomplish it. There are multiple of methods described.

BNazaruk
  • 6,300
  • 3
  • 19
  • 33