Track URLs from custom HTML or Javascript

Hi there,

I have JS code where URL of a button is changed based on color you choose. Is there a possibility to track this URL every time its changed and clicked since there isn’t one in Goals tab within editor?

Thanks!

We use the popup editor to create unique popups and then those drive unique forms for us… this allows us to have more than one button and form per page.