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:
- Open Products > Online Store > More and click Google AdWords Integration.
- 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.
- Click Edit. The editing parameter dialog window is displayed.
- Select "true" from the Value list.
- Click Save to confirm changes.
- Click Cancel to return to parameters list.
- 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.
- Click Edit. The editing parameter dialog window is displayed.
- Look through the script provided by Google and find the "google convertion_color" parameter value. Type the value into the Value field (without quotas).
- Type a free-form description into the Description field.
- Click Save to confirm changes.
- Repeat steps 7 through 12 for the rest four parameters.
- 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.