You are here

function hubspot_footer in HubSpot 6.2

Same name and namespace in other branches
  1. 6 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 307
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', '');
}