[UA] Goals for downloads [Legacy]

Treat file downloads as a conversion.
You are viewing a legacy article about Universal Analytics. Learn more about Google Analytics 4 replacing Universal Analytics.

This article covers how to track downloads as goal conversions. To do this, you will first need to configure the download link in one of two ways:

  • as an event
  • as a virtual page or screen view

If you configure the link as a virtual page or screen view, the overall page or screen view count for your website or app will be inflated by the number of clicks on that link. For this reason, we recommend using event tracking to configure download links.

Track downloads using an event goal

To track the download link using an event goal, first set up event tracking. For details on how to set up event tracking, follow the instructions in the Developer Guide for your specific environment:

Track downloads using a virtual page or screen view destination goal

To track the download link using a destination goal, you must modify your tracking code to create a virtual page or screen view for the download link. Once you create the virtual page or screen, you can supply that as the value for the destination goal. Learn more about how to track virtual page or screen views in our Developer Guides:

Was this helpful?

How can we improve it?
true
Choose your own learning path

Check out google.com/analytics/learn, a new resource to help you get the most out of Google Analytics 4. The new website includes videos, articles, and guided flows, and provides links to the Google Analytics Discord, Blog, YouTube channel, and GitHub repository.

Start learning today!

Search
Clear search
Close search
Google apps
Main menu
16820580610279623929
true
Search Help Center
true
true
true
true
true
69256
true
false