@elbwalker/destination-web-google-gtm
Version:
Google Tag Manager (GTM) web destination for walkerOS
44 lines (37 loc) • 1.23 kB
TypeScript
import { WalkerOS, Mapping } from '@elbwalker/types';
declare function entity_action$1(): WalkerOS.AnyObject;
declare function purchase$1(): WalkerOS.AnyObject;
declare function add_to_cart$1(): WalkerOS.AnyObject;
declare namespace events {
export { add_to_cart$1 as add_to_cart, entity_action$1 as entity_action, purchase$1 as purchase };
}
declare global {
interface Window {
dataLayer: Array<unknown> | unknown;
}
}
type EventConfig = Mapping.EventConfig<CustomEvent>;
interface CustomEvent {
}
declare const entity_action: EventConfig;
declare const purchase: EventConfig;
declare const add_to_cart: EventConfig;
declare const config: {
entity: {
action: EventConfig;
};
order: {
complete: EventConfig;
};
product: {
add: EventConfig;
};
};
declare const mapping_add_to_cart: typeof add_to_cart;
declare const mapping_config: typeof config;
declare const mapping_entity_action: typeof entity_action;
declare const mapping_purchase: typeof purchase;
declare namespace mapping {
export { mapping_add_to_cart as add_to_cart, mapping_config as config, mapping_entity_action as entity_action, mapping_purchase as purchase };
}
export { events, mapping };