Submit leads from a different origin

  • 27 August 2019
  • 0 replies
  • 19 views

Hi there,

When users submit leads in our pages, we prevent the default behavior. We send the leads to our database and then we send the lead to the unbounce database by making an ajax request.

This have been working for us. However, we are in a situation in which we need to redirect users from the main domain of our organization to an unbounce page, but the visible url will be the main domain, not the sub domain we are using for the unbounce page.

So, when we make the post to insert the lead into the unbounce database, we are getting a CORS issue and that makes sense, since the origin is different.

Does anyone know if there is a way to submit leads to Unbounce from a different origin?


0 replies

Be the first to reply!

Reply