16 January 2018
If You Use WordPress, You May Need To Update Your Conversion Tracking. Here’s Why…
What Did This Tracking Do?
Will I Be Affected?
Firstly, it’s important to ascertain whether your website ticks the following boxes:
- Is it built in WordPress?
- Does it contain online contact forms?
- Were your forms created in Contact Form 7?
- Do the forms use On Sent tracking?
- Are you monitoring form submissions in Google Analytics?
If you answer ‘No’ to any of the above, then you’re likely to be unaffected by this change. However, if you answered ‘Yes’ to all of our questions, your conversion tracking may be at risk. But fear not, Varn are here to help.
If you’re unsure if you fill these criteria, please give the experts at Varn a call. We’d be happy to take a look at your website and advise on any potential risks.
The good news is that it’s still possible to track form submissions via CF7 without using this deprecated tracking. Put simply, we need to replace the On_sent tracking a different type of event tracking within the functions.php file of your WordPress site. Known as a DOM event, this tracking can be set up to apply to all forms site-wide or we can target individual forms by adding in an IF rule containing a specific form ID. See below for examples.
Previous on_sent tracking:
Updated DOM event tracking:
For more information, visit the Contact Form 7 website or get in touch with the professionals at Varn.