Open nukosuke opened 7 years ago
// in header script (application.html.erb) window.ga = ga; // clientRegistration.jsx const unlisten = history.listen(() => { ga('send', 'pageView', location.pathname); });
transition caused by react-router (e.g. click Link comonent) will be tracked.
Link
transition caused by react-router (e.g. click
Link
comonent) will be tracked.