Text Masking & Link Tracking #noButtons

I have a repeater populated with content from a collection.

One of the text fields brings up a URL, e.g., www.google.com

I would like to add a click ID to it when clicked on and it routes to the website, for example www.google.com?cl_id=UUID

What would be the best way to do this without using a button? I have tried it with a button by assigning the UUID to the link, however it only runs when an event is triggered, I tried on mouseIn, but it doesn’t open the link.

You will have to use the.html property of the text element, not the .text. Inside the .html you can do a <a href="somesite.com?uid =12345">Click me.