-
Notifications
You must be signed in to change notification settings - Fork 0
implementation #1
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
base: main
Are you sure you want to change the base?
Conversation
for (k, v) in &track.properties { | ||
match k.as_str() { | ||
"category" => { | ||
map.insert("e_c".to_string(), v.clone()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this going to overwrite the "track" added above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexcasalboni yes :) to matomo, track is a required property, and it triggers errors if not defined. Thats why I added "Track" as default value, but it should be override if provided.
cvars.insert("client_model".into(), client.user_agent_model.clone()); | ||
} | ||
|
||
if allow_sensitive { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please explain this logic? I was expecting no "sensitive" data to be provided if allow_sensitive
is false 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexcasalboni Matomo restricts some fields like country, region, or city unless a token_auth is provided. When allow_sensitive is false, I fallback to storing them as custom variables (_cvar) instead. That way, we retain the data without violating Matomo's constraints.
Co-authored-by: Alex Casalboni <[email protected]>
Co-authored-by: Alex Casalboni <[email protected]>
Co-authored-by: Alex Casalboni <[email protected]>
Overview
The Matomo Analytics Component by Edgee allows you to seamlessly send analytics events from your applications directly to Matomo via server-side requests at the edge.
This component is designed for developers who want to enhance user tracking and analytics accuracy while reducing the dependency on client-side SDKs and JavaScript trackers. It leverages Edgee’s edge computing platform to process and forward events with low latency and full privacy control.
🔑 Key Features & Benefits
Features
token_auth
when needed to access restricted Matomo featuresBenefits
Use Cases
Additional Resources