Are you looking to set up an adjusted bounce rate in Google Analytics?
Bounce Rate: The number of users that visit your site to only click the back button or close the tab without any further interaction with your website.
If you run a blog, it’s expected that your bounce rate will be high. However, you can adjust the bounce rate to better reflect your visitor’s behavior on your website, especially for visitors who spend a long time reading your content because they’d found what they’re looking for. This activity could be considered a success.
With ExactMetrics, you can adjust your bounce rate in Google Analytics. Follow this guide to learn how to make changes for users that stay on your page for at least 20 seconds or more.
Step 1: Within your WordPress dashboard, go to ExactMetrics » Settings » Tracking » Advanced » Custom Code:
Step 2: Copy and paste this snippet into the Custom Code textarea:
setTimeout("__gaTracker('send','event','adjusted bounce rate','page visit 20 seconds or more')",20000);
You’ve just inserted a snippet that defines a page visit as 20 seconds or more. If you want to adjust that number to 40 seconds, you would change 20000 to 40000 (the expected value needs to be in milliseconds).
You did it! You’ve adjusted the bounce rate on your website to not include users who spend 20 seconds or more while on your website.
What’s next? Learn about Google Search Console and how it can assist in improving your site’s ranking in Google’s search results: How to Verify Your Site in Google Search Console with Google Analytics.