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

Dynamic Conversion Tracking Value Sales from a lead site.

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I need to track conversions from a lead site...


Lead site -> Product website -> Sale


I need to track the sale that takes place (as a $value) from the product website, that was driven there from the lead website. I have conversion tracking set up already but its not right. What is the best way to handle this? Where do the codes go? and HOW do you set a variable value per conversion based on a sale price?





1 Expert replyverified_user

Dynamic Conversion Tracking Value Sales from a lead site.

Top Contributor
# 2
Top Contributor

Hi Mike H,

The easiest way is to use the AdWords conversion code on the thank you page after the order is confirmed. Have your shopping cart fill in the value of the conversion. How you accomplish that depends on you shopping cart. Ask your developer.


Your conversion code will look something like this if your shopping cart is PHP and the total amount of the conversion is in $grandtotal:

<script type="text/javascript">
   /* <![CDATA[ */
    var google_conversion_id = 1234567890;
    var google_conversion_language = "en_US";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "xxxxxxxxxxxxxxxxxx";
    var google_conversion_value = 0;
    if ('<?php echo $grandtotal ?>') {
      google_conversion_value = '<?php echo $grandtotal ?>';
  / ]]> /
<script type="text/javascript" src="">
<img height="1" width="1" border="0" src="<?php echo $grandtotal ?>&amp;label=xxxxxxxxxxxxxxxxxx&amp;script=0"/>


I hope this helps.

Best of Luck!




petebardo -- Deadhead doing AdWords