Usage
nebula()->utms()
Parameters
This function does not accept any parameters. Is this incorrect?
Examples
Get the landing page URL and UTM parameters of a subsequent pageview
var_dump(nebula()->utms());
Get the original landing page URL and UTM parameters on a subsequent pageview in JavaScript
console.log(nebula.session.utms);
Read it directly from the cookie in PHP
var_dump($_COOKIE['nebula_utms']);
Read it directly from the cookie in JavaScript
console.log(nebula.readCookie('nebula_utms'));
Additional Notes
Important: This function requires the “Attribution Tracking” Nebula Option to be enabled in order to use it! Be sure that the use of this cookie fits within your privacy policy and other regulations.
Note that this stores the entire URL of the landing page (LP) including the entire query string if any UTM tag (or other tracking parameter) exists.
Source File
This function was not found in /libs/Utilities/Utilities.php. Please report this error.
No Hooks
This function does not have any filters or actions available. Request one?Override
This function can not be short-circuited with an override filter. Request one?