Add `filter_limit` parameter to API requests to retrieve all sites

Created on 13 March 2025, 11 days ago

**Description:**
Currently, the Matomo API request in the module is apparently limited to 100 entries by default. As a result, Drupal can only access the first 100 sites. The only workaround without modifying the code is to create another account with a separate auth token to fetch the next batch.

To fix this, the API request should include the `filter_limit` parameter. Setting it to a high number or `-1` would allow retrieving all sites. Ideally, this should be configurable in the module settings.

**Proposed Solution:**
- Add `filter_limit` to the API request.
- Make it configurable in the module settings to allow customization.

**Expected Outcome:**
Drupal should be able to fetch all sites without requiring multiple accounts.

🐛 Bug report
Status

Active

Version

1.6

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024