Forum Moderators: buckworks & skibum

Message Too Old, No Replies

Dynamic Conversion Tracking.

where to input total_cost value?

         

my3cents

6:06 am on Feb 23, 2004 (gmt 0)

10+ Year Member



I am trying to impliment conversion tracking and cannot figure out where they want me to dynamically put in the total_cost value.

This is the code generated for tracking:

<!-- Google Conversion Code -->
<script language="JavaScript">
<!--
google_conversion_id = 1234567891;
google_conversion_language = "en_US";
if (total_cost) {
google_conversion_value = total_cost;
}
google_conversion_label = "Purchase";
-->
</script>
<script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<a href="https://services.google.com/sitestats/en_US.html" target=_blank>
<img height=27 width=135 src="https://www.googleadservices.com/pagead/conversion/1234567891/?value=total_cost&label=Purchase&hl=en">
</a>
</noscript>

my question is, exactly where do I have the value dynamically put in?

example:
change:?value=total_cost
to:?value=329.95

do I put the dynaminc variable in place of total_cost, if so, what about in the url::

img height=27 width=135 src="https://www.googleadservices.com/pagead/conversion/1234567891/?value=total_cost&label=Purchase&hl=en

just a little confused and a little past my deadline, help is appreciated.

roitracker

11:57 am on Feb 23, 2004 (gmt 0)

10+ Year Member



You're correct. Replace "total_cost" with your dynamic variable in both the javascript & the img areas.