Subscribe Lightbox link to 3rd party provider

Hello, is there a way that I can link the subscribe popup lightbox to an external provider? I have to include the action url and a form ID as a hidden element to get it to work

Hi!

Yes! It is possible using Wix-Fetch API for integration with 3rd party services!
Read all about it here .

Doron

Thankyou so much for helping my Doron, if I’ve read this correctly, my code should look like this:

import {fetch} from ‘wix-fetch’;

// …

fetch(“MyGuestlist Error”, {method: “get”})
.then( (httpResponse) => {
if (httpResponse.ok) {
return httpResponse.json();
}
}
)

. catch (err => console.log(err));

I am just not sure how to get my hidden element which is the form ID into this code and if I have to tell it any actions on the submit button. Sorry for being such a newb at this