Enabling Google Adwords in Online Store

As the account in Google AdWords service is created, Google will provide you with a script of the kind:

<!-- 

  google.tpl

-->

<script language="JavaScript" type="text/javascript">

  var google_conversion_id ={$CONVERSION_ID};

  var google_conversion_language = "{$CONVERSION_LANGUAGE}";

  var google_conversion_format = "{$CONVERSION_FORMAT}";

  var google_conversion_color = "{$CONVERSION_COLOR}";

  if({$Totals_OrderTotal}) {literal}{{/literal}

    var google_conversion_value = "{$Totals_OrderTotal}";

  {literal}}{/literal}

  var google_conversion_label = "{$CONVERSION_LABEL}";

</script>

<script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js"></script>

<noscript>

<img height="1" width="1" border="0" src="https://www.googleadservices.com/pagead/conversion/{$CONVERSION_ID}/?value={$Totals_OrderTotal}/&label={$CONVERSION_LABEL}&script=0">

</noscript>

<!-- 

  end of google.tpl

-->

This script has several parameters that have to be configured in Billing in order for statistics to be collected. Below is a table of correspondence between script and Billing parameters:

Goggle Script Parameters

Billing Parameters

google_conversion_color

CONVERTION_COLOR

google_conversion_format

CONVERTION_FORMAT

google_convertion_id

CONVERTION_ID

google_conversion_label

CONVERTION_LABEL

google_conversion_language

CONVERTION_LANGUAGE

To enable Google Adwords service in online store:

  1. Open Products > Online Store > More and click Google AdWords Integration.
  2. Select the "USE_GOOGLE_ADWORDS" parameter by clicking on the respective link in the Parameter Name or in the Value column. Selected parameter properties appear on the screen.
  3. Click Edit. The editing parameter dialog window is displayed.
  4. Select "true" from the Value list.
  5. Click Save to confirm changes.
  6. Click Cancel to return to parameters list.
  7. Select the "CONVERTION_COLOR" parameter by clicking on the respective link in the Parameter Name or in the Value column. Selected parameter properties appear on the screen.
  8. Click Edit. The editing parameter dialog window is displayed.
  9. Look through the script provided by Google and find the "google convertion_color" parameter value. Type the value into the Value field (without quotas).
  10. Type a free-form description into the Description field.
  11. Click Save to confirm changes.
  12. Repeat steps 7 through 12 for the rest four parameters.
  13. Open Products > Online Store and click Synchronize now to finish enabling Google Adwords in online store.

Each time a customer gets to the order confirmation screen, the online store will send information to Google that the page has been visited. Google will increment your sales counter.