Quantcast
Channel: contact form 7 – WordPress.org Forums
Viewing all articles
Browse latest Browse all 9540

katehalle on "Contact Form 7 AdWords conversion tracking"

$
0
0

Here are some steps I've used to set up AdWords conversion tracking for Contact Form 7. This assumes you are already using the Contact Form 7 plugin.

Step 1

Install WordPress AdWords tracking code plugin:

http://wordpress.org/plugins/google-per-page-tracking-code/

Step 2

Create a new page for thankyou/confirmation in the WordPress dashboard:

Pages> add new

Insert AdWords conversion tracking code to the Google AdWords Tracking Code box that appears in the new page in 'edit' view.

Publish the new thank you page created and note down URL.

Step 3

Go to Plugin>Contact Form 7>Settings

Select 'edit' under the contact form in use

Scroll down to find the 'Additional settings' box and paste in this code using the new URL for the thank you page just created:

add code: on_sent_ok: "location.replace('http://www.yourdomain/thankyou');"

Save the update


Viewing all articles
Browse latest Browse all 9540

Trending Articles