UNPKG

@technoapple/ga4

Version:

TypeScript Node.js library to support GA4 analytics.

9 lines (8 loc) 331 B
/** * get value from dataLayer * @param key key to search from dataLayer * @param getLast boolean, false (default) find the first item, true search the last value for the same key * @returns return the value if find, otherwise return empty string; */ declare function get(key: string, getLast?: boolean): any; export { get };