1. Remove Yoast Analytics plugin if installed

*caused a number of tracking and confirmation issues

2. Make sure Google Analytics Universal tracking code is setup

3. Edit the contact 7 form > Scroll to “Additional Settings” > Insert the following:


on_sent_ok: “ga(‘send’, ‘event’, ‘Contact Form’, ‘sent’);”


4. Login to the analytics admin panel and add a new goal

Goal Setup – Custom

Goal Description – Name and Type: Event

Goal Details:




5. Fill in the form > Take a look at Real Time reporting – Conversions to see the Contact Form goal in action

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@matthewc424.sg-host.com.