Do you know? You may even track website events in WordPress. Google Analytics by Yoast plugin have some creative and incredible features, in which one of those can track download files like pdf, doc, exe and also can track particular labels like affiliate, download etc.
Follow the below steps,
- Install Google Analytics by Yoast plugin in your WordPress
- Go inside Google Analytics by Yoast settings > under Advance tab. Enable event tracking and also can add additional files and labels for tracking as per your choice.
Hopefully, this topic will help you!