I’ve introduced two approaches for anonymization, the Component Approach, and the Inline Approach.
They diverge significantly in implementation.
Choose Inline approach if:
- You want to minimize data loss due to PII*
- Your components are going through major changes that may introduce PII in them
- You’re using a component library. It’s harder to do the Component Approach if you can combine components in unexpected ways.
Choose Component approach if:
- You’re security conscious, the whitelist helps control what gets through.
- You use a CMS with templates for components rather than a component library.
In the end, I usually recommend the Inline Approach.
For most sites, it’s easier to review what PII you have rather than how components are being developed.
The data reported is much more granular and aggregatable.
– Samy
Component Analytics daily
Every weekday, I publish about Component Analytics and analytics collection strategies.
