Thank you webdev
Indeed embedding and Zapier are great options to get something done. But since I’m setting up a new business, I’d like to avoid shortcuts and do things the right way.
I’ve checked the API documentation and it only says this: “If your product is mostly for capturing new subscribers then you should integrate with forms in ConvertKit. So in OptinMonster when a subscriber opts-in they are subscriber to a form in ConvertKit.”
Which I have no idea what it means. Should I integrate with OptinMonster? In the ConvertKit forms there are not many options other than “embed”.
When I go to embed, I get the full HTML code and it looks like this:
(Note: I’ve removed all the styling tags to make it shorter)
<script src=“https://f.convertkit.com/ckjs/ck.5.js”></script>
<form action=“Log In - ConvertKit” class=“seva-form formkit-form” method=“post” data-sv-form=“867730” data-uid=“25cf7a8ec3” data-format=“modal” data-version=“5” data-options=“{"settings":{"after_subscribe":{"action":"message","success_message":"Success! Now check your email to confirm your subscription.","redirect_url":""},"modal":{"trigger":"timer","scroll_percentage":null,"timer":5,"devices":"all","show_once_every":15},"recaptcha":{"enabled":true},"return_visitor":{"action":"hide","custom_content":""},"slide_in":{"display_in":null,"trigger":null,"scroll_percentage":null,"timer":null,"devices":null,"show_once_every":null}}}”><div data-style=“card”><div data-element=“column” class=“formkit-column”><div class=“formkit-background”></div><div class=“formkit-header” data-element=“header”><h1>Subscribe to the latest news</h1></div></div><div data-element=“column” class=“formkit-column”><div data-element=“subheader” class=“formkit-subheader”><p>Don’t miss a thing!</p></div><ul class=“formkit-alert formkit-alert-error” data-element=“errors” data-group=“alert”></ul><div data-element=“fields” class=“seva-fields formkit-fields”><div class=“formkit-field”><input class=“formkit-input” name=“email_address” placeholder=“Your email address” required=“” type=“email”></div><button data-element=“submit” class=“formkit-submit formkit-submit”><div class=“formkit-spinner”><div></div><div></div><div></div></div><span>SUBSCRIBE</span></button></div><div data-element=“guarantee” class=“formkit-guarantee”><p>We won’t send you spam. Unsubscribe at any time.</p></div><a href=“ConvertKit: The creator marketing platform” class=“formkit-powered-by” data-element=“powered-by” target=“_blank” rel=“noopener noreferrer”>Powered By ConvertKit</a></div></div></form>
What I gather from this and what I added to my form is:
- Method = “post”
- Action is the URL in there
- The field should be named “email_address”
- I’ve also added the corresponding attributes to the form itself: data-sv-form and data-uid
What I get is:
- A redirection to the action URL with a “Uh oh! something’s not right” message
- No subscriber on ConvertKit
What I would expect to get (what Mailchimp does for example):
- Success or error message on Webflow (my site)
- A new subscriber on my list on ConvertKit
- Additionally/potentially: A new window IF there’s any other information to give like CDPR eventually
Do you see anything I might have been missing?
Oh, by the way! I have contacted ConvertKit. On my first interaction the support person didn’t have the technical knowledge to help me, I’m waiting to see if they can help me further. I’ve also signed up for their Slack and asked there, but no one seems to be active there
Grrrr I have to say these marketing tools are super annoying. There’s a need for 10 to work together, all of them with subscriptions, then pay Zapier on top to make them talk to each other. And this is just for the marketing and sales part of the business!