Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Questions:

  •  Possibles questions about this feature

Technical Refinement

Description

  • When agreement update modal is showed up during transition pages:

            mparticleLogRBIEvent({
              name: CustomEventNames.AGREEMENTS_UPDATE_MODAL,
              type: EventTypes.Other,
              attributes: {},
            })

constants:

AGREEMENTS_UPDATE_MODAL

mparticle-client interface:

export interface IAgreementsUpdatePopup extends IEventBase {
    name: 'Agreements Update Modal';
    type: EventTypes.Other;
    attributes: {};
}

  • When user clicks on the Continue (Accepted the updated agreement)

  mParticle.logRBIEvent({
    name: CustomEventNames.CLICK_EVENT,
    type: EventTypes.Navigation,
    attributes: {
      component: ClickEventComponentNames.BUTTON,
      text: 'Accepted updated agreement',
    },
  });

OR

      logRBIEvent({
        name: 'Agreements Update',
        type: EventTypes.Other,
        attributes: {
         <>
        },
      });

OR

{

    const data = {
      'updatedAgreements': string,
      'action' : accepted | disagree
    };

    logEvent(CustomEventNames.AGREEMENTS_UPDATE, EventTypes.Other, data);
  }

  • When user clicks on the diagree and logout

  mParticle.logRBIEvent({
    name: CustomEventNames.CLICK_EVENT,
    type: EventTypes.Navigation,
    attributes: {
      component: ClickEventComponentNames.BUTTON,
      text: 'Disagree and Logout',
    },
  });

OR

      logRBIEvent({
        name: 'Disagree and logout',
        type: EventTypes.Other,
        attributes: {
         <>
        },
      });

OR

{

    const data = {
      'updatedAgreements': string,
      'action' : accepted | disagree
    };

    logEvent(CustomEventNames.AGREEMENTS_UPDATE, EventTypes.Other, data);
  }

  • No labels