Navigation Menu

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

Track & Report on Custom Variables per page view #2432

Closed
mattab opened this issue May 16, 2011 · 6 comments
Closed

Track & Report on Custom Variables per page view #2432

mattab opened this issue May 16, 2011 · 6 comments
Assignees
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. 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 May 16, 2011

We wish to track & report Custom Variables for each page view.

Currently Custom Variables tracking is bound to the visit, but it can be very useful to track custom values for each page, for example: category of the page, type of user visiting the page, etc.

This will also be used to track "Product / SKU / Category" views for Ecommerce shops, and then process the "Product Conversion rate" (page views/ Ecommerce orders containing this product) for each product (or category of products).

I expect a new set of API functions to get the top Page custom variables.

Also, tracking API (JS/PHP) setCustomVariable() / getCustomVariable() will have a new parameter "scope" (to stay consistent with google analytics).

@mattab
Copy link
Member Author

mattab commented May 17, 2011

(In [4709]) Refs #898

  • New segment visitType=returningCustomer for visits that are returning, and bought something in a previous visit + integration tests
    Refs Track & Report on Custom Variables per page view #2432
  • Tracking Custom vars per page + PHP Tracking API + tests
  • TODO: JS API + js tests + Reporting
    Also trying to improve mysqli build..

@mattab
Copy link
Member Author

mattab commented May 18, 2011

(In [4717]) Fixes #2434 Now Actions.get* and Goals.get* (which were the two API not supporting all segments) have full support of all segments + adding tests

Refs #2432

  • Processing Custom vars per page: they are merged in the existing Custom Variables output (rather than create a separate one)
  • So there is no need for a new Report in the UI, Custom variables of scope "page" are displayed in the "Visitors > Custom Variables" report
  • Displaying Custom vars per page in the Live API output

@mattab
Copy link
Member Author

mattab commented May 18, 2011

(In [4719]) Fixes #2432

  • Last missing piece of "Custom Variables" with a scope "page", the JS API + tests

@mattab
Copy link
Member Author

mattab commented May 20, 2011

Updated Custom Variables user doc and also updated Javascript Tracking of custom variables doc

@mattab
Copy link
Member Author

mattab commented May 20, 2011

(In [4731]) Refs #2432 Increasing Custom Variable truncation limit to 100 chars (name and value each allowed 100 chars long) + tests
This is to allow more safety margin in tracking Ecommerce product name views refs #898
Note: we do really need to work on Refs #2321 soon ;)

@mattab
Copy link
Member Author

mattab commented May 20, 2011

(In [4732]) Refs #2432 Displaying Custom Variables per page in the tooltip on each page view in the visitor Log

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. 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

1 participant