Tracking PDF downloads from SERP clicks
-
For the longest time, our company policy has always been to put PDFs in a secure folder (hence they are not indexed and do not appear in search results). After evaluating this strategy, there has been clamor in recent months to allow Google to index our whitepapers.
My question: Once PDFs start appearing in search results, what is the best way to start tracking clicks due to these "downloads"?
-
To address the main question (sorry we got a bit off track) - you can set up virtual page-views which fire when links to these PDF URLs are clicked. In some browsers this will trigger a download, in other browsers (like Chrome, which contains a built-in PDF viewer) - unless the site has been coded a certain way, a download may not actually even occur. The PDF may simply open in a new tab, and render as a web page with a full URL
As such I prefer to use virtual page-views piped to Google Analytics when the links to these documents are clicked, to track their views / downloads (which under normal circumstances, you can't distinguish between those two view types). Even when a PDF is being viewed 'as' a page on your site in a new tab, remember that PDF documents don't support the GA tracking script (so views to those PDF URLs get 'lost' from GA). You need to use virtual page-views, to remedy that
-
You can find lots more discussion of pdf optimization here.
-
I forgot to address the tracking question... We used to get server logs and run them through WeblogExpert. You can set it up to track pdf impressions.
We don't do that any more because we turned off server logs because we felt it might take us out of GDPR compliance.
-
This has actually significantly changed my views on PDF optimisation. I didn't know that they held so much optimisation potential. I have always agreed with allowing them to index, but pushed to have them replaced with pages (which contain optional links / buttons to download the original PDF, for users who prefer that)
The sticking point is usually budget. Many clients can't afford the required redesign efforts, so it's good to know that PDFs actually hold (within their native format) some optimisation potential. Thank you EGOL
-
PDFs can pull in tons of traffic if they have high quality content. I agree with allowing Google to index them.
PDFs can be optimized by editing their properties. Editing the document title in properties has the optimization power of a <title>tag.</p> <p>It is probably worth the effort to look at the PDFs and plan how you can use them to drive traffic (through links) to relevant pages of your website. Then if the PDFs get links, some of that power will pass through to the rest of your site. Breadcrumbs in PDFs will weave them into your website architecture.</p> <p>You can also sell ad space in the PDFs or place your own ads in there. You can also place "buy buttons" in PDFs. </p> <p>There are lots of things that can be done with PDFs that most people have not thought of. </p></title>
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
-
Why did all our Image Packs - featured SERP - disappeared on Mobile in July?
We saw our keywords ranking for Image Packs consistently on both desktop and mobile. Then July came and our image packs for mobile completely went away. We still have them for desktop, and we are still seeing the other Featured SERPs (ex. featured snippets) on mobile, but nothing for Image Packs. Has anyone else seen this happen? Any ideas why or how to change it so we can rank again?
Reporting & Analytics | | Brenda.Haines0 -
Tracking a Redirect
Recently a client of mine had a new site developed and had changed their domain, so the old URL is now redirecting to the new URL. They want to be able to track referral traffic in the analytics so we can decipher how much direct traffic is coming in from people typing in the old URL. Is this possible and if so, can I have a guide in doing so? Thanks!
Reporting & Analytics | | DigMS0 -
Google Analytics Event Tracking
Hi Guys, I want to set up a goal in Google analytics for this site http://www.dfrsolicitors.co.uk/contact.php and the contact us form is in php (so there is no thank you html page). I know there is a piece of code "onsubmit" or whatever it is, but I can't find it. I want to be able to track successful submissions. Kind Regards Neil
Reporting & Analytics | | nezona0 -
Cross-Domain Tracking Urgent Query :-(
Hi Mozzers! One of my clients is having an issue with cross-domain tracking, in other words their own domain is seen as a huge referrer. When you land on their site, which is www.sunway.ie, and then choose a holiday to book it then takes you to another domain which is www.sunwayholidays.ie, during the booking process. I'm just wondering if there is a Google Analytics genius out there who may be able to take a quick look and let me know if there is any obvious solution to this within the Google Analytics code? Thanks in advance everyone! Gavin
Reporting & Analytics | | strategemilabs0 -
Subdomain tracking codes on subdomain and not root
Afternoon all. I’m pretty sure this is going to be fine but I thought I would seek some confirmation before I action anything. We have a blog subdomain on our site, I have just noticed that the entire blog (built in Wordpress) has no analytics tracking code on it. As this is built in Wordpress I have just logged in on an admin account I think people forgot I had and added the code to the header section as it is a two second job. My question is this – On the main account, subdomain tracking has not been turned on, so the root domain has not got the additional _gaq.push(['_setDomainName', 'rootdomain.co.uk']); line of code in it. I have included this on the blog.rootdomain.co.uk code as is necessary to enable tracking. Will this work or cause tracking issues? I think it should be ok. I don’t want to have to update the root domain code if I can avoid it as that will need to go through the development team and may take weeks as they are swamped and under resourced. Thanks, Rich.
Reporting & Analytics | | Sarbs0 -
Tracking an onpage 'event'
Hi all Wondering if anyone could help out with this one please. My client is a government backed free internet safety website and in the next few days they will be launching an update on all of their pages which will let people know if their browser is out of date. For example, when you go to their site you will get a message advising you to upgrade your browser for security reasons. They have employed the following code to check the browser The client are keen to know how many times in a period this message is shown to users. Any idea how one would go about tracking this please. Would it involve some custom GA work, would I be able to track the hits on https://wxxxx.org/javascript/update.js in GA? I'm a little stumped. Obviously I can tell how many people loaded the page but not sure how to work out what % of them see the javascript Many thanks for your help Carl
Reporting & Analytics | | GrumpyCarl0 -
Google Analytics Goal Tracking Head Match w/ Query Strings
Hello, I have what should be a simple question here but there is a small nuisance I am trying to make sure I have configured correctly. We have a product based website w/ no e-commerce because they sell through a dealer network. All these product pages have "Where to Buy" links and the URL after you click where to buy always uses the query string ?r=XXX. Example: www.mysite.com/product/category/subcategory/product-name?r=12345 I want to setup a goal in GA with a URL and configure head match on the "?r" but which of the following is exactly how it should be configured with the "Goal URL" ?r= ?r r= Does it matter, because I had it setup as "?r" and it was never registering any goals. Do I need to leave off the "?" and just have it be r= Thanks in advance for the respones.
Reporting & Analytics | | Bevelwise0 -
Track image searches on google analytics
How can i track image searches on google analytics? To filter the refferers by image.google or /imgres does not work in new google analytics (and brings an impossibly small number on old GA). also, this would not cover local google image refferers, that don't come from image.google.com. anyone knows how to find image search sources? i haven't found anything helpful in google's documentation or forums. thanks!
Reporting & Analytics | | zeepartner0