You are here

function template_preprocess_google_adwords in Google AdWords Conversion Tracking 7.2

Implements template_preprocess_HOOK(). Loads the proper AdWords external JavaScript file.

File

./google_adwords.module, line 175
Google Adwords Conversion Tracking Module.

Code

function template_preprocess_google_adwords(&$variables) {
  $variables['google_js'] = variable_get('google_adwords_external_script', 'https://www.googleadservices.com/pagead/conversion.js');
}