function hubspot_footer in HubSpot 6
Same name and namespace in other branches
- 6.2 hubspot.module \hubspot_footer()
Implements hook_footer() to inject the HubSpot JavaScript tracking code into the page footer, just before </body>.
File
- ./
hubspot.module, line 252 - Sends Webform results to HubSpot's Leads API by using Webform's provided hooks.
Code
function hubspot_footer($main = 0) {
return variable_get('hubspot_log_code', '');
}