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
-
Internally linked pages from different subdomain must be well optimised?
Hi all, We have guide/help pages from different subdomain (help.website.com). And we have linked these from 3rd hierarchy level pages of our website (website.com/folder1/topic2). But help.website sumdomain & pages are not well optimised. So, I am not sure linking these subdomain pages from our website pages hurts our rankings? Thanks,
Web Design | | vtmoz0 -
How to prevent development website subdomain from being indexed?
Hello awesome MOZ Community! Our development team uses a sub-domain "dev.example.com" for our SEO clients' websites. This allows changes to be made to the dev site (U/X changes, forms testing, etc.) for client approval and testing. An embarrassing discovery was made. Naturally, when you run a "site:example.com" the "dev.example.com" is being indexed. We don't want our clients websites to get penalized or lose killer SERPs because of duplicate content. The solution that is being implemented is to edit the robots.txt file and block the dev site from being indexed by search engines. My questions is, does anyone in the MOZ Community disagree with this solution? Can you recommend another solution? Would you advise against using the sub-domain "dev." for live and ongoing development websites? Thanks!
Web Design | | SproutDigital0 -
Is it possible to redirect the main www. domain - but keep a subdomain active?
Hi Mozzers, Quick question, which I hope one of you can answer... Let's say I have a website (i) www.example.com and on that a subdomain exists, (ii) subdomain.example.com. Let's say I want to change my main domain from www.example.com to www.newwebsite.com. I'd 301 all content, use GWT to notify Google of a change of address etc etc. Having done that, is it still possible to keep the original subdomain active? So, even though www.example.com has been redirected / transferred to www.newwebsite.com, subdomain.example.com would still exist. If that is possible, what is the implication for Domain Authority? On the one hand, I have transferred the main site (so DA from that will transfer to the new site); but part of that root domain is still active. Make sense? Any answers? Thanks everyone...
Web Design | | edlondon0 -
Subdomain or Start over?
I have a site that is currently set up geo-targeted in sub-domains. So each geo is princeton.site.com. Each site has the same code, design, but the events listed are different. There are about 30 subdomains and they are looking to expand nationally. After the Panda update, I am seeing that it looks like they should stay as sub-domains rather than redirecting everything or setting up new domains. Any thoughts on if the sub domains should stay and expand exponentially? SEO strategy, etc.? I'm also worried about the possibility of duplicate content. Thanks!
Web Design | | PPI0 -
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 -
Subdomain rewrite
Our old website had a staging subdomain that was used before I got with the company. We recently had the website redesigned, still on the DNN platform, but our staging subdomain is still showing up. The domain, staging.structural.net, shows up in serps and needs to be redirected to just the root domain. What is the best way to get this thing from working. If robot text is needed to get this subdomain from showing up, can you share? Also can you share the instructions you would use in iis to route this beast? Any advice is appreciated.
Web Design | | KJ-Rodgers0 -
What will you do with the subdomains, keep it or remove it?
A client of us has this webpage http://www.losestores.com/ not very good in design, but it has good products.
Web Design | | teconsite.com
He is having a problem with SEO, he is in page 2 for "estores" keyword. His domain authority is 27 and is upper than other domains that are ranking in page one. The question is the following: Since the webpage began to work the programmer that created it, did the following: a subdomain per section http://estores.losestores.com/ http://cortinas.losestores.com/ http://venecianas.losestores.com/ and so on. This page is not very big one. Will you remove the subdomains and do de following? www.losestores.com/estores www.losestores.com/cortinas What will be best? Thanks Victoria0 -
Are Subdomains Beneficial?
Are subdomains beneficial? I have a client with 4 stores. As it stands, they use one domain, www.mainpage.com/store1, www.mainpage.com/store2, etc. Are there any big benefits to making these subdomains like store1.mainpage.com, store2.mainpage.com?
Web Design | | eldoradoseo0