Skip to main content

Hello,

I have in a large majority of the URLs of my application several tokens that refer to elements unique to a user or its structure, or elements (such as references to folders/subfolders or files, file versions, etc.).
Here is an example:

Viewed Page loaded : /admin/units/5eb04be2-dc86-44aa-80bd-e527ea52d8b6/dms/aa7fcc77-8d67-4ebd-b4d5-4a3b6e88d981/explorer/folders/5441cd01-7f3e-46d4-a70d-b557eaa52590 Page


I'd like to be able to tell AMPLITUDE via a REGEX that what I'm interested in in this type of VIEWED PAGE LOADED is just the element /explorer/folders/  

Is this possible? And if yes, how to do it?

 

Thanks for your feedback

Hi @MickaelQualineo 

I’m assuming you are capturing this URL in an event property and the above mentioned string is not part of your event name.

You can extract the “/explorer/folders/” part using the regex function from the derived property feature if you have access to that.

Hope this helps.


Hi @Saish Redkar !

Thanks for your help, I will explore this solution!


Reply