Saving console.log values in bubble datatbase

OK I figured it out! Your answers led me to search with a few different keywords and find this thread which explains how to use Javascript to Bubble within an iFrame.

Basically, all that needed to be added below the

onAccountCreated: ({ accountId, userId }) => {
          console.log('Account created: ', accountId, ' User ID:', userId)

was

window.parent.bubble_fn_1(accountId)

I think the window.parent is what tells lets the iFrame communicate the variable to the Toolbox plugin element on the page.

The event listener component is not needed in this case, as the plugin handles that step.

Seriously, thank you so much for your help with this today. Would not have figured it out without you!!

2 Likes