Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low Bounce rates on GA dashboard #86

Open
jonathanrosenbaum opened this issue Jul 19, 2022 · 0 comments
Open

Low Bounce rates on GA dashboard #86

jonathanrosenbaum opened this issue Jul 19, 2022 · 0 comments

Comments

@jonathanrosenbaum
Copy link

jonathanrosenbaum commented Jul 19, 2022

Describe the bug
Bounce rates in GA dashboard are showing as too low ie less than 1%.

To Reproduce
Steps to reproduce the behavior:
Add this snippet as per instructions. Config shouldn't matter as long as GA has been enabled.
Set cookie for google analytics as stated in read me ensure that cookie expiration date is set so that it won't be invalidated between refreshes.

Reload page. On all page reloads 2 page view events have been sent from the browser. One by default is sent from the google analytics script by default and the other from the 'trackGoogleAnalytics' fn inside of 'src/service/googleAnalytics.js'. View GA Dashboard

Expected behavior
A clear and concise description of what you expected to happen.

To overcome this we need to have the option to disable the initial page view event sent from the ga script. A property can be added to prevent this behaviour in the gtag('config', () =>{}) fn ie

window.gtag('config', options.trackingId, {
  'anonymize_ip': gaAnonymize,
  'allow_google_signals': gaAllowAdFeatures,
  'send_page_view': gaPageViewOnLoad
});

However currently this option hasn't been provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant