As I can't choose the ID when creating a new Goal, I have to keep a strict click-flow when creating new website profiles on the server and once something has gone wrong (like, say, accidentally deleted the goal) I'm wrecked and have to wrestle with the DB.
It would be really great if one could either choose an (unused) ID when creating a new goal or be able to track Goals by Name on the JS API.
Thanks for the suggestion, I think it could make sense to track goals by name indeed.
What we could do is re-use the existing "Goal name" and the feature becomes very cool. It will help users integrate Piwik easily as keeping track of IDs is just un-natural I agree!
This would be awesome to have!
Tasks off top of my head: - add unit tests/integration tests - Match goal name case insensitive - When creating a goal, must check there is not already a goal with the same name/different case.