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. Online Marketing Tools
    4. How can I negate traffic in analytics from urls within my site that do not contain www.

    How can I negate traffic in analytics from urls within my site that do not contain www.

    Online Marketing Tools
    7 2 123
    • 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.
    • InsideUp
      InsideUp last edited by

      From within analytic dashboard I see a lot of urls that I are showing from a testing sub site/server. I have already negated IP addresses that are used by development team, but the team also works from home so I would like to know how to fully negate traffic from this "site".

      www.mydomian.com vs stg.mydomain.com

      I cannot remove the tracking script from this testing site because it gets mirrored into my production site after a new release.

      Thanks for your help.

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

        If you are using Google Analytics this is an easy fix but you will want to make a new view to test it on first.

        All you need to do is create a filter to remove the stg.mydomain.com. Test to make sure you aren't removing legitimate data, but this is a pretty quick fix.

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

          Just like this?

          H05J5Pk.png

          Hutch42 1 Reply Last reply Reply Quote 0
          • Hutch42
            Hutch42 @InsideUp last edited by

            I would select custom filter and hostname.

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

              Thank You, I will test this right now.

              1 Reply Last reply Reply Quote 0
              • InsideUp
                InsideUp @Hutch42 last edited by

                After taking these steps will the analytics data retroactively update to reflect these changes/filters?

                Hutch42 1 Reply Last reply Reply Quote 0
                • Hutch42
                  Hutch42 @InsideUp last edited by

                  No, GA never retroactively adjusts data, a filter is considered a day forward change affecting only new incoming data.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Dear Forum members, here is my ecommerce site how can i...
                    Roman-Delcarmen
                    Roman-Delcarmen
                    0
                    2
                    79

                  • Data Panel Within Google In Page Analytics
                    0
                    1
                    171

                  • If I move my site to different host do I lose analytics data
                    TimHolmes
                    TimHolmes
                    1
                    3
                    67

                  • Pointing multiple urls to the same site
                    PatrickDelehanty
                    PatrickDelehanty
                    0
                    2
                    160

                  • Is there any tool by which I can see the traffic of competitor but geographical wise?
                    Stramark
                    Stramark
                    1
                    6
                    150

                  • Is There A Ninja Stats Dashboard That Can Do This? Analytics Maybe?
                    SEO5Team
                    SEO5Team
                    1
                    5
                    201

                  • Your opinions on CPM retargeting campaigns for site with 45% return traffic?
                    flowsimple
                    flowsimple
                    0
                    2
                    432

                  • Google Analytics Goal - Track Click Through to Any Page on Site
                    JaredMumford
                    JaredMumford
                    0
                    6
                    1.4k

                  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