Copied!

TrackingBehaviorProviderInterface

TrackingBehaviorProviderInterface.php : 20
Interface

Resolves how the configured {@see Type} translates into concrete tracking actions.

In hybrid mode the bundle ships its own client-side shim that proxies every Raptor request through a same-origin endpoint so ad blockers cannot block them; the client never talks to Raptor SaaS directly.

Methods

publicshouldDispatchServerSide()

TrackingBehaviorProviderInterface.php : 34

Server mode only.

public shouldDispatchServerSide() : bool

Return values

bool

Tags
Throws
InvalidConfigurationExceptionInterface

publicshouldProxyClientEvents()

TrackingBehaviorProviderInterface.php : 46

Hybrid mode only.

public shouldProxyClientEvents() : bool

Return values

bool

Tags
Throws
InvalidConfigurationExceptionInterface

publicshouldRenderEventsClientSide()

TrackingBehaviorProviderInterface.php : 39
public shouldRenderEventsClientSide() : bool

Return values

bool

Tags
Throws
InvalidConfigurationExceptionInterface

publicshouldRunClientScript()

TrackingBehaviorProviderInterface.php : 27

Client and hybrid modes (Raptor CDN script, or the same-origin shim respectively).

public shouldRunClientScript() : bool

Return values

bool

Tags
Throws
InvalidConfigurationExceptionInterface