Dynamic Form/Content Section on WordPress
Jun 2, 2020 11:37 PM
I'm looking to make a section on our blog posts (our site runs WordPress) dynamic in the following way.
1. Visitor first sees a section with a form to subscribe.
2. After filling out the form, on the next visit, they will see the form section replaced with different text and a button or a form.
The obvious goal is to stop showing the same irrelevant form every future time someone reads our blog after subscribing.
I know this can be done in HubSpot's CMS pretty easily with smart sections and there isn't an out-of-the-box HS provides. However, can't this be done through the API? What would this look like? Can anyone point me in the right direction here?