Hi @alicehenot. Based on the code snippet which you've shown it appears that you've hardcoded the utag.link code in your site which is most certainly not a recommended option at all; as this would require a code change even you plan to modify/remove the event in future. I think this is more common in Google Tag Manager implementations, but with Tealium you should try and keep all tracking snippets within Tealium, only data layer values should be hard-coded.
I wasn't referring to the jQuery onHandler, its the JavaScript extension where you could write a small piece of JS code to bind to the popup window's submit button. Similar to,
jQuery('#form-id').on('submit',function(e){
//write the GA code or whatever you want to execute here
]);
If that doesn't work, try binding to the button element on click and in that case change the "on" to "one"
Note :- You can also pass the utag.link code inside the click event above, but the downside of this is that if you have any other events setup on that page, those events would start to trigger multiple times.
... View more