Adding Google Onclick Conversion to CF7 Button
-
Hello,
Google wants me to add this to our Contact form 7 button.
Add the code to a button: This code shows you how to add click tracking functionality to a button using the <button> tag. Replace “https://example.com/your-link” with the URL for your website.
<button onclick="return gtag_report_conversion('https://example.com/your-link')">Submit</button>
What would be the best way to implement this in Contact form 7?
We only want to track a button click as a “conversion” no other special data or anything else needed.
Thank you.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Adding Google Onclick Conversion to CF7 Button’ is closed to new replies.