Subdomain pdfs - do you track them?
-
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?
-
No problem
-
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
-
Thank you!
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Best way to move blog from subdomain to folder?
Hey all, Our company has 4 product websites, and each has its own separate blog. They are currently set up as subdomain blogs (blog.company.com) hosted on wordpress.com, but I would like to transition them over to root folders (company.com/blog) in order to improve accessibility and SEO. What is the best way to go about doing this? Should I continue to host the blogs on wordpress or are there better options? Would I migrate the blog posts over or just redirect? I'd like to get a general framework/plan of action going in order to know what to expect. Thanks!
Web Design | | kslusarski0 -
Subdomains For Real Estate Website
I am currently working on a proposal for a clients Wordpress website development which includes ongoing SEO after the website is developed. I have looked into a number of options and the one that seems the most cost effective involves using subdomains for the individual listings pages. What I want: clientsdomain.com/listings/idxnumber/ What I can get for a decent price: listings.clientsdomain.com/idxnumber/ So the majority of the website will actually exist on a subdomain because the IDX API will automatically populate pages for all of the MLS listings in the area (hundreds or thousands). Meanwhile the domain itself will have all the neighborhood pages and other optimized content, blogs and whatnot. My concern is that dividing the website like this will have negative effects on SEO. There wont be duplicate content across subdomain and main domain, but they will share a lot of links back and forth. I haven't found any recent sources on the topic. Almost everything I have found says that dividing a website in this manor is bad for SEO, but these articles are often many years old. Does anyone know of a Wordpress plugin/IDX company that can provide a solution that doesn't use a subdomain and actually just lists each MLS page within a directory? I am open to using another platform, I am just most familiar with Wordpress. Will using a subdomain in the ways mentioned above have a profound negative effect on SEO? Thank you for your time in responding, I greatly appreciate it.
Web Design | | TotalMarketExposure0 -
Responsive design and Google analytics mobile tracking codes?
Hi all, We are currently rebuilding a site using responsive design, however i have just had a thought. On another site where we have a mobile site under a sub-directory we utilise mobile tracking codes as we found that this was far more accurate for recording visits. On a responsive design site evidently all pages, desktop and mobile, will be under the same URL, yet the content will adjust to the screen size of the device. Should we also change the tracking code to be mobile code on the lower resolutions or would the same code be sufficient?
Web Design | | Sarbs0 -
Best Way to Remove Mutltiple XML Sitemaps From Multiple Subdomains
Just found a series of of XML sitemaps hosted like so: http://www.thesite.anothersite.com/sitemap.xml and defaulted to remove and 301 redirect but as this is the first time I've encountered an issue like this, an outside opinion or two would be much appreciated. Is the 301 the best option, should I 404 them or what?
Web Design | | ePageCity0 -
Am I on the right track -- still not seeing results in rank, traffic, etc.
I am a complete novice, but I tend to learn quickly. My site is one year old, and I have very low traffic. I also rank poorly. I have recently learned a ton, and made some changes: 1. Put in meta no follow, no index tags on certain pages 2. Found and fixed some horrid content -- I had forgotten to finish certain pages (!) and they had been left up for months -- a good example is /California-homeschool.html basically said "Washington homeschool, blah, blah, blah" for about 8 months before I fixed it (!) 3. Added new content, changed the look and navigation of the site, added social media links and have been working to build those up (FB, Twitter, etc) 4. Started blogging regularly. Those are the main things I have done. I plan to continue to add content, tweak the navigation, and blog regularly. From what I can tell, link building should happen organically. My question is: Am I on the right track? Here is a link to my site: http://www.i-school-at-home.com Am I missing anything -- there seems to be so much info out there. Because there is a time lag between making changes and seeing results, I just would love to know if I am on the right track, before I devote more time to this strategy. What I would like to do is be the #1 homeschool website (long term goal) and generate revenue (eventually) from affiliate marketing and creating my own curriculum and resources. Thank you!!!!!!
Web Design | | WendyKKelly0 -
Technical SEO Question about TLD combined with SubDomain
I am making a new website but need to figure out the best way to do this in terms of SEO. I would like the website to have functionality of brochure website combined with an online store. My issue is that I will be using software called prestashop for my online store and CMS called MODx to develop my brochure site. (These can not be combined into one CMS). I can create brochure site with MOdx = www.example.com & then from that a subdomain using prestashop for my online store = store.example.com Can I get Google to index these as one site or would I be better off trying to get everything under the TLD. Ideally I would like just one site without subdomain Bacially what I am asking is... What are the effects of having subdomains in terms of SEO? Am I better of having everyhitng under TLD? Can I get Google to view TLD and Sub as one site? Hope this makes sense, thank you.
Web Design | | Socialdude0 -
Can "poor" subdomains drop PR of the root domain?
The page rank of my company's website has dropped from a 6 to a 4 over the past year or so. In that time, we implemented subdomains for development sites to show clients progress on their websites. I noticed that our "dev" sites are being indexed while in development and my question is, will Google drop pagerank of our root domain purely off of these "dev" subdomains? Example - our site is www.oursite.com Dev site - development1.oursite.com I just began investigating the drop and this came to my mind yesterday but am not too sure what type of impact these non-credible subdomains will have on our root domain. Any thoughts?
Web Design | | ckilgore0 -
Should I disable track backs?
All the trackbacks I get on wordpress sites are spam. How would disabling trackbacks effect my SEO efforts.
Web Design | | jmansd0