GoogleAnalyticsConfigurationWriteServiceInterface
in
Interface GoogleAnalyticsWriteServiceInterface
Table of Contents
- changeName() : $this
- Changes the list name of an analytics impression type.
- changeUaTrackingCode() : $this
- Changes the universal analytics tracking code value.
- disable() : $this
- Disabled the google analytics tracking.
- disableDevMode() : $this
- Disabled the analytics dev mode.
- disableIpAnonymization() : $this
- Disables google analytics ip anonymization.
- disableTracking() : $this
- Disables the given google analytics tracking.
- enable() : $this
- Enabled the google analytics tracking.
- enableDevMode() : $this
- Enables the analytics dev mode.
- enableGrossPriceTracking() : $this
- Set configuration that prices are tracked as gross for google analytics.
- enableIpAnonymization() : $this
- Enables google analytics ip anonymization.
- enableNetPriceTracking() : $this
- Set configuration that prices are tracked as net for google analytics.
- enableTracking() : $this
- Enables the given google analytics tracking.
Methods
changeName()
Changes the list name of an analytics impression type.
public
changeName(GoogleAnalyticsImpressionTypeInterface $impressionType, NonEmptyStringType $name) : $this
Parameters
- $impressionType : GoogleAnalyticsImpressionTypeInterface
-
Impression type to be changed.
- $name : NonEmptyStringType
-
New list name.
Return values
$this —Same instance for chained method calls.
changeUaTrackingCode()
Changes the universal analytics tracking code value.
public
changeUaTrackingCode(GoogleAnalyticsUaTrackingCode $trackingCode) : $this
Parameters
- $trackingCode : GoogleAnalyticsUaTrackingCode
-
Tracking code.
Return values
$this —Same instance for chained method calls.
disable()
Disabled the google analytics tracking.
public
disable() : $this
Return values
$this —Same instance for chained method calls.
disableDevMode()
Disabled the analytics dev mode.
public
disableDevMode() : $this
While in dev mode, ad blocker can omit the google analytics tracking.
Return values
$this —Same instance for chained method calls.
disableIpAnonymization()
Disables google analytics ip anonymization.
public
disableIpAnonymization() : $this
Return values
$this —Same instance for chained method calls.
disableTracking()
Disables the given google analytics tracking.
public
disableTracking(GoogleAnalyticsTrackingInterface $tracking) : $this
Parameters
- $tracking : GoogleAnalyticsTrackingInterface
-
Tracking to be disabled.
Return values
$this —Same instance for chained method calls.
enable()
Enabled the google analytics tracking.
public
enable() : $this
Return values
$this —Same instance for chained method calls.
enableDevMode()
Enables the analytics dev mode.
public
enableDevMode() : $this
While in dev mode, ad blocker can omit the google analytics tracking.
Return values
$this —Same instance for chained method calls.
enableGrossPriceTracking()
Set configuration that prices are tracked as gross for google analytics.
public
enableGrossPriceTracking() : $this
Return values
$this —Same instance for chained method calls.
enableIpAnonymization()
Enables google analytics ip anonymization.
public
enableIpAnonymization() : $this
Return values
$this —Same instance for chained method calls.
enableNetPriceTracking()
Set configuration that prices are tracked as net for google analytics.
public
enableNetPriceTracking() : $this
Return values
$this —Same instance for chained method calls.
enableTracking()
Enables the given google analytics tracking.
public
enableTracking(GoogleAnalyticsTrackingInterface $tracking) : $this
Parameters
- $tracking : GoogleAnalyticsTrackingInterface
-
Tracking to be enabled.
Return values
$this —Same instance for chained method calls.