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

[Bug] Downloads not correctly reported #22801

Closed
4 tasks done
pef-tl opened this issue Nov 26, 2024 · 4 comments
Closed
4 tasks done

[Bug] Downloads not correctly reported #22801

pef-tl opened this issue Nov 26, 2024 · 4 comments
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member

Comments

@pef-tl
Copy link

pef-tl commented Nov 26, 2024

What happened?

Hello,
I want to register some file downloads in Matomo in dedicated "Downloads" report.
But when I use the javascript method 'tracklink' with 'download' parameter, I can only see some sort of download event in user activity :
image
But nothing in Downloads report :
image

What should happen?

Display downloads reports

How can this be reproduced?

I use javacript _paq.push('trackLink','http://...','download') to send this request :
https://xxx.matomo.cloud/matomo.php?download=http%3A%2F%2Flocalhost%3A9000%2Fmtm_dl_files%2FCOC_ORIG_RRT105698-RRT10-190243-007.pdf&idsite=2&rec=1&r=969715&h=14&m=3&s=53&url=http%3A%2F%2Flocalhost%2Ftool-park%2Fmytools%2F538847%2Farchive&urlref=http%3A%2F%2Flocalhost%3A9000%2Fapps%2Fapp%2Findex.html%23%2Ftool-park%2Fmytools%2F538847%2Farchive&uid=rolls_test&_id=f37b211d40125e34&_idn=0&send_image=0&_rcn=QRCodes&_refts=1732624389&dimension1=25084&pf_net=30&pf_srv=3&pf_tfr=0&pf_dm1=47&pf_dm2=140&pf_onl=85&pv_id=oxN9c8&uadata=%7B%7D&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=1920x1080

I tried also to append an anchor in the DOM with 'matomo_download' class : same request is sent, but still no report

Matomo version

hosted matomo.cloud

PHP version

No response

Server operating system

No response

What browsers are you seeing the problem on?

Firefox

Computer operating system

No response

Relevant log output

No response

Validations

@pef-tl pef-tl added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Nov 26, 2024
@sgiehl
Copy link
Member

sgiehl commented Nov 26, 2024

Hey @pef-tl,

thanks for raising this issue. Did some time pass by between the download has been tracked and you were looking at the report?
Processing the reports in cloud is not instant, so it might take a couple of hours till data shown in the live reports end up in all other reports.

@pef-tl
Copy link
Author

pef-tl commented Nov 26, 2024

Yes, still no data in report :
image

@randy-innocraft
Copy link

Hi @pef-tl ,

Could you please let us know if you are still not seeing data in your "Downloads" report?

@pef-tl
Copy link
Author

pef-tl commented Jan 15, 2025

Hi,
Report are now correct. I think it was because we had to set full/complete URL of downloaded documents

@pef-tl pef-tl closed this as completed Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member
Projects
None yet
Development

No branches or pull requests

3 participants