AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Ads
1.4K members online now
1.4K members online now
Use Google Ads conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

conversion tracking with no thank you page

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

This is my ajax code for sending values to php. That means the result will not go to another page.But how can i manage conversion tracking with no thank you page with this code.Please help me.

 

else{
err.innerHTML = '<img src="images/loading2.gif" />'; $('#qkError').fadeIn(500);
if (window.XMLHttpRequest){xmlhttp=new XMLHttpRequest();}
else{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }
xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4 && xmlhttp.status==200){err.innerHTML=xmlhttp.responseText; $('#qkError').fadeIn(100); f.reset(); $('#qkError').fadeOut(10000);}}
xmlhttp.open("POST","homeProcess.php",true);
xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
xmlhttp.send("hname="+name+"&hemail="+email+"&hnum="+num+"&selProject="+proj+"&selBed="+bed+"&hcomnt="+msg+"&subForm=true");
}

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Rajeesh K
September 2015

Re: conversion tracking with no thank you page

Top Contributor
# 3
Top Contributor
Hi Rajeesh K,

The easy way to do this is to return just the image part of the conversion script with the Ajax content. That will record your conversion and will allow you to track the actual value of your sale. Do not include the script or the noscript tags, just the image part.

Best of Luck!

Pete
petebardo -- Deadhead doing AdWords

View solution in original post

Re: conversion tracking with no thank you page

Follower ✭ ✭ ✭
# 2
Follower ✭ ✭ ✭
To track exact conversion you must have something which trigger the conversion code. In your case, if you are not able to add thank you page, you can track conversion by implementing event tracking on payment button (or anything which complete the payment process).

But, it will not give exact conversion as a person click on payment may cancel the process too. It is better to add thank you page.
Marked as Best Answer.
Solution
Accepted by topic author Rajeesh K
September 2015

Re: conversion tracking with no thank you page

Top Contributor
# 3
Top Contributor
Hi Rajeesh K,

The easy way to do this is to return just the image part of the conversion script with the Ajax content. That will record your conversion and will allow you to track the actual value of your sale. Do not include the script or the noscript tags, just the image part.

Best of Luck!

Pete
petebardo -- Deadhead doing AdWords

Re: conversion tracking with no thank you page

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
Thanks... Petebardo for the solution.