Adding Goals with URLs that contains the "#" symbol

Hello everyone,

For a project I’m working on, we are using Bootstrap and Backbone, which means that some URLs in the app look like this:

I was trying to set a goal to my “upgrade to premium” page but after I did it I don’t get anything tracked and I believe that it has something to do with the “#” symbol in the URL.

The URL I was trying to set is like this:

I tried also adding the URL stating:

Where the URL “Contains” Pattern “#premium

And also just:

Where the URL “Contains” Pattern “premium” (without the “#” in the pattern)

But so far nothing gets tracked… has someone had this issue, and more important, has someone found a workaround to solve it?

Thank you very much for your kind help!


Hi Carlos,

check you are using Piwik 2.15.0

if you are and can reproduce this bug then definitely please create a bug report @ Issues · matomo-org/piwik · GitHub and we will do our best to fix it soon!