1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Bounce rate script

Discussion in 'General Scripting Chat' started by sx1z, Aug 27, 2019.

  1. sx1z

    sx1z Newbie

    Joined:
    Sep 17, 2016
    Messages:
    9
    Likes Received:
    2
    Gender:
    Male
    HI all,

    Yesterday i was looking on internet how to decrease my website bounce rate safely, i was looking how to get visitors browsing more pages on my website using auto loading articles plugin for wordpress that can change url when user scroll pages but cannot find a free and non bogus one, then i found a javascript code from youtube channel the video name is "How to get ZERO Bounce Rate" for information i'm not sponsoring this video neither have a relation with the author.

    i put that script on my website since yesterday and now i can see that my bounce rate down from 80% to 60%.

    so my question is, is this script safe for my adsense account ? and natural seo, does Google will penalize me using it ?? below is the script.
    Code:
    <script type="text/javascript">
    
    setTimeout(function(){ 
    
    setInterval(function(){ gtag('event', 'Open', {'event_category': 'TimeOnPage'}); }, 10000);
    
    setInterval(function(){ if(!document.hidden) gtag('event', 'Visible', {'event_category': 'TimeOnPage'}); }, 10000);
    
    }, 60000);
    
    </script>
     
  2. Alexbru

    Alexbru BANNED BANNED

    Joined:
    Aug 14, 2019
    Messages:
    247
    Likes Received:
    51
    Gender:
    Male
    Same m bounce rate is over 60% , I would need to know this too
     
  3. Trolling4Dollars

    Trolling4Dollars Power Member

    Joined:
    Jun 1, 2016
    Messages:
    626
    Likes Received:
    236
    Gender:
    Male
    Occupation:
    Network, systems & web admin
    Location:
    Athens, Georgia
    Home Page:
    I don't know why google would penalize you - they actually provide documentation for doing this sort of thing (he covers it in the video).

    All it's doing is using javascript to pass (bogus) data back to analytics. No different than using something like the "Reduce Bounce Rate" plugin on wordpress.

    EDIT: BTW, I think people place place far too much value on "bounce rate" for all the wrong reasons. Google has said for years that bounce rate is noisy & easily manipulated. For that reason, it has never been a direct ranking factor.

    If you stop & think about it, Google themselves must have an incredibly high bounce rate... and that's OKAY, that's just how their site works. There may be a legitimate reason for a higher bounce rate on your site, too.

    However, if I'm posting 8,000 word missives & seeing 90% bounce rate + 30 second browse time, I have something seriously wrong with my site that I need to dive in to & address. No lines of javascript are going to fix that.
     
    Last edited: Sep 19, 2019
  4. sx1z

    sx1z Newbie

    Joined:
    Sep 17, 2016
    Messages:
    9
    Likes Received:
    2
    Gender:
    Male
    Thank you for your respond, now i see clearly how Bounce rate factor affect website.