Cancel registration when a number is reached | Community
Skip to main content
New Participant
January 11, 2024
Solved

Cancel registration when a number is reached

  • January 11, 2024
  • 2 replies
  • 1584 views

Hi,

 

Does anyone now how to deactivate a registration page once it reaches the required number?

 

Thanks,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Michael_Florin-2

I assume, you mean "automatically", right?

 

That doesn't work with Marketo natively. There was something like an "Event Cap" probably in Marketo Sky, but to be honest, I'm not sure it ever existed. But what you can certainly do is use a tool like https://flowboo.st/ to count registrations, and once a threshold is reached, react on it. Requires some development skills though.

2 replies

Michael_Florin-2
Michael_Florin-2Accepted solution
New Participant
January 11, 2024

I assume, you mean "automatically", right?

 

That doesn't work with Marketo natively. There was something like an "Event Cap" probably in Marketo Sky, but to be honest, I'm not sure it ever existed. But what you can certainly do is use a tool like https://flowboo.st/ to count registrations, and once a threshold is reached, react on it. Requires some development skills though.

SanfordWhiteman
New Participant
January 11, 2024

Yep, on the browser side you can redirect if the event is full:

fetch(`https://api.teknkl.com/fbcounter/v2/counter/count/event/program/{{Program.Id}}`, { headers : { "X-Api-Key" : "pub:648y91ngydm52q1s8tqve8fy" } }) .then( currentJ => currentJ.json() ) .then( current => { if( current.count > 100 ) { /* whatever you wanna do, like document.location.href = "https://pages.example.com/event-full.html"; */ } });

 

The call to check the counter will be near-instantaneous, but you might want to hide the form until you know whether the event is full, so the person doesn’t see a quick blink of the form before being redirected.

uditmathur
Community Manager
January 11, 2024

Hi,

I assume you are referring to Marketo Registration Landing page.

You can just unapprove the registration landing page details can be found here .

I will suggest the better option will be to create a new Registration Closed Landing page & redirect the registration CTA to point to this new LP url. 

Hope this helps.