Woopra Forums » General Discussion » How Do I...

How to track downloads?

(2 posts)
  • Started 4 months ago by braqueiscool
  • Latest reply from jad
  • braqueiscool
    Member

    I am using Woopra manually (i.e., by sticking the JavaScript into my hand-coded
    HTML), and I'd like to track downloads for certain links on my site. Is there a
    way to do this? As for now, I don't receive *any* download data from the Woopra
    client; my web-site receives only a few hits a day, but I *know* that there have
    been downloads, since I have downloaded a few of the files myself (to install a
    little utility I wrote on my computer at the office). Ideally, I'd be able to do
    something like:

    <script type="text/javascript" src="SOMETHING HERE">
    Here's a cool file
    </script>

    or equivalent for the links that I want to track, but I'd settle for having all
    downloads tracked. Advice appreciated!

    Posted 4 months ago #
  • Jad Y.
    Administrator

    Woopra tracks downloads by default, you don't have to add any special code to the script. If you manually built your own website, make sure that you are not suppressing javascript events, or having some errors.
    If you would like to test things manually, call the following function when a user downloads a file, something like:

    <script type="text/javascript">

    WoopraEvent('download','somefile.pdf');

    </script>

    Posted 4 months ago #

RSS feed for this topic

Reply

You must log in to post.