function google_admanager_add_attribute in DFP Small Business (Google Ad Manager) 7.2
Same name and namespace in other branches
- 6.2 google_admanager.module \google_admanager_add_attribute()
Set page-level attributes to pass to GAM
2 calls to google_admanager_add_attribute()
- google_admanager_add_term_attribute in ./
google_admanager.module - Re-usable function for adding term attributes
- google_admanager_node_view in ./
google_admanager.module - Implements hook_node_view().
File
- ./
google_admanager.module, line 284
Code
function google_admanager_add_attribute($key, $value) {
google_admanager_add_js('GA_googleAddAttr("' . check_plain($key) . '", "' . check_plain($value) . '");', 'attr');
}