Events not appearing in segment by part of Page URL

(Inge) #1

I am very new at piwik, and trying to figure out how to get it working with angular.

I have been trying to register events using the javascript API in the SPA client - and that works fine, the data comes into piwik.

However, if I try to segment based on what subsite on my website is being accessed, I am not getting any data. More correctly, I did manage to get data in the segmented events view in one of my tests, but I am unable to reproduce this.

As far as I can tell, when I track an event, for example like this:

_paq.push([‘trackEvent’, ‘GoToBanner’, $location.path()]);

it also includes the absolue URL to the page in the http request to piwik.php.
If this is http://mysite/partner/test1/somethinghere, when I go to create a new segment and select Action -> Page URL, it even suggests URL’s that exist in the collected data. However, once the segment is created - no data is available.

The segment is processed in real time. There is not a lot of data in the database (a few hundred requests at this time).

Hm. I just tried adding a segment where I set up an OR between
Page url CONTAINS “test1” OR Page url DOES NOT CONTAIN “test1” - still no data.

Anyone have some tips on what I might be missing here?

Edit: if I do segments on other fields, it seems to work - e.g. operating system WIN gave event data. also operating system OR Page url contains.