In your Contact 7 "Additional Settings" at the bottom of the page for each form you put the function you want to use. You use a different naming for each form you want to track and can name it whatever you want.
on_sent_ok: "Tracking1();"
on_sent_ok: "Tracking2();"
on_sent_ok: "Tracking3();"
on_sent_ok: "Tracking4();"
on_sent_ok: "Tracking5();"
But now you need to create a tracking.js file (or whatever you want to name it) and put the following code there five times changing the name and the tracking data provided by Google Adwords.
function Tracking(){
var img = document.createElement("img");
var goalId = 991793222;
var randomNum = new Date().getMilliseconds();
var value = 0;
var label = "_kaLCLzCzzQQ5KD22AM";
var url = encodeURI(location.href);
var trackUrl = "http://www.googleadservices.com/pagead/conversion/"+goalId+"/?random="+randomNum+"&value="+value+"&label="+label+"&guid=ON&script=0&url="+url;
img.src = trackUrl;
document.body.appendChild(img);
}
function Tracking1(){
var img = document.createElement("img");
var goalId = 991793222;
var randomNum = new Date().getMilliseconds();
var value = 0;
var label = "_kaLCLzCzzQQ5KD22AM";
var url = encodeURI(location.href);
var trackUrl = "http://www.googleadservices.com/pagead/conversion/"+goalId+"/?random="+randomNum+"&value="+value+"&label="+label+"&guid=ON&script=0&url="+url;
img.src = trackUrl;
document.body.appendChild(img);
}
and so on...
Once you have this done you simply need to include the .js file in your header.php.
<?php include 'tracking.js'; ?>
header.php is called on every page of your website so this one include will work for your entire site.