@comparaonline/event-tracker
Version:
This library it's an interface between any frontend application and some event tracking platforms, currently Snowplow and Tag Manager.
17 lines (16 loc) • 863 B
TypeScript
export declare const EVENT_NAME: {
readonly CEP_AUTOCOMPLETED: "cep_autocompleted";
readonly PERSON_AUTOCOMPLETED: "person_autocompleted";
readonly VEHICLE_AUTOCOMPLETED: "vehicle_autocompleted";
readonly ATTACHED_POLICY_TO_USER: "attached_policy_to_user";
readonly CANCEL_POLICY_REQUESTED: "cancel_policy_requested";
readonly FORM_STEP_RENDER: "form_step_render";
readonly PAYMENT_METHOD_UPDATED: "payment_method_updated";
readonly USER_ACCOUNT_ONBOARDING_COMPLETED: "user_account_onboarding_completed";
readonly TRANSACTION: "transaction";
readonly TUTORIAL_BEGIN: "tutorial_begin";
readonly TUTORIAL_COMPLETE: "tutorial_complete";
readonly OTP_ERROR: "otp_error";
readonly ONE_CLICK_CHECKOUT_COMPLETED: "one_click_checkout_completed";
};
export type EventName = (typeof EVENT_NAME)[keyof typeof EVENT_NAME];