So far Piwik is great and easy and all things nice, but I am having a spot of trouble with goal conversions for a download link using PHP image tracking. The goal is being triggered for every visit to the page, not the actual download only.
Normal page tracking is working 100% with this code:
The problem is more that conversions ARE showing up everywhere as false positives. I have since realised I made a mistake in the RegEx of the ‘Where filename is’ section in Piwik. I forgot to escape the second ‘.’ of the filename extension.
Also, I was including the PHP goal code on every page. I have changed that to be only on the relevant page.
I am now monitoring if it works, but traffic to my site is slow today.