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. Paid Search Marketing
    4. How to track in Google Analytics 2 different subdomains (one for website, the other for PPC landing pages)

    How to track in Google Analytics 2 different subdomains (one for website, the other for PPC landing pages)

    Paid Search Marketing
    5 3 305
    • 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.
    • DoMiSoL
      DoMiSoL last edited by

      Hello Mozers!

      I have a website with organic visits/goals on www.site.com and a few AdWords Campaign landing pages on lp.site.com whose goals are tracked with both adwords conversion monitoring AND analytics (not imported from analytics into Adword).

      The landing pages of the campaign have nothing to do with the web site (different cms, they don't link each other, totally isolated) and viceversa.

      Given that, what would it be the best practice to configure Google Analytics to track the website (www.site.com) AND a PPC campagin (lp.site.com)?

      I have been told to set up different views of the same property, but do I really need that?

      Please let me know what are you thinking.

      Thank you very much.

      DoMiSoL Rossini

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

        Hi there

        Google has resources on this - check out Tracking Multiple Domains - Web Tracking (ga.js).

        Also, Moz has a great resource called How to Quickly (and Correctly) Track Google Analytics Across Multiple Domains.

        Hope these help! Good luck!

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

          Like Patrick already mentioned, what you could do is create a new view which is filtered based on the hostname. This should allow you to make sure you'll only have the data for lp.example.com in there.

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

            Thank you for your kind answers.

            Just to make sure I understand i have three  more questions:

            1. should I set the analytics property on domain.com then set a view pointing to lp.domain.com AND a view pointing to www.domain.com, having both properly filtered ?

            2. At the moment I have the UA property set on lp.domain.com: wouldn't it be good as well to create a new property for www.domain.com (rather than two child views of the same parent Analytics property ? I guess this way I wouldn't need filtering.

            3. By the way I omitted to tell that I am using Universal Analytics: will the references you provided still be applyable to me?

            In the mean time I'll figure out how to actually do the filter and to make sure that this procedure is directly suitable with a Wordpress Plugin called Yoast Analytics, cause I am not sure I can edit the analytics code directly.

            Thank you all again.

            D.R.

            PatrickDelehanty 1 Reply Last reply Reply Quote 0
            • PatrickDelehanty
              PatrickDelehanty @DoMiSoL last edited by

              Hi D.R.

              To answer question 3, I just realized I sent you Classic GA setup - my apologies. Here is more information on how to set these up:
              Cross Domain Tracking - Web Tracking (analytics.js)
              Set up cross domain tracking Cross Domain Tracking (Google Tag Manager)

              To answer your questions:
              1.) Yes, you can do that. Or you can break it down by hostname as well in your GA data if you don't want to create multiple views.

              2.) I would keep it under the same property. It makes it easier to consolidate your data and you're not clicking back and forth.

              Hope this helps! Good luck!

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • What's the best call tracking system to use for PPC & subsequent landing pages?
                woodsy1010
                woodsy1010
                0
                5
                215

              • Best Apps for Tracking Google Analytics, Facebook Pages, and More?
                Ray-pp
                Ray-pp
                0
                2
                112

              • Google Analytics and WorldPay - Tracking Sales/Conversions
                FedeEinhorn
                FedeEinhorn
                0
                2
                1.3k

              • How Do I Track AdCenter Keyword Data in Google Analytics?
                JasmineA
                JasmineA
                0
                2
                136

              • Which landing page is used to calculate "Landing Page Experience" of a keyword in Adwords?
                Branden_S
                Branden_S
                0
                8
                949

              • How can i track keywords of Google Product Listing Ads in Google Analytics
                SEO5Team
                SEO5Team
                0
                2
                753

              • PPC Landing Pages - Quality Score & Multiple Pages
                RogerGreene
                RogerGreene
                0
                5
                1.6k

              • SEO for PPC landing pages
                WebMarkets
                WebMarkets
                0
                14
                5.1k

              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