The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Javascript to manipulate Google's bounce rate and time on site?

    Javascript to manipulate Google's bounce rate and time on site?

    Technical SEO Issues
    8 5 5.7k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BenRWoodard
      BenRWoodard last edited by

      I was referred to this "awesome" solution to high bounce rates.

      It is suppose to "fix" bounce rates and lower them through this simple script.  When the bounce rate goes way down then rankings dramatically increase (interesting study but not my question).

      I don't know javascript but simply adding a script to the footer and watch everything fall into place seems a bit iffy to me.

      Can someone with experience in JS help me by explaining what this script does?

      I think it manipulates the reporting it does to GA but I'm not sure.  It was supposed to be placed in the footer of the page and then sit back and watch the dollars fly in. 🙂

      1 Reply Last reply Reply Quote 1
      • grasshopper
        grasshopper last edited by

        You're correct that it's a GA hack.  Avoid it.

        Google has publicly stated that they don't use your site-specific GA metrics to influence organic search rankings.  E.g., they're not taking data from your GA profile, and feeding that to the Search Quality team to determine if your site should rank better or worse.  They have MANY better ways to accurately track anonymous user interactions with sites at scale (e.g. Chrome).

        The only thing that you'll accomplish with this code is making all of your own internal metrics turn to garbage.  Accurate metrics are important.  If you bounce rate is high, knowing that allows you to take action to improve your site and reduce it.

        The more people who stay on your site for more than 1 pageview, the more money your business is likely to make. Improve your bounce rate to improve the profitability of your website, not for some supposed correlation between bounce rate and organic search ranking.

        BenRWoodard 1 Reply Last reply Reply Quote 6
        • wattssw
          wattssw last edited by

          First, Google Analytics reporting does not, to my knowledge, influence SERP rankings. Altering the data collected through Google Analytics should not affect SEO indicators.

          Second, this is from here: http://briancray.com/posts/time-on-site-bounce-rate-get-the-real-numbers-in-google-analytics/

          Once this code is installed, your site will update Google Analytics every 10 seconds under the Event Category "Time", the Event Action "Log", and the Event Value will be based on the pattern of 0:10, 0:20, 0:30, 0:40, 0:50, 1:00, 1:10, etc.

          The script does not change your bounce rate, it just gives you additional information.

          BenRWoodard AdamThompson 2 Replies Last reply Reply Quote 1
          • BenRWoodard
            BenRWoodard @grasshopper last edited by

            The code was from this site http://millionairevolution.com/cut-bounce-rate-by-80/ and looking at the dates and analytics shown on the page this is nothing more than a misrepresentation of the facts and data.

            I knew Google doesn't use data from GA but the data graph was showing a contradiction and I didn't know exactly what the script was doing.

            1 Reply Last reply Reply Quote 0
            • BenRWoodard
              BenRWoodard @wattssw last edited by

              Thanks for that link.

              The site (link in the previous reply) my client referred me to was manipulating the way they were reporting the results.  The closer I looked at it, I realized that it was a little spike but then it went right back down.  Knowing them they just paid a bunch of people to visit the site.

              This stuff is annoying and gives us SEO's a bad name. 😞

              1 Reply Last reply Reply Quote 0
              • supermarketonline
                supermarketonline last edited by

                Dont do it - just improve your content.  You know it's wrong to try and cheat the system.  Think about what would happen if you banned from the results.

                Look i dont mean to be harsh - but i allways balance risks against rewards.   In this situation - the risk is to high.

                BenRWoodard 1 Reply Last reply Reply Quote 1
                • BenRWoodard
                  BenRWoodard @supermarketonline last edited by

                  Thanks for the encouragement Martin.

                  As it turns out, with the help of the two previous answers, the script is actually based on a valid script adjustment that might actually help some people in their reports but the what my client thought was that this was an easy/quick way to get more traffic.  The article they found was saying this would dramatically change results in GA and then directly effect their site's ranking in the SERPs.

                  They had "proof" in the form of some GA screenshots so I needed more information on what the script actually does.  I was able to let my client know what exactly this was and recommend not doing it unless there was a problem in the GA reports that they wanted fixed. 🙂

                  Thanks again for your reply.

                  1 Reply Last reply Reply Quote 0
                  • AdamThompson
                    AdamThompson @wattssw last edited by

                    Stephen,

                    Thanks for the explanation - I just had a client ask me about this script. Based on your explanation, this script will change your bounce rate. This is because once the event is triggered, the visit will no longer be considered a bounce, even if the user only visits one page. So it's an artificial/false decrease in bounce rate, not a "fix" as others claim.

                    I wrote a short blog post on this (and referenced your description)!

                    ~Adam

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    • Site's meta description is not being shown in Google Search results. Instead our privacy policy is getting indexed.
                      effectdigital
                      effectdigital
                      0
                      3
                      253

                    • Site address change: new site isn't showing up in Google, old site is gone.
                      GlobeRunner
                      GlobeRunner
                      0
                      5
                      107

                    • Strange URL's for client's site
                      everestagency
                      everestagency
                      0
                      3
                      456

                    • Google how deal with licensed content when this placed on vendor & client's website too. Will Google penalize the client's site for this ?
                      katemorris
                      katemorris
                      1
                      4
                      94

                    • Question on Google's Site: Search
                      jeff_46mile
                      jeff_46mile
                      0
                      5
                      101

                    • How to tell how often Google crawls someone else's site
                      Saijo.George
                      Saijo.George
                      0
                      4
                      347

                    • Google has not indexed my site in over 4 weeks, what's the problem?
                      cewe
                      cewe
                      0
                      13
                      1.4k

                    • Site just will not be reincluded in Google's Index
                      OzDave
                      OzDave
                      0
                      16
                      1.2k

                    Get started with Moz Pro!

                    Unlock the power of advanced SEO tools and data-driven insights.

                    Start my free trial
                    Products
                    • Moz Pro
                    • Moz Local
                    • Moz API
                    • Moz Data
                    • STAT
                    • Product Updates
                    Moz Solutions
                    • SMB Solutions
                    • Agency Solutions
                    • Enterprise Solutions
                    • Digital Marketers
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • Local Citation Checker
                    • MozBar Extension
                    • MozCast
                    Resources
                    • Blog
                    • SEO Learning Center
                    • Help Hub
                    • Beginner's Guide to SEO
                    • How-to Guides
                    • Moz Academy
                    • API Docs
                    About Moz
                    • About
                    • Team
                    • Careers
                    • Contact
                    Why Moz
                    • Case Studies
                    • Testimonials
                    Get Involved
                    • Become an Affiliate
                    • MozCon
                    • Webinars
                    • Practical Marketer Series
                    • MozPod
                    Connect with us

                    Contact the Help team

                    Join our newsletter
                    Moz logo
                    © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy