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 4 Next »

Questions:

  •  There are some possibilities on how to send the events to be consumed in mParticle. Below you can find the suggestions. Final implementation decision should be reviewed with Data RBI stakeholders.

Technical Refinement

Description

1-) When the agreement update modal is showed up during transition pages:

            logRBIEvent({
              name: CustomEventNames.AGREEMENTS_UPDATE_MODAL_SHOWN,
              type: EventTypes.Other,
              attributes: {}, 
            })

no attributes being passed… only registering the event…

2-) When user clicks on the Continue button (Accepted the updated agreement)

2.a -) Using existing CLICK_EVENT :

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

OR

2.b -) New event without attributes Accepted updated agreement:

      logRBIEvent({
        name: 'Accepted updated agreement',
        type: EventTypes.Other,
        attributes: {
         <>
        },
      });

OR

2.c -)new event with customized attributes AGREEMENTS_UPDATE_DECISION:

{
    const data = {
      updatedAgreements?[]: string,
      action : 'accepted'
    };
    logRBIEvent(CustomEventNames.AGREEMENTS_UPDATE_DECISION, EventTypes.Other, data);
  }

3-) When user clicks on the disagree and logout button

3.a -)Using existing CLICK_EVENT :

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

OR

3.b -)New event without attributes Disagree:

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

OR

3.c -)new event with customized attributes AGREEMENTS_UPDATE_DECISION :

{

    const data = {
      updatedAgreements?[]: string,
      action : 'disagree'
    };

    logRBIEvent(CustomEventNames.AGREEMENTS_UPDATE_DECISION, EventTypes.Other, data);
  }

  • No labels