Attributes
-
Is there a way within listmonk to automatically gather user attributes upon subscribing?
For example, using this code block
<form method="post" action="https://domain.com/subscription/form" class="listmonk-form"> <div> <h3>Subscribe</h3> <input type="hidden" name="nonce" /> <p><input type="email" name="email" required placeholder="E-mail" /></p> <p><input type="text" name="name" placeholder="Name" /></p> <p><input type="text" name="bizname" placeholder="Business Name" /></p> <p><input type="tel" name="number" placeholder="Phone Number" /></p> <p> <input id="bbd0b" type="checkbox" name="l" checked value="redacted" /> <label for="bbd0b">newsletter</label><br /><span>This will serve as the main newsletter opt-in for all signups</span> </p> <p><input type="submit" value="Subscribe" /></p> </div> </form>
Does not pass through the business name nor the phone number to the listmonk account
-
@privsec Per https://github.com/knadh/listmonk/issues/105 you have to write a custom form and use the API instead of the built-in form.
-
@girish Ok, Im kinda new to this bit of coding.
To utilize the API, does cloudron or any app on cloudron assist with this?
-
@privsec This requires a programmer to use the Listmonk API to add subscribers into Listmonk. It's not straightforward if you are not a developer.
Or maybe some lo-code app like n8n can help out here. But I am no expert on those apps, maybe someone else can chime in. I would imagine none of those integrate with Listmonk, so you have to "program" anyways.
-
@girish Thank you, I appreciate your response.