Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Transition API - noDataForAction - for specific pageUrl

$
0
0

@galin4o122 wrote:

I’m using Piwik in angular4 app.

When testing with localhost - and passing only specific route /example, then Piwik manages to save my results and when I want to see the transitions for this page I was able to see - “localhost/example”, then I try to fetch from the Transition API information for pageUrl=“http ://localhost/example” everything is ok.

The problem came when I started to set custom url the whole href which was - “http://localhost:4200/#/example” and respectively when requesiting to set this url to pageURL, then the Transition API refused to give me information for this pageURL.

Example: Transition API

  1. /example
  • tracked in piwik as localhost/example - not able to redirect me when I click on it, but when I pass it to api call as pageURL=“http://localhost/example” it returns the data I want
  1. /example
  • tracked in piwik as http ://localhost:4200/#/example - able to redirect me when I click on it, but when I pass it to api call as pageURL=“http ://localhost:4200/#/example” it doesn’t return any data.

If anyone have something in mind, could you please share it with me, because I’m struggling with this for few days already. Thanks in advance

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles