Oribi integration

Hi

I have an integration with Oribi on my site

I got this also from Oribi :

<script> ORIBI.api(“setUserEmail”, <variable>);</script>

to put in every form on the site after the submit button
but I have to change the: variable
anyone here knows what should it be?

thanks a lot!!!

Hi

I have an integration with Oribi on my site

I got this also from Oribi :

<script> ORIBI.api(“setUserEmail”, <variable>);</script>

to put in every form on the site after the submit button
but I have to change the: variable
anyone here knows what should it be?

thanks a lot!!!


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

I suggest seeking assistance from Oribi since the question really pertains to their service. Hopefully you get it resolved.

Thank you @webdev

I had a few meetings with oribi but they don’t know the answer
They said that I have to look for the specific variable in webflow

You would need to provide more information about what you are trying to do. There is no context or reference.

The variable should automatically retrieve the email address of the form filler to Oribi
That’s all it does.
I need to find the line in the webflow code that refers to it

thank you

You’ll need to define the input field that contains the email as a variable.

You can do this with the following code - just change emailInputField to the ID of the email input field you want to take the email from:

const emailAddress = document.querySelector('#emailInputField').value

Then you’ll want to change the Oribi code to reference the variable containing the email.

So your final code should look like this:

<script>
var emailAddress = document.querySelector('#emailInputField').value;
ORIBI.api(“setUserEmail”, emailAddress);
</script>

Hope that helps!

In case you’re looking for a completely code-free solution, we’re working on a Webflow analytics tool (no code needed) and will be releasing a member tracking feature soon :slight_smile: