How To Track Pdf Download In Yii App And Google Analytics


Looking for solution for pdf downloads done on the site using google analytics. Have existing site which is developed in yii and have basic analytics already included but does see any downloads getting tracked. Pdf download are not present in link but it goes through action.So there no straight forward download link that adds to the complexity

Any suggestions?