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

Allow Custom Dimensions to be updated by Ping (Heartbeat) #19205

Open
Starker3 opened this issue May 10, 2022 · 1 comment
Open

Allow Custom Dimensions to be updated by Ping (Heartbeat) #19205

Starker3 opened this issue May 10, 2022 · 1 comment
Labels
c: Custom Dimensions For issues related to the Custom Dimensions plugin. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@Starker3
Copy link
Contributor

At present a Custom Dimension needs to be set before a pageview tracking request is sent. If it is not set before, then a pageview tracking request needs to be sent in order for it to be tracked.

However, the ping tracking request from the hearbeat timer (Or manually triggered) includes the Custom Dimension in the tracking request in order to get an accurate "Time on Dimension" for Actions dimensions (Not sure about Visit Dimensions).

It might be really useful if this could be used to track a new Custom Dimension or to update an existing Custom Dimension in the same page without needing to send a new Pageview tracking request.

At present Matomo seems to ignore the updated dimension if its changed or if a new one is tracked.

Eg. a Pageview request after a dimension is set to 1:
image

And then a ping request after it was updated to 2:
image

Doesn't get updated in the visit log:
image

@Starker3 Starker3 added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label May 10, 2022
@heurteph-ei
Copy link

=> If implemented, don't forget to add the "ping" tag request in MTM... (in order to be able to send the dimension change to Matomo)

@sgiehl sgiehl added the c: Custom Dimensions For issues related to the Custom Dimensions plugin. label May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Custom Dimensions For issues related to the Custom Dimensions plugin. 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

4 participants