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 -
Subdomain or Country Code Top Level Domain
Hello Friends, I am planning to develop my website for other languages. which one is best for SEO? (The main English website is well ranked in google) 1. de.example.com (subdomain may obtain rank faster as it is part of the main website?)
Web Design | | Bold
2. example.de (this is a completely new one; so not easy to get rank?) thank you
Barsbold0 -
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 -
Funnel tracking with one page check-out?
Hi Guys, I'm creating a new website with a one page checkout that follows the following steps:
Web Design | | Jerune
1. Check availability
2. Select product
2. Select additional product & Add features
3. Provide personal information
4. Order & Pay I'm researching if it is possible to track all these steps (and even steps within the steps) with Google Analytics in order to analyse checkout abandonment. The problem is only that my one-page checkout has only one URL (I want to keep it that way) and therefore can not be differentiated on URL in the Analytics funnel. To continue to the next step also the same button (in a floating cart) in used to advance. The buttons to select/choose something within one step are all different. Do you guys know how I can set this up and how detailed I can make this? For example, is it also possible to test at which field visitors leave when for example filling in their personal information? Would be great if you can help me out!0 -
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 -
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 -
Need help setting up google analytics goals / tracking
I don't use Google analytics to see much more than how many visits I'm getting and what sort of keywords people are using to find our site. I'd like to step up my GA skills a bit. I'm wondring if you guys could give me some advice. I've never really set up any GA goals, or used it to track specific things, but I'd like to. Here are a few things off the top of my head that I would like to track. I'm wondring if these are posable in GA, and if someone could give me some feedback on how to track it / set up goals. Thanks.1 1. I'd like to know how many people click play on a video when they are on a page that has a video. 2. I'd like to know how many people are clicking "like" " google plus, etc.) 3. I'd like to know the path people are taking on our site. For instance, if they click a link from Facebook, and go to a landing page, what page are they visiting next..... 4. How long people are staying on the page I would really like to break this down further by people that visit a link I posted on Facebook, or twitter, or from the link on my twitter profile page, etc... Also if there are any other valuable goals / reports that would be useful for a blogger to track I'd appreciate your feedback. Thanks.
Web Design | | NoahsDad0