HEX
Server: Apache
System: Linux cpanelx.inxs.ro 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: crowdandsafety (1041)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/crowdandsafety/wordpress-backups/x/framework/functions/plugins/hubspot.php
<?php

// =============================================================================
// FUNCTIONS/GLOBAL/PLUGINS/HUBSPOT.PHP
// -----------------------------------------------------------------------------
// Plugin setup for theme compatibility.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Update Attribution
// =============================================================================

// Update Attribution
// =============================================================================

function x_set_hubspot_attribution_code( $attribution_code ) {

  // This is appended to HubSpot's tracking in their signup iframe.
  $tc_attribution_code = 'utm_medium=wordpress&utm_source=themeco';
  return $tc_attribution_code;

}

add_filter( 'pre_option_hubspot_acquisition_attribution', 'x_set_hubspot_attribution_code' );