lib/mail/Mail.php
public function setGanalytics(
        $enable = null,
        $utm_source = null,
        $utm_medium = null,
        $utm_term = null,
        $utm_content = null,
        $utm_campaign = null
    ) {
        if (!($this->tracking_settings instanceof TrackingSettings)) {
            $this->tracking_settings = new TrackingSettings();
        }
        $this->tracking_settings->setGanalytics(
            $enable,
            $utm_source,
            $utm_medium,
            $utm_term,
            $utm_content,
            $utm_campaign
        );
    }
public function setGanalytics(
        $enable = null,
        $utm_source = null,
        $utm_medium = null,
        $utm_term = null,
        $utm_content = null,
        $utm_campaign = null
    ) {
        if (!($this->tracking_settings instanceof TrackingSettings)) {
            $this->tracking_settings = new TrackingSettings();
        }
        $this->tracking_settings->setGanalytics(
            $enable,
            $utm_source,
            $utm_medium,
            $utm_term,
            $utm_content,
            $utm_campaign
        );
    }
public function setGanalytics ( $ enable = null , $ utm_source = null , $ utm_medium = null , $ utm_term = null , $ utm_content = null , $ utm_campaign = null ) { if ( ! ( $ this -> tracking_settings instanceof TrackingSettings ) ) { $ this -> tracking_settings = new TrackingSettings ( ) ; } $ this -> tracking_settings -> setGanalytics ( $ enable , $ utm_source , $ utm_medium , $ utm_term , $ utm_content , $ utm_campaign ) ; }
Set the Google anatlyics settings on a TrackingSettings object

@param bool|Ganalytics $enable A Ganalytics object or a boolean to
determine if this setting
is active
@param string|null $utm_source Name of the referrer source. (e.g.
Google, SomeDomain.com, or
Marketing Email)
@param string|null $utm_medium Name of the marketing medium.
(e.g. Email)
@param string|null $utm_term Used to identify any paid keywords.
@param string|null $utm_content Used to differentiate your campaign
from advertisements
@param string|null $utm_campaign The name of the campaign
Set the Google anatlyics settings on a TrackingSettings object