How To Configure Google Analytics Conversions Track Events Contact Form 7
Tracking conversions in Google Analytics using Contact Form 7 requires setup on Google Analytics Conversion Goals control and in the Contact Form 7 contact form Additional Settings.
The Additional Settings tab requires you to customize your button event to send Google Analytics the expected values.
This setup was quite a challenge for me to overcome because their were several factors preventing success that I had to work through. Apparently, this is a common need for many WordPress administrators but an even more common problem getting to work. I will explain in three steps:
- Obtaining your Google Analytics tracking code
- Preparing your Google Analytics account to track incoming data
- Configuring your Contact Form 7 “send” button to send Google Analytics the data
In your Google Analytics account, click Admin, Goals, +New Goal. Now Custom, enter a name for the Goal, Event for type,
- Category (Equals to) “contact form”
- Action (Equals to) “submission”
- Label (Equals to) “my contact form”
- Create Goal to save
Edit your contact form, click the Additional Settings tab, and add this code:
on_sent_ok: "__gaTracker('send', 'event', 'contact form', 'submission', 'my contact form');"
Now here is where many admins seem to be having trouble and I did as well. The issue is determining what your Google Analytics function is then making sure it is used here. In this case, __gaTracker is the function.
gaq.push is a little different:
on_sent_ok: "_gaq.push(['_trackEvent', 'contact form', 'submission', 'my contact form']);"
In Google Analytics, at the top, click Reporting, expand Real Time, and click Conversions. This interface is displaying real-time data that GA is receiving from your website. So in another window, goto your Contact Form, fill it out, and hit send. Switch back to your GA, Real Time tab and you should see a hit!
If you see a hit then you’ve properly configured your form! Congrats! If not, please re-read the steps to verify you did everything and check that you didn’t overwrite a ( or ‘ in the button tracker code.
The idea is to have a test link that I could use to verify that my tracking code and function were even working because I had the suspicion (I was correct) that the Contact Form 7 code needed tweaking. If you use this example, you MUST change the UA-343434′ line with your Tracker ID, check your View Source for this or you can find it in Google Analytics, Admin, Tracking Info, Tracking Code.
Finally, you should be aware that it takes a day or two for GA to start displaying your conversions in the normal area where you can run reports and analysis (not the Real-Time area).
Thanks for reading How To Configure Google Analytics Conversions Track Events Contact Form 7
Matraex has moved
Matraex has outgrown our space at 1101 W Grove St in Boise. The space was great and everyone LOVES being downtown, but we were to big for the tight space.
We will be hiring 2 to 3 people in 2015, starting with a new Developer on January 5th, and so we decided to treat ourselves to a little holiday treat and find a larger space.
So we found an office with more than twice the space (at the historic Alaska Building about a block closer into downtown Boise and moved in on Monday the 15th of Decmber.
With a giant bank of windows looking out at Bogus Basin, we have been very happy with the amount of space and light.
Over the coming weeks we will be adding our unique blend of geeky design to the office space.
The new address is, all those that would like to use the mail to send us anything, please send it to the address below:
1020 W Main St
Boise, Idaho 83702
8Th Annual Matraex River Trip (Survivors)
We completed the 8th1 Annual Matraex Trip and everyone returned safe and sound. We all got wet to varying degrees, everyone got tossed around, one tossed half out (but wholly rescued). Other than one knee-bruised rib and a single rib-bruised knee, we ended the day with smiles all around. Here are some highlights of the trip this year:
1 – The 8th annual Matraex river trip is only one year after the second 6th2 annual Matraex river trip.
2 – Basically this was the 8th because the 6th3 happened twice, and there never was a 7th.
3 – It was actually the 5th that happened twice, and there never was a 6th, the 7th trip actually happened.
Employee Appreciation Night – Idaho Steelheads Hockey
The crew at Matraex headed down to the Century Link Arena to watch the Idaho Steelheads play against the Colorado SomethingSomethings. Â The group of 13 (including some family that came along) sat just behind the east goal and caught some great action.
Unfortunately The Steelheads lost, but the everyone enjoyed the show!
Family Bowling Night
At 6:00 Wednesday October 3rd Matraex employees with their families had a bowling night at Big Al’s. It was great to get together with coworkers, spouses and the kids and spend some time having fun and getting to know the families. John was the experienced bowler of our bunch scoring an impressive 199. We are learning that John is a man of many talents.
Bowling at Big Als
Wednesday October 3rd
Matraex 5th Annual Rafting Trip
In our annual tradition we broke away for the afternoon and went Rafting on the South Fork of the Payette River.
It was July 25th, 2008, a Friday afternoon, we closed up shop and headed up to Banks, Idaho.
The previous 3 years we rafted the Boise Main but this time around we thought we try something a bit more intense.
Here’s our seating chart in case you don’t recognize us in the hats.
Front Left – John Lyon
Front Right – Andre Nosalsky
Middle Left – Michael Porterr
Middle Right – Becky Gilmore
Back Left – Ryan Smith
Back Right – Michael Blood
Bronco Billy, Staircase, Dog Leg and even a dead elk along the way, everyone had fun and stopped at the Mexican Restaurant in Horseshoe Bend for dinner and drinks like we do every year. (I dont remember the name it changes every year)
We tossed the idea around of a full day rafting trip with a campout the night before for next years trip.
Thanks to Bear Valley River Co. for the tour.
There are more pictures on Flickr.