Anonymization & Pseudonymization
Anonymization & Pseudonymization Functions
Anonymization and pseudonymization functions are available in all JENTIS Tag Manager accounts. This guide provides an overview of when and how to use each function, along with their intended purposes.
All transformation functions accept a single input parameter and return a transformed output. For more details on transformation function basics, please refer to the Functions (Transformation) Manual.
Pseudonymization
Input Type:
String
Output Type:
String
The pseudonymization function replaces each character in the input string with a random character from the same Unicode general category group (as defined in Unicode TR44). The structure and length of the input are preserved, ensuring the output has a similar format.
Persistence: The output value is consistent per tool on the server-side. This means if you use the same pseudonymization function on the same input (e.g., an IP address) across different tags for the same tool (e.g., Facebook or Google Analytics), the result will remain the same.
Example
Input: "tEst-123.abc"
Output: "aXqo-987.ucd"
Anonymization
Input Type:
String
Output Type:
String
The anonymization function behaves similarly to pseudonymization but does not preserve the output. Each call generates a new random value, even for identical inputs.
Use Case: Ideal when no linkage between transformed values is required or desired.
IP Anonymization Functions
These functions anonymize specific sections of a valid IPv4 address. The output retains a valid IP structure but replaces selected segments with random numbers.
Input Type:
String
(valid IPv4 address)Output Type:
String
(valid IPv4 address)
Available Functions:
Randomize Last IP Section Example:
192.168.0.123
→192.168.0.XXX
Randomize Last 2 IP Sections Example:
192.168.0.123
→192.168.XXX.XXX
Randomize Last 3 IP Sections Example:
192.168.0.123
→192.XXX.XXX.XXX
Randomize All IP Sections Example:
192.168.0.123
→XXX.XXX.XXX.XXX
Note: The output values remain syntactically valid IPv4 addresses, but the randomized segments cannot be used to identify individuals.
Last updated
Was this helpful?