Possible to show & hide a elements on a specific dynami page

you’re on the right track.
I suggest you use this instead:

 if (wixLocation.url.includes("5cd3c60e-3181-44bf-854f-5ddc8a6eabee") 
 { ... }

it will search for the GUID in the entire URL not just the prefix.

good luck