I want to implement an adwords \"conversion pixel\" script - this is the script:
function for creating iframe and put adwords code in thanks.php file
function conversionTracker() {
var iframe = document.createElement('iframe');
iframe.style.width = '0px';
iframe.style.height = '0px';
document.body.appendChild(iframe);
iframe.src = 'thanks.php'; //Make sure path is correct! (update with bloginfo var for nebula)
};
call conversionTracker() in ajax success function
....
success: function(response){
conversionTracker();
}
then create a thanks.php file and put adwords code in this file
Thank You
Note : here label and conversion_id are fake values, Please put your own.