How To Set Up Conversion Tracking

In this tutorial, we're going to show you how to set up Google conversion tracking and much more.

For global tracking codes you should use Header and Footer Scripts & Metas, you can find here:



If you want to set tracking for a specific event, you should edit your page in Yoast SEO mode (classic WordPress page editor) like this:


Find this section under and place your event code:


If you do not see this box - the plug-in used for tracking may not be active. In that case, send an email to

Similarly, you can set up your tracking code for your Thank you page

Go to your "Thank You" Page


If you don't have a "Thank You" page or don't know how to make one, check out this article which explains the entire process.

Insert your conversion tracking code into this box.


If you do not know how to get a google tracking code - check out this tutorial.

In order to set your Lead form to forward to your Thank you page after submitting, just go here:



How to set Gravity Form to forward to a Thank you page

From your AgentFire Dashboard - Open your "Gravity Forms" section.


Choose the form you want to track.


In this example we are just going to use the Contact form.

(The forms in the picture may not be the same as in your dashboard.)

Click "Confirmations" from within the "Form Settings" tab

Click "Edit" on the Default Confirmation


You will have to hover your mouse over the top where the arrow is pointing in order to see "Edit". If you do not have a Default Confirmation, just click "Add New" create one and then proceed to edit.

Select the option "Page" and choose your "Thank You" page from the drop-down menu.


After setting the Confirmation Page, simply click "Save Confirmation".