Closed devzhr closed 1 year ago
Can you provide the cURL of the failing request?
Which version of the package are you using? (are you pointing to pub.dev or the GitHub repo?)
Have you tried to replace piwik.php
by matomo.php
? Both are supposed to work the same.
Thank you Maniak for your answer
the same request works with postman and not with flutter i used 2.0.0 i tried both piwik.php
and matomo.php
Ok but can you provide the cURL of the failing request (you can find it in the network tab of the dart devtools). This will help to identify what might be going wrong with the request sent from the package.
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
You may use MatomoTracker.instance.initialize( siteId: 6, url: 'https://myhost.matomo.cloud/matomo.php', );
Describe the bug I am experiencing a 403 error when sending tracking data to my Matomo server using the matomo_tracker package in my Flutter app. The same URL works fine when used in native apps (Swift).
To Reproduce Steps to reproduce the behavior:
Expected behavior The tracking data should be sent successfully to the Matomo server without a 403 error.
Smartphone (please complete the following information):
Additional context The same Matomo URL works fine in native apps (Swift). I have already checked the Matomo server settings, site ID, and token authorization, but the issue persists.
Please let me know if there's any known issue or solution for this problem.