basically I need to add this
fbq('track', 'Lead');
to a button. The button doesn't lead to a page so I can't do page views.
I can't figure out how to specific a button. I see page clicks but I don't see how to specific a specific button by id or something like that.
Is there a place to add custom javascript? I could just add it the the button using javascript.
<button></button>
)? And what exactly is it you are wanting to do, fire an event when it is clicked? If so, you can just add a class to the button and select 'Click Element' in Tag Manager and get it to match a CSS selector. Would that not do what you need? – zigojacko Feb 28 '18 at 10:08