function ml_track($action, $services = array(), $loadInit = false) { foreach ($services as $service) { switch ($service) { case 'mixpanel': ml_track_mixpanel($action); break; case 'getvero': ml_track_getvero($action, $loadInit); break; case 'intercom': ml_track_intercom($action, $loadInit); break; case 'perfect_audience': ml_track_perfect_audience($action, $loadInit); break; } } }
function ml_track($action, $services = array(), $loadInit = false) { foreach ($services as $service) { switch ($service) { case base64_decode('bWl4cGFuZWw='): ml_track_mixpanel($action); break; case base64_decode('Z2V0dmVybw=='): ml_track_getvero($action, $loadInit); break; case base64_decode('aW50ZXJjb20='): ml_track_intercom($action, $loadInit); break; case base64_decode('cGVyZmVjdF9hdWRpZW5jZQ=='): ml_track_perfect_audience($action, $loadInit); break; } } }