{"id":10608,"date":"2024-11-14T17:55:34","date_gmt":"2024-11-14T17:55:34","guid":{"rendered":"https:\/\/ceowebltd.com\/blog\/?p=10608"},"modified":"2024-11-14T17:55:34","modified_gmt":"2024-11-14T17:55:34","slug":"how-to-track-pdf-downloads-with-google-tag-manager","status":"publish","type":"post","link":"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/","title":{"rendered":"How to track PDF downloads with Google Tag Manager"},"content":{"rendered":"<p>Tracking PDF downloads using Google Tag Manager (GTM) involves setting up a tag and trigger that fires when users download PDF files from your website. This can be valuable for measuring engagement, user behavior, and the success of downloadable content. Here&#8217;s how you can set up PDF download tracking in Google Tag Manager.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#Why_Track_PDF_Downloads\" title=\"Why Track PDF Downloads?\">Why Track PDF Downloads?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#Steps_to_Track_PDF_Downloads_in_Google_Tag_Manager\" title=\"Steps to Track PDF Downloads in Google Tag Manager\">Steps to Track PDF Downloads in Google Tag Manager<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#Step_1_Identify_the_Trigger_for_PDF_Downloads\" title=\"Step 1: Identify the Trigger for PDF Downloads\">Step 1: Identify the Trigger for PDF Downloads<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#Step_2_Create_a_Tag_to_Send_Data_to_Google_Analytics\" title=\"Step 2: Create a Tag to Send Data to Google Analytics\">Step 2: Create a Tag to Send Data to Google Analytics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#Step_3_Test_the_Trigger_and_Tag\" title=\"Step 3: Test the Trigger and Tag\">Step 3: Test the Trigger and Tag<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#Step_4_Publish_the_Container\" title=\"Step 4: Publish the Container\">Step 4: Publish the Container<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#Advanced_PDF_Download_Tracking_Optional\" title=\"Advanced PDF Download Tracking (Optional)\">Advanced PDF Download Tracking (Optional)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Why_Track_PDF_Downloads\"><\/span>Why Track PDF Downloads?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Tracking PDF downloads can help you understand how users interact with your content. It can show how popular certain resources are, whether users are engaging with valuable documents, and help you assess the effectiveness of your marketing materials. By tracking PDF downloads, you can:<\/p>\n<ul>\n<li>Measure the popularity of downloadable content (e.g., whitepapers, eBooks, brochures).<\/li>\n<li>Track user engagement with high-value content.<\/li>\n<li>Include this data in Google Analytics to inform marketing and content strategies.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Steps_to_Track_PDF_Downloads_in_Google_Tag_Manager\"><\/span>Steps to Track PDF Downloads in Google Tag Manager<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_Identify_the_Trigger_for_PDF_Downloads\"><\/span>Step 1: Identify the Trigger for PDF Downloads<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>To track PDF downloads, you need to create a trigger that fires when a user clicks on a link to download a PDF. You can target the file type by looking at the <code>href<\/code> attribute of links, which typically contains the file extension (e.g., <code>.pdf<\/code>).<\/p>\n<p>Here\u2019s how to create a trigger for PDF downloads:<\/p>\n<ol>\n<li><strong>Open Google Tag Manager<\/strong>:\n<ul>\n<li>Log into your Google Tag Manager account.<\/li>\n<li>Select the container you want to set up the tracking for.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Create a New Trigger<\/strong>:\n<ul>\n<li>In the GTM dashboard, go to the <strong>Triggers<\/strong> section and click <strong>New<\/strong> to create a new trigger.<\/li>\n<li>Choose <strong>Click \u2013 Just Links<\/strong> as the trigger type.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Configure the Trigger<\/strong>:\n<ul>\n<li>Choose <strong>Some Link Clicks<\/strong> to ensure the trigger only fires for specific links (PDF downloads, in this case).<\/li>\n<li>Under the trigger conditions, set the following:\n<ul>\n<li><strong>Click URL<\/strong> contains <code>.pdf<\/code><\/li>\n<\/ul>\n<\/li>\n<li>This condition will trigger the tag whenever a user clicks on a link that contains <code>.pdf<\/code> in its URL, indicating a PDF download link.<\/li>\n<\/ul>\n<p>Example:<\/p>\n<ul>\n<li><strong>Click URL<\/strong> contains <code>.pdf<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>Save the Trigger<\/strong>:\n<ul>\n<li>After setting the conditions, click <strong>Save<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_2_Create_a_Tag_to_Send_Data_to_Google_Analytics\"><\/span>Step 2: Create a Tag to Send Data to Google Analytics<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Once the trigger is set up, you&#8217;ll need to create a tag to send data to Google Analytics (or another analytics platform) when the PDF download link is clicked.<\/p>\n<ol>\n<li><strong>Create a New Tag<\/strong>:\n<ul>\n<li>In GTM, go to the <strong>Tags<\/strong> section and click <strong>New<\/strong>.<\/li>\n<li>Choose <strong>Tag Configuration<\/strong> and select the tag type that matches your analytics setup. For Google Analytics, choose either <strong>Universal Analytics<\/strong> or <strong>GA4 Event<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Configure the Tag for Google Analytics<\/strong>:\n<ul>\n<li>For <strong>Universal Analytics<\/strong>:\n<ul>\n<li>Select <strong>Event<\/strong> as the Track Type.<\/li>\n<li>Set up the event with the following parameters:\n<ul>\n<li><strong>Category<\/strong>: <code>PDF Downloads<\/code> (or a category that makes sense for your data).<\/li>\n<li><strong>Action<\/strong>: <code>Download<\/code> (to specify that the user downloaded a file).<\/li>\n<li><strong>Label<\/strong>: <code>{{Click URL}}<\/code> (to capture the URL of the downloaded PDF, so you know which PDF was downloaded).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Example:<\/p>\n<ul>\n<li><strong>Category<\/strong>: <code>PDF Downloads<\/code><\/li>\n<li><strong>Action<\/strong>: <code>Download<\/code><\/li>\n<li><strong>Label<\/strong>: <code>{{Click URL}}<\/code><\/li>\n<\/ul>\n<\/li>\n<li>For <strong>Google Analytics 4 (GA4)<\/strong>:\n<ul>\n<li>Choose <strong>Event Name<\/strong> as <code>file_download<\/code> (or a custom event name you prefer).<\/li>\n<li>Add parameters for the event:\n<ul>\n<li><strong>file_name<\/strong>: <code>{{Click URL}}<\/code> (to capture the PDF name or URL).<\/li>\n<li>You can add additional parameters like <code>file_category<\/code> or <code>file_type<\/code> if you want more detailed tracking.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Example:<\/p>\n<ul>\n<li><strong>Event Name<\/strong>: <code>file_download<\/code><\/li>\n<li><strong>file_name<\/strong>: <code>{{Click URL}}<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>Select the Trigger for the Tag<\/strong>:\n<ul>\n<li>Choose the trigger you created earlier (for PDF downloads) to ensure the tag fires when the PDF link is clicked.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Save the Tag<\/strong>:\n<ul>\n<li>After configuring the tag, click <strong>Save<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_3_Test_the_Trigger_and_Tag\"><\/span>Step 3: Test the Trigger and Tag<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Before publishing your changes, it&#8217;s essential to test whether your PDF download tracking is working correctly.<\/p>\n<ol>\n<li><strong>Enable Preview Mode<\/strong>:\n<ul>\n<li>In GTM, click <strong>Preview<\/strong> to enable Debug Mode.<\/li>\n<li>This will allow you to see in real-time which tags are firing when you interact with your site.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Test on the Website<\/strong>:\n<ul>\n<li>Open your website in a new tab while Preview mode is enabled.<\/li>\n<li>Click on a PDF download link.<\/li>\n<li>In the GTM preview mode, verify that the trigger fires and that the correct tag (Google Analytics event) is being sent.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Check in Google Analytics<\/strong>:\n<ul>\n<li>For <strong>Universal Analytics<\/strong>: Go to <strong>Real-Time &gt; Events<\/strong> and check if the event appears when a PDF is clicked.<\/li>\n<li>For <strong>GA4<\/strong>: Go to <strong>Real-Time &gt; Events<\/strong> or <strong>Engagement &gt; Events<\/strong> to verify that the PDF download event is showing up.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_4_Publish_the_Container\"><\/span>Step 4: Publish the Container<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Once you&#8217;re satisfied that the tag and trigger are firing correctly, you can publish the changes in GTM.<\/p>\n<ol>\n<li><strong>Submit and Publish<\/strong>:\n<ul>\n<li>Go to the <strong>Versions<\/strong> section in GTM and click <strong>Submit<\/strong>.<\/li>\n<li>Add a version description (e.g., &#8220;Added PDF download tracking&#8221;).<\/li>\n<li>Click <strong>Publish<\/strong> to apply the changes to your live website.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Advanced_PDF_Download_Tracking_Optional\"><\/span>Advanced PDF Download Tracking (Optional)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li><strong>Track Specific PDFs<\/strong>:\n<ul>\n<li>If you want to track specific PDFs separately, you can refine the trigger by specifying the PDF file name or URL path.<\/li>\n<li>For example, you could use a trigger condition like:\n<ul>\n<li><strong>Click URL<\/strong> contains <code>eBook.pdf<\/code><\/li>\n<\/ul>\n<\/li>\n<li>This would only trigger the tag for PDF downloads with <code>eBook.pdf<\/code> in the URL.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Track Downloads via Data Layer<\/strong>:\n<ul>\n<li>If your website dynamically loads PDFs or if you have a more complex setup, you might want to push information about the PDF download to the Data Layer and fire the tag from there.<\/li>\n<li>Example:\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">javascript<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\">Copy code<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-javascript\"><span class=\"hljs-variable language_\">window<\/span>.<span class=\"hljs-property\">dataLayer<\/span>.<span class=\"hljs-title function_\">push<\/span>({<br \/>\n  <span class=\"hljs-string\">'event'<\/span>: <span class=\"hljs-string\">'pdfDownload'<\/span>,<br \/>\n  <span class=\"hljs-string\">'pdfUrl'<\/span>: <span class=\"hljs-string\">'https:\/\/www.example.com\/files\/whitepaper.pdf'<\/span><br \/>\n});<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li>In GTM, you can create a trigger that fires when the <code>pdfDownload<\/code> event is pushed to the Data Layer.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Track PDF Downloads as Custom Dimensions<\/strong>:\n<ul>\n<li>If you want to capture additional information about the PDF, like the document title or category, you can send this as a custom dimension in Google Analytics. In your tag configuration, map the custom dimension index and value.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Track PDF Downloads with Custom JavaScript<\/strong>:\n<ul>\n<li>If you need to track more specific interactions, you can create a custom HTML tag that uses JavaScript to listen for PDF downloads and push data to the Data Layer or directly to Google Analytics.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Tracking PDF downloads using Google Tag Manager is a straightforward process that provides valuable insights into how users interact with downloadable content on your website. By using triggers based on the file type (PDF), setting up Google Analytics events, and testing the implementation, you can effectively monitor the success of your downloadable resources. This helps you understand user engagement and optimize your content strategy based on user behavior.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tracking PDF downloads using Google Tag Manager (GTM) involves setting up a tag and trigger that fires when users download PDF files from your website&#8230;.<\/p>\n","protected":false},"author":214,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10608","post","type-post","status-publish","format-standard","hentry","category-digital-marketing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to track PDF downloads with Google Tag Manager - CEOweb Ltd. Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to track PDF downloads with Google Tag Manager - CEOweb Ltd. Blog\" \/>\n<meta property=\"og:description\" content=\"Tracking PDF downloads using Google Tag Manager (GTM) involves setting up a tag and trigger that fires when users download PDF files from your website....\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"CEOweb Ltd. Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-14T17:55:34+00:00\" \/>\n<meta name=\"author\" content=\"Emmanuel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Emmanuel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/\",\"url\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/\",\"name\":\"How to track PDF downloads with Google Tag Manager - CEOweb Ltd. Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\"},\"datePublished\":\"2024-11-14T17:55:34+00:00\",\"dateModified\":\"2024-11-14T17:55:34+00:00\",\"author\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\"},\"breadcrumb\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ceowebltd.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to track PDF downloads with Google Tag Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\",\"url\":\"https:\/\/ceowebltd.com\/blog\/\",\"name\":\"CEOweb Ltd. Blog\",\"description\":\"Guest Posting - Digital Marketing &amp; Web Services\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ceowebltd.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\",\"name\":\"Emmanuel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g\",\"caption\":\"Emmanuel\"},\"url\":\"https:\/\/ceowebltd.com\/blog\/author\/emmanuel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to track PDF downloads with Google Tag Manager - CEOweb Ltd. Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to track PDF downloads with Google Tag Manager - CEOweb Ltd. Blog","og_description":"Tracking PDF downloads using Google Tag Manager (GTM) involves setting up a tag and trigger that fires when users download PDF files from your website....","og_url":"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/","og_site_name":"CEOweb Ltd. Blog","article_published_time":"2024-11-14T17:55:34+00:00","author":"Emmanuel","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Emmanuel","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/","url":"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/","name":"How to track PDF downloads with Google Tag Manager - CEOweb Ltd. Blog","isPartOf":{"@id":"https:\/\/ceowebltd.com\/blog\/#website"},"datePublished":"2024-11-14T17:55:34+00:00","dateModified":"2024-11-14T17:55:34+00:00","author":{"@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f"},"breadcrumb":{"@id":"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ceowebltd.com\/blog\/how-to-track-pdf-downloads-with-google-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ceowebltd.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to track PDF downloads with Google Tag Manager"}]},{"@type":"WebSite","@id":"https:\/\/ceowebltd.com\/blog\/#website","url":"https:\/\/ceowebltd.com\/blog\/","name":"CEOweb Ltd. Blog","description":"Guest Posting - Digital Marketing &amp; Web Services","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ceowebltd.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f","name":"Emmanuel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g","caption":"Emmanuel"},"url":"https:\/\/ceowebltd.com\/blog\/author\/emmanuel\/"}]}},"_links":{"self":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/users\/214"}],"replies":[{"embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/comments?post=10608"}],"version-history":[{"count":1,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10608\/revisions"}],"predecessor-version":[{"id":10609,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10608\/revisions\/10609"}],"wp:attachment":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/media?parent=10608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/categories?post=10608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/tags?post=10608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}