Skip to main content

We have a landing page for one service, and we’re collecting leads from one CTA form in a lightbox. However, we’ve identified a few different use cases for the service on the page, so we want to track which section the user clicked to launch the lightbox and identify them internally around the use case.

Can we include the Element ID of the lightbox button in a hidden field in the form, or can this only be manually set up in GTM?

Hey there @thepollackgroup!

I think this workaround can work for you, have a look and let me know what you think. You can use the script and Unbounce’s Dynamic Text Replacement feature to update not only the value within a form (which you can hide) as well as the text within the Lightbox.

 

 

Keep me posted!


Reply