You are here

function google_admanager_add_attribute in DFP Small Business (Google Ad Manager) 6.2

Same name and namespace in other branches
  1. 7.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_nodeapi in ./google_admanager.module
Implementation of hook_nodeapi()

File

./google_admanager.module, line 177

Code

function google_admanager_add_attribute($key, $value) {
  google_admanager_add_js('GA_googleAddAttr("' . check_plain($key) . '", "' . check_plain($value) . '");', 'attr');
}