mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Update useGoogleAnalytics.js
This commit is contained in:
@@ -14,7 +14,7 @@ useEffect(() => {
|
||||
});
|
||||
window.gtag('event', 'page_view', {
|
||||
'page_path': fullPath,
|
||||
'page_location': window.location.href
|
||||
'page_location': window.location.href.replace('/#', '')
|
||||
});
|
||||
|
||||
}
|
||||
@@ -22,4 +22,4 @@ useEffect(() => {
|
||||
|
||||
};
|
||||
|
||||
export default useGoogleAnalytics;pat
|
||||
export default useGoogleAnalytics;
|
||||
|
||||
Reference in New Issue
Block a user