public function GoogleAdwordsPathTrackerBackup::registerPathConfig in Google AdWords Conversion Tracking 8
Add tracking using settings from a GoogleAdwordsPathConfig object
Parameters
\Drupal\google_adwords_path\Entity\GoogleAdwordsPathConfig $pathConfig:
Return value
null
1 call to GoogleAdwordsPathTrackerBackup::registerPathConfig()
- GoogleAdwordsPathTrackerBackup::registerCurrentRoute in modules/
google_adwords_path/ src/ GoogleAdwordsPathTracker.backup.php - Handler Routing finished event to register any path configs that match with the adwords tracker
File
- modules/
google_adwords_path/ src/ GoogleAdwordsPathTracker.backup.php, line 116 - Contains Drupal\google_adwords_path\GoogleAdwordsPathTracker.
Class
- GoogleAdwordsPathTrackerBackup
- Class GoogleAdwordsPathTracker.
Namespace
Drupal\google_adwords_pathCode
public function registerPathConfig(GoogleAdwordsPathConfig $pathConfig) {
return $this->google_adwords_tracker
->addTracking($pathConfig
->get('conversion_id'), $pathConfig
->get('label'), $pathConfig
->get('words'), $pathConfig
->get('language'), $pathConfig
->get('color'), $pathConfig
->get('format'));
}