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
-
Should I move my blog from subdomain to subdirectory?
Hi there, We have a pretty strong organic presence on our consumer facing blog. Around 5.7 million organic clicks Year to Date. It's currently housed in Wordpress on a subdomain. Our team is considering migrating our blog from Wordpress to Sitecore, where our parent organization resides. With that consideration, we're trying to determine if we should preserve the subdomain or move to a subdirectory of the parent brand. Moving to the parent brand would also result in a loss of our custom global nav - we would inherit the global nav of the parent website. We're not concerned about traffic loss risk - we know that we'll lose some but we think the move to subdirectory might be more beneficial in the long run from an SEO perspective. We're mostly concerned about the users getting lost without the global nav specific to the blog. Thoughts/concerns? Thank you!
Web Design | | Jessdyl0 -
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 -
App indexing with several subdomains
Hi, We are currently in the process of getting our app developed. From an SEO point of view I want the app to get indexed and am currently trying to get a step by step guide for it. I've come across this helpful guide: https://moz.com/blog/how-to-get-your-app-content-indexed-by-google but need to go a bit deeper now. Questions I have is related to the "apple-app-site-association" file As far as I could find out the JSON code of that file has the following syntax: {_ “applinks”: {__ “apps”: [],__ “details”: [__ {__ “appID”: “9JA89QQLNQ.com.my.bundle.id“,__ “paths”: [ “/myPath1”, “/myPath2/*” ]__ },__ ]__ }_ } My question is related to the key "appID" I'm wondering how the entry would look like if I have 10 country subdomains and would like to make sure that the deep link clicked in the browser is going to the right subdomain page within the app. Current website structure:
Web Design | | FashionLux
uk.example.com/english-path/
de.example.com/german-path/ Many Thanks in advance0 -
Learning Center on Subdomain or New Domain
Hello, With so much emphasis for SEO to develop unique, information content I am working to build out a "Learning Center' for one of my clients in the finance industry. As you can guess, this is quite a competitive space and their rankings have become somewhat stagnant so we are looking for new ways to develop original, share-worthy content for the site. So my question is, in order for them to retain the most SEO value should we develop this on a subdomain such as learning.website.com or a new domain altogether. Note: We do not want to develop this under the current site domain as it we want o only post informational content & courses and keep these pieces outside of the "sales" side of their website. Therefore, I thought the subdomain would be the best bet so that we would retain the most value for SEO... however, some of my colleagues disagree. Some vote it should be within a directory under website.com. Some say a new site & domain altogether. My vote is to place this under a subdomain such as http://learning.website.com with the idea that the site's authority will influence the root http://website.com. The argument I was provided against the subdomain was: "essentially adding a subdomain would mean you're sort of starting over again in terms of building authority. adding a folder will ride the coattails off the already established authority." Lastly, for clarification, the current domain is set up as http://website.com so the subdomain would be http://learning.website.com, the directory would be set up as http://website.com/learning/ and a whole new domain would be http://newwebsite.com. This is for a Wordpress site. Thoughts? All feedback is much appreciated!
Web Design | | TinaMumm0 -
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 -
Blog on Subdomain or Subdirectory?
I was wondering what the SEO impact was of having a blog on a sub domain or sub directory. Which of the following is better? blog.companysite.com companysite.com/blog Personally, I like making the blog a more important part of the site so 2) is preferable; however, I don't know which one is best for SEO purposes. Do the search engines consider a subdomain as a different website? Can SEO authority be passed through each equally? What is your preference? Regards, Dino
Web Design | | Dino640 -
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 -
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