Hi all, I’m new to Piwik and love it, but I have a request for something that I can’t currently figure out how to do with the Goal Tracker API. I would like to have a goal that I can dynamically give extra parameters to, and then have a table to break down where the users are clicking on these goals. These extra variables can be sent in using the events in Google Analytics.
To illustrate, here is my site: www.oxyelite-pro.com
As an affiliate marketer, my main goal is to get someone to the Buy Hydroxyelite Fat Burner Online | Hi Tech Pharma link - which is simply a 307 redirect to whatever store I am currently affiliating with. I don’t have a shopping cart - I just need to get them to the store and hope they buy from there.
What I’d like is to have a main goal named “Buy”, but then I need two extra sub-parameters:
- The page of my site they’re currently on
- The Buy link that they click on (Header, Sidebar, or In-Content)
As this is a growing site with more and more pages, having static goals for each of these would cause too many permutations. But if I can have my PHP code dump in a couple of variables, I can then have Piwik break it down in a nice table.
Is there any way to currently do this? Any possibility of adding it to the GoalTracking API in the future?