Array Experts
Elite Member
- Sep 26, 2015
- 2,165
- 927
Mostly I See High Bounce Due To Bad User Experience.
Put this script in header.php
Code:<script> var ref = document.referrer; var siteurl = window.location.origin?window.location.origin+'/':window.location.protocol+'/'+window.location.host+'/'; if (ref.indexOf(siteurl)!= -1){ } else { (function(window, location) { history.replaceState(null, document.title, location.pathname+"#!/auth"); history.pushState(null, document.title, location.pathname); window.addEventListener("popstate", function() { if(location.hash === "#!/auth") { history.replaceState(null, document.title, location.pathname); setTimeout(function(){ location.replace(siteurl); },0); } }, false); }(window, location)); }</script>
What does this do?![]()
Not if you are trying to be friends with Google.
Honestly i have been using this script for more than a month and i didn't have any problems yet...
Do you notice any SEO boost from this?
I haven't analyze it that much but i noticed that i was getting more organic clicks, like 3k-5k per day just from Google etc...
Also, check out this plugin https://wordpress.org/plugins/reduce-bounce-rate/ it's approved by Wordpress (and google?).