@dotcms/analytics
Version:
Official JavaScript library for Content Analytics with DotCMS.
10 lines (9 loc) • 452 B
TypeScript
import { DotCMSEventUtmData } from '../../shared/models';
/**
* Compares UTM parameters to detect campaign changes.
* Only checks significant parameters: source, medium, and campaign.
* @internal This function is for internal use only.
* @param currentUTM - Current UTM parameters in DotCMS format
* @returns True if UTM parameters have changed, false otherwise
*/
export declare const hasUTMChanged: (currentUTM: DotCMSEventUtmData) => boolean;