Hi! I’m currently migrating a site from Google Tag Manager to Matomo Tag Manager and encountered an issue I’m not sure how to solve.
In the GTM setup there’s a lookup table (regex table) that identifies all url’s with a certain query parameter and then masks the following value in the url parameter to anonymise PII.
Example of url paths to mask:
How it’s solved in GTM:
|Input regex pattern||Output|
As the names of the folders and subfolders vary, I want to find a generic solution in MTM that doesn’t force me to add lines for every possible folder and sub-folder combination.
As far as I can tell, I’m not able to create such a generic solution using the lookup table in MTM, as it doesn’t allow me to call other variables within the output field (as done in the example table above).
Any tips on how to solve this are highly appreciated!