function ga_tokenizer_token_list in Google Analytics Tokenizer 6
Implementation of hook_token_list(). (token.module)
File
- ./
ga_tokenizer.module, line 37
Code
function ga_tokenizer_token_list($type = 'all') {
$tokens = array();
if ($type == 'global' || $type == 'all') {
$tokens['global']['ga-source'] = t('Search engine, newsletter name, or other source.');
$tokens['global']['ga-campaign'] = t('To identify a specific product promotion or strategic campaign.');
$tokens['global']['ga-medium'] = t('A medium such as email or cost-per-click.');
$tokens['global']['ga-content'] = t('Used for A/B testing. To differentiate ads or links that point to the same URL.');
$tokens['global']['ga-term'] = t('The keywords for the organic search or ad.');
$tokens['global']['ga-first-visit'] = t('Date/Time of initial visit.');
$tokens['global']['ga-previous-visit'] = t('Date/Time of previous visit.');
$tokens['global']['ga-current-visit'] = t('Date/Time of current visit.');
$tokens['global']['ga-times-visited'] = t('Total number of times visited.');
}
return $tokens;
}