# GA Event tracking (download) stopped working

**URL:** <https://forums.realmacsoftware.com/t/ga-event-tracking-download-stopped-working/15391>\
**Category:** RapidWeaver Classic\
**Created:** [July 25, 2017, 4:07pm UTC](https://forums.realmacsoftware.com/t/ga-event-tracking-download-stopped-working/15391 "2017-07-25T16:07:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![1611mac](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/1611mac/32/5675_2.png) [@1611mac](https://forums.realmacsoftware.com/u/1611mac)\
**Post date:** [July 25, 2017, 4:07pm UTC](https://forums.realmacsoftware.com/t/ga-event-tracking-download-stopped-working/15391/1 "2017-07-25T16:07:10Z")

</div>

Until recently my google analytics EVENT tracking code for file downloads worked great (for years). But now I see that no event (download) clicks are being tracked. I have not changed code on the site. Anyone else having EVENT tracking issues? Please note that page logging works fine.

Here is a generic example of my event tracking code:

`<a onclick="var that=this;_gaq.push(['_trackEvent','Download','PDF',this.href]);setTimeout(function(){location.href=that.href;},400);return false;" href="pdfs/my-file.pdf">Download my file</a`
