tracking contact form 7 enquiries with google analytics

44
Tracking Contact Form 7 Enquiries with Google Analytics Tan Kian Ann 10 September 2014 WPUG Meetup

Upload: kian-ann-tan

Post on 17-Jan-2015

258 views

Category:

Technology


1 download

DESCRIPTION

Slide deck for my talk at the Singapore WordPress User Group meetup at Hackerspace.sg on 10 Sep 2014. The slides includes walkthroughs and explanations of how businesses can track their Contact Form 7 enquiries (on their WordPress website) using event tracking on Google Analytics.

TRANSCRIPT

Page 1: Tracking Contact Form 7 Enquiries with Google Analytics

Tracking Contact Form 7 Enquiries with

Google Analytics

Tan Kian Ann10 September 2014

WPUG Meetup

Page 2: Tracking Contact Form 7 Enquiries with Google Analytics

Contact Form 7

Page 3: Tracking Contact Form 7 Enquiries with Google Analytics

The most downloadedWordPress contactform plugin. Ever.

Page 4: Tracking Contact Form 7 Enquiries with Google Analytics

Contact Form 7

19 Million!?Downloads

5 x Lester ;)

Page 5: Tracking Contact Form 7 Enquiries with Google Analytics

Contact Form 7

Page 6: Tracking Contact Form 7 Enquiries with Google Analytics

Contact Form 7

• AJAX contact form• Submissions are emailed to

specified email addresses.• Super easy to setup– Install plugin from

WordPress– Create forms– Copy shortcode where you

want the form

Page 7: Tracking Contact Form 7 Enquiries with Google Analytics
Page 8: Tracking Contact Form 7 Enquiries with Google Analytics
Page 9: Tracking Contact Form 7 Enquiries with Google Analytics

Additional Settings Below

Page 10: Tracking Contact Form 7 Enquiries with Google Analytics
Page 11: Tracking Contact Form 7 Enquiries with Google Analytics
Page 12: Tracking Contact Form 7 Enquiries with Google Analytics

Google Analytics

Page 13: Tracking Contact Form 7 Enquiries with Google Analytics

FREEWEBANALYTICS(harder to resist than cute kitty pics)

Page 14: Tracking Contact Form 7 Enquiries with Google Analytics

http://www.google.com/analytics

Page 15: Tracking Contact Form 7 Enquiries with Google Analytics

Be sure to use “Universal Analytics”i.e. The tracking code has:ga(‘create’, ‘UA-XXXXXX-XX’, ‘auto’);ga(‘send’, ‘pageview’);

Page 16: Tracking Contact Form 7 Enquiries with Google Analytics
Page 17: Tracking Contact Form 7 Enquiries with Google Analytics

The Challenge

Page 18: Tracking Contact Form 7 Enquiries with Google Analytics

The Challenge

• Websites focuses on generating enquiries (using Contact Form 7).

• Spending $$$ on Facebook Ads, Google Adwords, Banners Ads etc.

• How do you know which ad dollar is giving you more bang for your buck?

Page 19: Tracking Contact Form 7 Enquiries with Google Analytics

I know that half of my advertising dollars are wasted…

I just don’t know which half.

- John Wanamaker

Page 20: Tracking Contact Form 7 Enquiries with Google Analytics

The Idea

Page 21: Tracking Contact Form 7 Enquiries with Google Analytics

Google Analyticsalready tracks your visitor acquisition channels

Page 22: Tracking Contact Form 7 Enquiries with Google Analytics

When someone submits your enquiry form,

we need Contact Form 7 to tell Google Analytics:

“This visit resulted in an enquiry”

Page 23: Tracking Contact Form 7 Enquiries with Google Analytics

The Solution

Page 24: Tracking Contact Form 7 Enquiries with Google Analytics

It Was Just One Line of Code*, But When He Added It to

WordPress, What Happened Next Was

Amazing.

* and a few clicks

Page 25: Tracking Contact Form 7 Enquiries with Google Analytics

Each Contact Form 7 form settings page has an “additional settings” field where you can specify javascript to run, using on_sent_ok

Scroll all the way down

Page 26: Tracking Contact Form 7 Enquiries with Google Analytics
Page 27: Tracking Contact Form 7 Enquiries with Google Analytics

on_sent_ok:"

"

ga('send', 'event', <category>, <action>, <label>, <value>)

Google Analytics Event Tracking Documentation:https://developers.google.com/analytics/devguides/collection/analyticsjs/events

Triggering an “Event” in Google Analytics:

Page 28: Tracking Contact Form 7 Enquiries with Google Analytics

The one line of code to rule them all:

on_sent_ok: "ga('send', 'event', 'Contact Form', 'Submitted', 'Cute Kitty Enquiry Form')"

on_sent_ok: "ga('send', 'event', 'Contact Form', 'Submitted', 'Cute Kitty Enquiry Form')"

'send', 'event’,'Contact Form', ’Submitted', 'Cute Kitty Enquiry Form'

Page 29: Tracking Contact Form 7 Enquiries with Google Analytics
Page 30: Tracking Contact Form 7 Enquiries with Google Analytics

How would you know its working?

Page 31: Tracking Contact Form 7 Enquiries with Google Analytics

Go submit your form!

Page 32: Tracking Contact Form 7 Enquiries with Google Analytics

d

Page 33: Tracking Contact Form 7 Enquiries with Google Analytics
Page 34: Tracking Contact Form 7 Enquiries with Google Analytics

Only “Real Time” section is erm… real time.(the rest takes a day to show up)

Page 35: Tracking Contact Form 7 Enquiries with Google Analytics
Page 36: Tracking Contact Form 7 Enquiries with Google Analytics

Is that all there is?

Page 37: Tracking Contact Form 7 Enquiries with Google Analytics

There’s More!!

Page 38: Tracking Contact Form 7 Enquiries with Google Analytics

Configure Analytics Goals

• Configure the event as a Goal (conversions).

• Goal data is available on almost every panel in Google Analytics.

• Google Adwords can also import Google Analytics goals for conversion tracking.

Page 39: Tracking Contact Form 7 Enquiries with Google Analytics
Page 40: Tracking Contact Form 7 Enquiries with Google Analytics
Page 41: Tracking Contact Form 7 Enquiries with Google Analytics

These values need to match the category / action / label specified in Contact Form 7

Page 42: Tracking Contact Form 7 Enquiries with Google Analytics
Page 43: Tracking Contact Form 7 Enquiries with Google Analytics

Mummy…its over!!!

Page 44: Tracking Contact Form 7 Enquiries with Google Analytics

Thank You

Tan Kian [email protected]

+65 96195806@tankianann

fb.com/tankianann