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

always return full Referrer URL in Live​​.getLastVisitDetails API #11976

Closed
mattab opened this issue Aug 27, 2017 · 0 comments · Fixed by #11579
Closed

always return full Referrer URL in Live​​.getLastVisitDetails API #11976

mattab opened this issue Aug 27, 2017 · 0 comments · Fixed by #11579
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Aug 27, 2017

Currently the field referrerUrl sometimes does not return the referrer URL value. When the referrer was a search engine and we detected there was no keyword, the value becomes eg. <referrerUrl>http://piwik.org/faq/general/#faq_144</referrerUrl>.
In the UI we would leave unchanged but in the API instead:

  • make referrerliUrl always the log_visit.referer_url field.
  • when we detected a "Keyword not defined" type keyword, maybe we could add a new field referrerUrlHelpNoKeyword or so?

This is important because the Live​​.getLastVisitDetails API returns the raw user and action data. It's so useful as it provides many interesting metadata about visitors and what they do. Via this API, we aim to return the raw data unchanged as much as possible.

A customer's use case is using the Baidu referrer URL to detect the eqid parameter which can be used via API to get back the full keyword for this user.

(If possible we squeeze this in 3.1.0 otherwise in the next release)

@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Aug 27, 2017
@mattab mattab added this to the 3.1.0 milestone Aug 27, 2017
@sgiehl sgiehl self-assigned this Aug 27, 2017
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

Successfully merging a pull request may close this issue.

2 participants