Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to track Goals by Name instead of Goal ID #4665

Open
nkuehn opened this issue Feb 11, 2014 · 2 comments
Open

Allow to track Goals by Name instead of Goal ID #4665

nkuehn opened this issue Feb 11, 2014 · 2 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@nkuehn
Copy link

nkuehn commented Feb 11, 2014

Hello,

I'm fighting a bit with keeping the Goal IDs consistent across a set of websites that are using the identical Javascript and Webfront implementation (I'm tracking some goals manually from an ajax application).

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.

@mattab
Copy link
Member

mattab commented Feb 15, 2014

Thanks for the suggestion, I think it could make sense to track goals by name indeed.

@mattab
Copy link
Member

mattab commented Apr 6, 2014

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.

@nkuehn nkuehn added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants