Google Tag Manager

Forum Discussion

bcohenRDC's avatar
bcohenRDC
Collaborator
1 month ago

Braze mWeb IAM <> Google One-Tap

My team is trying to find a workaround to display a mWeb IAM before Google One-Tap. We have found a "solution" by adding a custom event for when a user clicks "X" button on the IAM, and that triggers showing Google One-Tap. However, we are running into an issue when the user logs out they are not able to see either the mWeb IAM nor Google One-Tap.

Steps to reproduce:

  • loaded page as new user (logged out)
  • Braze IAM shows
  • clicking the "x" on the IAM closes the IAM and opens Google One Tap
  • log in w/Google One Tap → i'm logged in and the Braze IAM isn't visible (as expected)
  • refreshed the page → still no Braze IAM
  • logged out → no Braze IAM, no Google One Tap
  • refresh → still no Braze IAM nor Google One Tap

1 Reply

  • bcohenRDC​ You will need some scripting on the page for this to check if user is eligible to IAM

    1. Page loaded (logged out)
    2. Check if user is eligible for IAM.
    3. If not, show Google One Tap
    4. If Eligible for IAM, then show IAM and do not automatically show Google One Tap.

    You can check the reference code here: https://www.braze.com/docs/developer_guide/in_app_messages/tutorials/conditionally_displaying_messages