Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. Home
    2. SEO Tactics
    3. Technical SEO
    4. GA4 showing 2 versions of my homepage

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    GA4 showing 2 versions of my homepage

    Technical SEO
    ga4 indexing
    4
    5
    287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • CustomMadeCasino
      CustomMadeCasino Subscriber last edited by

      When my website Custom Made Casino switched from universal analytics to GA, i have noticed that now in the behavior section it is showing 2 versions of my homepage which I feel may be impacting seo.

      It is showing the main url which we use for everything, https://custommadecasino.com/ , and it is showing https://custommadecasino.com/index.php?route-common/home. This was never the case with universal.

      Does anyone know if this is a problem and if so, how do i fix it so that our proper homepage is what is indexed?

      stefangatti marcoperson 2 Replies Last reply Reply Quote 0
      • marcoperson
        marcoperson @CustomMadeCasino last edited by

        @CustomMadeCasino
        I think It is due to tracking code

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

          Certainly! To address the issue of GA4 showing two versions of your homepage, you can follow these steps:

          Check for Duplicate Tags:
          First, ensure that you haven't added the Google Analytics 4 tracking code twice on your homepage. Duplicate tracking codes can lead to multiple pageviews being recorded.

          Debug Your Tracking Code:
          Use the Google Analytics Debugger tool or browser extensions like Google Tag Assistant to check if the tracking code is firing correctly. This will help you identify any issues with how the code is implemented.

          Examine Page URLs:
          GA4 may treat slight variations in URLs as separate pages. Check if there are any URL parameters or case differences in your homepage URLs that could be causing this.

          URL Parameters:
          If you're using URL parameters for tracking purposes, make sure they are correctly configured in your GA4 settings. GA4 allows you to exclude specific parameters to prevent duplicate tracking.

          Canonical Tags:
          Ensure that your homepage has a canonical tag specifying the preferred version of the page. This can help GA4 consolidate tracking data for similar pages.

          Filters and Views:
          In your GA4 property settings, review any filters or views that might be affecting how data is collected. Make sure you don't have any filters that could be causing duplication.

          Content Grouping:
          If you're using content grouping in GA4, verify that your homepage is assigned to the correct group. Incorrect grouping can lead to multiple entries.

          Pageview Triggers:
          If you're using Google Tag Manager (GTM), check your triggers to ensure they are set up correctly. Incorrect triggers can cause additional pageviews.

          Events or Virtual Pageviews:
          Review any events or virtual pageviews that might be triggering on your homepage. Ensure they are configured as intended.

          Custom Dimensions and Metrics:
          Check if any custom dimensions or metrics are affecting your homepage tracking. Verify that they are configured correctly.

          Data Stream Configuration:
          In your GA4 data stream settings, confirm that the correct domain and subdomain are specified for your website.

          Real-Time Reports:
          Use the Real-Time reports in GA4 to see if both versions of your homepage are actively being tracked. This can help you identify when and how the duplication occurs.

          By systematically going through these steps, you should be able to pinpoint the cause of the duplicate tracking and take appropriate action to resolve it in your Google Analytics 4 setup.

          1 Reply Last reply Reply Quote 0
          • CustomMadeCasino
            CustomMadeCasino Subscriber @stefangatti last edited by

            @stefangatti Hi Stefan,

            Appreciate your response on this. I will definitely go through this. The staging site was not supposed to be indexed so I will definitely review this and make sure this is not indexed. Thanks for your input, very helpful!

            • Adam
            1 Reply Last reply Reply Quote 0
            • stefangatti
              stefangatti @CustomMadeCasino last edited by

              Hey @CustomMadeCasino,

              I shouldn't think this is anything to do with your analytics set-up, but it certainly isn't ideal for SEO. In an ideal world you'd set up a permanent redirect from the non-standard homepage URL to the correct version. You could also add a canonical tag but a permanent redirect is the preferred method.

              If you can edit the .htaccess file of your website you can even add a redirect rule using RegEx to catch any URLs, more info here: https://www.semrush.com/blog/301-redirect-htaccess/

              On a related note, If you enter this into Google "site:https://custommadecasino.com" you'll see that your staging subdomain is also indexed (https://staging.custommadecasino.com/)

              It looks to me like it would be worthwhile conducting a basic technical SEO audit on your website. Have you got Google Search Console set up with this domain? If so, the Indexing > Pages report can help you find issues. If not, I'd recommend doing it ASAP!

              Hope that helps!

              Cheers,
              Stefan

              CustomMadeCasino 1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Got a burning SEO question?

              Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


              Start my free trial


              Browse Questions

              Explore more categories

              • Moz Tools

                Chat with the community about the Moz tools.

              • SEO Tactics

                Discuss the SEO process with fellow marketers

              • Community

                Discuss industry events, jobs, and news!

              • Digital Marketing

                Chat about tactics outside of SEO

              • Research & Trends

                Dive into research and trends in the search industry.

              • Support

                Connect on product support and feature requests.

              • See all categories

              Related Questions

              • Viktoriia1805

                The particular page cannot be indexed by Google

                indexing googlesearchconsole onpage

                Hello, Smart People!
                We need help solving the problem with Google indexing.
                All pages of our website are crawled and indexed. All pages, including those mentioned, meet Google requirements and can be indexed. However, only this page is still not indexed.
                Robots.txt is not blocking it.
                We do not have a tag "nofollow"
                We have it in the sitemap file.
                We have internal links for this page from indexed pages.
                We requested indexing many times, and it is still grey.
                The page was established one year ago.
                We are open to any suggestions or guidance you may have. What else can we do to expedite the indexing process?

                On-Page Optimization | | Viktoriia1805
                1
              • Aman0022

                Website is not getting indexed

                indexing crawling

                Hi,
                Hope you all are doing great!
                I have created a dog blog a few weeks back which talks about all things about dogs (http://pawspulse.com/). I am publishing couple of articles everyday which are more than 5k words long with proper keyword research but still Google is not indexing my content. My content is systematically categorized in proper categories related to dog guides, nutrition, accessories, dog breeds etc.
                Can anyone help me how to get the website index faster fully. Any help will be much appreciated. Thanks

                Content Development | | Aman0022
                0
              • bradsimonis

                Custom Events Not Showing in GA4

                google tag manager custom events ga4

                I have some experience in successfully creating custom events for GA4 via Tag Manager, but I have one account where my events are firing in GTM but not showing at all in GA4 (not real time or anywhere). I have twice done them over and published my changes but still no luck. Any ideas what else the issue can be? There are no internal filters at the moment. Thank you.

                Reporting & Analytics | | bradsimonis
                1
              • SS.Digital

                Google Indexed a version of my site w/ MX record subdomain

                We're doing a site audit and found "internal" links to a page in search console that appear to be from a subdomain of our site based on our MX record.  We use Google Mail internally.  The links ultimately redirect to our correct preferred subdomain "www", but I am concerned as to why this is happening and if it can have any negative SEO implications. Example of one of the links: Links aspmx3.googlemail.com.sullivansolarpower.com/about/solar-power-blog/daniel-sullivan/renewable-energy-and-electric-cars-are-not-political-footballs I did a site operator search, site:aspmx3.googlemail.com.sullivansolarpower.com on google and it returns several results.

                Technical SEO | | SS.Digital
                0
              • smmour

                SERPs started showing the incorrect date next to my pages

                Hi Moz friends, I've noticed since Tuesday, November 9, half of my post's meta dates have changed in regards to what appears next to the post in the search results. Although published this year, I'm getting some saying a random date in 2010! (The domain was born in 2013; which makes this even more odd). This is harming the CTR of my posts and traffic is decreasing. Some posts have gone from 200 hits a day to merely 30. As far as on our end of the website, we have not made any changes in regards to schema markup, rich snippets, etc. We have not edited any post dates. We have actually not added new content since about a week ago, and these incorrect dates have just started to appear on Tuesday. Only changes have been updating certain plugins in terms of maintenance. This is occurring on four of our websites now, so it is not just specific to one. All websites use Wordpress and Genesis theme. It looks like only half of the posts are showing weird dates we've never seen before (far off from the original published date as well as last updated date -- again, dates like 2010, 2011, and 2012 when none of our websites were even created until 2013). We cannot think of a correlation as to why certain posts are showing weird dates and others the correct. The only change we can think of that's related is back in June we changed our posts to show Last Updated date to give our readers an insight into when we changed it last (since it's evergreen content). Google started to use that date for the SERPs which was great, it actually increased traffic. I'm hoping it's a glitch and a recrawl soon may help sift it around. Anybody have experience with this? I've noticed Google fluctuates between showing our last updated date or not even showing a date at all sometimes at random. We're super confused here. Thank you in advance!

                Technical SEO | | smmour
                2
              • promodirect

                How to show number of products in your Google SERP?

                I have used to rich snippet to my website & everything is working fine except showing the total number of products listed in the particular category. Check out the screenshot below: aH7XM

                Technical SEO | | promodirect
                0
              • MiguelSalcido

                Why are these internal pages not showing any internal links?

                If you look at Author profile pages like this one, http://experts.allbusiness.com/author/denise-oberry (THE top contributor on the site with over 82 posts under her belt), or any Author profile page, they show zero internal links or Page Authority. The same goes for most posts for each author on the site. Author pages should show internal links from every post the author has on the site. And specific posts should also have internal links from categories, etc. Yet they show zero. The only posts that show internal links and PA are ones that were either syndicated to the root domain's homepage, or syndicated to Fox Small Business. ZERO internal links. Does anyone know why this is? The root domain does not act this way with Author pages and posts. And I see nothing blocking links or indexing via the robots.txt file or page level nofollow tags. A real head scratcher for this SEO nerd, that I'm sure someone here will have a really simple answer to.

                Technical SEO | | MiguelSalcido
                0
              • MadeLoud

                Why are pages still showing in SERPs, despite being NOINDEXed for months?

                We have thousands of pages we're trying to have de-indexed in Google for months now.  They've all got . But they simply will not go away in the SERPs. Here is just one example.... http://bitly.com/VutCFiIf you search this URL in Google, you will see that it is indexed, yet it's had  for many months.  This is just one example for thousands of pages, that will not get de-indexed.  Am I missing something here?  Does it have to do with using content="none" instead of content="noindex, follow"? Any help is very much appreciated.

                Technical SEO | | MadeLoud
                0

              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
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority 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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy

              Looks like your connection to Moz was lost, please wait while we try to reconnect.