Package org.dspace.matomo.factory
Class MatomoRequestDetailsEnricherFactory
java.lang.Object
org.dspace.matomo.factory.MatomoRequestDetailsEnricherFactory
This factory contains all the standard enricher that will add those parameters to the
MatomoRequestDetails request- Author:
- Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com)
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatomoRequestDetailsEnricherAdds theaction_nameto the requeststatic MatomoRequestDetailsEnricherAdds thedownloadlink of the tracked bitstreamstatic MatomoRequestDetailsEnricherFactory method that creates a new instance of MatomoRequestDetailsEnricher specialized for tracker identification enrichment.static MatomoRequestDetailsEnricherAdds theurlof the tracked element.static MatomoRequestDetailsEnricherAdds theuser-agentto the Matomo request
-
Method Details
-
userAgentEnricher
Adds theuser-agentto the Matomo request- Returns:
-
actionNameEnricher
Adds theaction_nameto the request- Returns:
-
urlEnricher
Adds theurlof the tracked element.- Returns:
-
downloadEnricher
Adds thedownloadlink of the tracked bitstream- Returns:
-
trackerIdentifierEnricher
Factory method that creates a new instance of MatomoRequestDetailsEnricher specialized for tracker identification enrichment. This enricher is responsible for adding tracker identification parameters to Matomo tracking requests, ensuring proper tracking attribution in the Matomo analytics system.- Returns:
- A MatomoRequestDetailsEnricher instance configured to add tracker identification parameters to Matomo requests. The returned instance is specifically a MatomoRequestTrackerIdentifierParamEnricher.
- See Also:
-