---
title: How To Set Up Download Tracking in elcomCMS
description: One of the nice features in elcomCMS is it's auto insert of Google Analytics document download tracking. In this post we go through how to set it up.
---

[XEN Digital Marketing and HubSpot Blog ](https://www.xen.com.au/blog)

# [How To Set Up Download Tracking in elcomCMS](https://www.xen.com.au/blog/setting-download-tracking-elcomcms)

 Written by [Craig Bailey](https://www.xen.com.au/blog/author/craig-bailey) | April 15, 2014

## Setting Up Download Tracking in elcomCMS

One of the nice features in [elcomCMS](http://www.elcomcms.com/Product) is it's ability to automatically insert Google Analytics tracking into documents.

Here's how to set it up:

1. Enable the Google Analytics _gaq.push in Global Site Settings

<https://www.xen.com.au/hubfs/Imported_Blog_Media/elcomcms-global-settings-for-google-analytics.png>

2. When adding/inserting a document into an article, tick the 'Enable google Tracking' checkbox (if it isn't already ticked)

<https://www.xen.com.au/hubfs/Imported_Blog_Media/elcomcms-add-document-google-analytics.png>

## Viewing in Google Analytics

3. Downloads will appear as Pageviews in your Google Analytics reports

Each time a file is downloaded it is logged as a 'page view' in analytics.  
 You can filter the list of pages (eg using a part of the download filename):

<https://www.xen.com.au/hubfs/Imported_Blog_Media/google-analytics-pageviews.png>

4. You can also use widgets in your dashboards to show top downloads

Use a filer such as 'only show' and 'PDF' to highlight just the PDF downloads.

<https://www.xen.com.au/hubfs/Imported_Blog_Media/downloads-widget-setup.png>

Here's how the widget will look in a Google Analytics dashboard:

<https://www.xen.com.au/hubfs/Imported_Blog_Media/google-analytics-widget.png>

[View full post](https://www.xen.com.au/blog/setting-download-tracking-elcomcms)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Craig Bailey"
  },
  "dateModified" : "2018-09-04T08:24:11.620Z",
  "datePublished" : "2014-04-15T23:40:20Z",
  "headline" : "How To Set Up Download Tracking in elcomCMS",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://www.xen.com.au/blog/setting-download-tracking-elcomcms",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60.0,
      "url" : "https://cdn2.hubspot.net/hubfs/306227/xen-b2b/logo/xen-logo.png",
      "width" : 145.2
    },
    "name" : "XEN Digital Marketing and HubSpot Blog"
  }
}
```