Conversion Tracking Code for dynamic variables for E-commerce websites

Discussion in 'Google AdWords' started by zm21, Nov 17, 2008.

  1. #1
    For instance I want to track the purchases of customers with Conversion Tracking in e-commerce sites. Because the total cost varies from customer to customer I should include a code in the conversion tracking code that Google gives me, right?
    For ASP the dynamic variable is <%=totalValue%>
    For PHP the dynamic variable is <?echo $totalValue?>

    I want to exactly know how to use the code?

    I gave a stable value $200.
    if (200.0) {
    var google_conversion_value = 200.0;

    If dynamic should be inserted on ASP E-commerce customer basket

    if (<%=totalValue%>) {
    var google_conversion_value = <%=totalValue%>;

    is this code right?

    And I want to learn some practice for using funnel on Google Analytics. Is there any active topic about this?
     
    zm21, Nov 17, 2008 IP