Hi, I need to add this coding to a submit button on a particular page.
fbq(‘track’, ‘SwimtagLeads17’);
I have already added the coding to the header.
What is the best way to do this please?
Hey Dom,
I think this is the best way: http://kriesi.at/documentation/enfold/add-onclick-event-to-the-contact-form-submit-button/
Best regards,
Nikko
Thanks Nikko,
will that not add it to every button on every form the site?
Hi,
Yes, it will add it to every contact form, if you want to limit it, you can use wordpress conditional tags to the filter: https://codex.wordpress.org/Conditional_Tags
to specifically run it on specific pages. Hope this helps.
Best regards,
Nikko