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. Web Design
    4. Subdomain pdfs - do you track them?

    Subdomain pdfs - do you track them?

    Web Design
    5 3 206
    • 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.
    • Bio-RadAbs
      Bio-RadAbs last edited by

      We've enabled event tracking to monitor clicks to pdfs on our website. All of these pdfs are hosted in a subdomain.

      The thing is, we offer some valuable pdfs that get a lot of traffic from search engines but I can't track them on Google Analytics. Do you track such pdfs?

      I can't place tracking code as they are pdfs on a subdomain.

      Thoughts?

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

        There is a solution for this by using server-side PHP tracking to monitor your PDFs, even when they're on subdomains - here's an awesome tutorial that shows you exactly how to do it - http://www.lunametrics.com/blog/2013/06/04/tracking-pdfs-google-analytics-server-side/

        Hope that helped 🙂

        Bio-RadAbs 1 Reply Last reply Reply Quote 1
        • Bio-RadAbs
          Bio-RadAbs @MatthewBarby last edited by

          Thank you!

          MatthewBarby 1 Reply Last reply Reply Quote 0
          • Kara.Wallace
            Kara.Wallace last edited by

            Do you have your Google Analytics configured to track data across your domain and subdomain? The default analytics code is set up to track data for a single domain. To manage tracking data on both the domain and subdomain, you need to modify your analytics code.

            Once you have your analytics configured to track both the domain and subdomain, you "should" be able to setup event tracking to keep track of downloads.

            I hope this helps.

            Mike

            1 Reply Last reply Reply Quote 0
            • MatthewBarby
              MatthewBarby @Bio-RadAbs last edited by

              No problem 🙂

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Why use a wwwP subdomain naming convention
                dodgejd
                dodgejd
                0
                3
                469

              • Mobile subdomain?
                WhiteboardCreations
                WhiteboardCreations
                0
                3
                185

              • Blog on Subdomain or Subdirectory?
                SteveWebb
                SteveWebb
                0
                4
                378

              • Subdomain vs Sub Folder
                Gaveltek-173238
                Gaveltek-173238
                0
                2
                481

              • Technical SEO Question about TLD combined with SubDomain
                AlanMosley
                AlanMosley
                0
                2
                809

              • Subdomain rewrite
                KJ-Rodgers
                KJ-Rodgers
                0
                3
                900

              • What will you do with the subdomains, keep it or remove it?
                RyanKent
                RyanKent
                0
                3
                751

              • Are Subdomains Beneficial?
                eldoradoseo
                eldoradoseo
                0
                8
                890

              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