public class MatomoTracker extends Object
| Constructor and Description |
|---|
MatomoTracker(TrackerConfiguration trackerConfiguration)
Creates a new Matomo Tracker instance
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
track(@NonNull Action action)
Executes a POST call to the specified Matomo Tracking HTTP API endpoint.
|
public MatomoTracker(TrackerConfiguration trackerConfiguration)
trackerConfiguration - Configurations parameters (you can use a builder)public CompletableFuture<Void> track(@NonNull @NonNull Action action)
action - Contains the required request parameters of the action to be trackedCompletableFuture that can be used to ensure whether the request is done or was errornousCopyright © 2022 drjekyll.org. All rights reserved.