I have a form, that after submit the form I want to run the script of google Adwords conversion.
I'm using ajax and jQuery:
var dataString = 'name='+$('#name').val()+'&'+'phone='+$('#phone').val()+'&'+'mail='+$('#mail').val();
$.ajax({
type: "POST",
url: "newLead.php",
data: dataString,
success: function() {
alert('Send successfully');
var google_conversion_id = myConversionId;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "myConversionLabel";
var google_conversion_value = 0;
$.getScript("http://www.googleadservices.com/pagead/conversion.js");
}
});
Everything works find, the alert message is jump, the script in newLead.php is working. I just don't see the conversion in google adwords.
What can I do?
Of course I changed myConversionId and myConversionLabel to my real details.
Thanks