1. How to gate a page with an elementor popup and a form

Create or open a popup

Open your page

< script> /*script containing the information needed for the gate*/ var loaded=0; /* This is preventing marketo to load the form twice*/ var formId=2729; var elementorPopupId=5286; < /script>

 if you need GA reporting add the object GAevent like this 

var GAevent={
name:’partnersFormSubmit’,
category:’Partners Form Submit’,
action:’Form Submitted’,
label:window.location.pathname,
value:null
}

Save and it’s done.