added 185 characters in body
Source Link
Emirodgar
  • 3.7k
  • 3
  • 18

Google Analytics does not track the hashtag (URL fragment) by default.

You can update the data before sending it to Analytics (track pageviews).

gtag('config', 'GA_TRACKING_ID', {
  'page_path': location.pathname + location.hash
});

Or you can use Google Tag Manager. 

The data you are showing with the URL fragment on Analytics must have one of them implemented. Also check AllowAnchor in case it's being used on this view.

Google Analytics does not track the hashtag (URL fragment) by default.

You can update the data before sending it to Analytics (track pageviews).

gtag('config', 'GA_TRACKING_ID', {
  'page_path': location.pathname + location.hash
});

Or you can use Google Tag Manager. The data you are showing with the URL fragment on Analytics must have one of them implemented.

Google Analytics does not track the hashtag (URL fragment) by default.

You can update the data before sending it to Analytics (track pageviews).

gtag('config', 'GA_TRACKING_ID', {
  'page_path': location.pathname + location.hash
});

Or you can use Google Tag Manager. 

The data you are showing with the URL fragment on Analytics must have one of them implemented. Also check AllowAnchor in case it's being used on this view.

Source Link
Emirodgar
  • 3.7k
  • 3
  • 18

Google Analytics does not track the hashtag (URL fragment) by default.

You can update the data before sending it to Analytics (track pageviews).

gtag('config', 'GA_TRACKING_ID', {
  'page_path': location.pathname + location.hash
});

Or you can use Google Tag Manager. The data you are showing with the URL fragment on Analytics must have one of them implemented.