/** * **Google Linker Bridge Implementation** * * - Replicates the Google Linker Bridge functionality found in `analytics.js`. * - Address the gap where `gtag.js` does not expose this bridge function (as of the current version). * - Inspired and guided by the article: * [Cross Domain Tracking on Google Analytics 4 (GA4)](https://www.thyngster.com/cross-domain-tracking-on-google-analytics-4-ga4/) * * @version 1.0.0 * @last_updated 2023-11-03 */ /** * The purpose of this function is to generate a '_gl' parameter value based on existing * Google Analytics cookies to aid in cross-domain tracking. * * @param a Any input string to be used for generating a browser fingerprint. * @returns A string representation of the '_gl' parameter value. */ export declare function generateLinkerParam(a: any): string; /** * @summary Decrypts a `_gl` parameter and merges its values into the `google_tag_data.data` object. * * This function processes the encrypted `_gl` parameter typically generated by the Google Analytics linker * feature. After decryption, it will merge the result into the `google_tag_data.data` object, either * into the query or fragment based on the `useFragment` argument. * * @param glParam - The `_gl` parameter to be decrypted. * @param useFragment - Optional flag indicating if data should be merged into the fragment. * * @returns The updated googleTagData.data object. * * @throws {Error} When Google Tag Manager (GTM) is not available. */ export declare function decryptCookiesIds(glParam: string, useFragment?: boolean): { [key: string]: any; };