Open Bug 1302135 Opened 10 years ago Updated 10 years ago

[basket] create client side code snippet for use of easily implementing new signup forms

Categories

(Websites :: Basket, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: jdavis, Unassigned)

References

(Depends on 1 open bug)

Details

User story: As a new email/CRM program manager at Mozilla, I want an easy-to-use code snippet for a signup form that's connected to our email + CRM platform, so that the devs that are working on my custom site (whether Bedrock internal devs or a 3rd party) can easily implement the new signup form without having to know all-of-the-coding-things that Basket requires. As we want more and more people to use our CRM platform as our central place for managing relationships at Mozilla, we need to make it easier for new newsletters/email/CRM programs to be set up with integrated opt-in forms. Ideal goal: have something that works like MailChimp for our custom Basket integration: http://kb.mailchimp.com/lists/signup-forms/add-a-signup-form-to-your-website Background example: Currently viewsourceconf.org posts to bedrock, which then posts to basket because basket isn't the most friendly for client-side JS. We should improve basket for this purpose and publish a recommended client side code snippet for use
Because we've got a request in now from a group without the web development resources to adapt the example from viewsourceconf.org I've put together the following example: https://github.com/mozilla/basket-example It's also deployed as a working example via github pages: https://mozilla.github.io/basket-example/ The HTML and JS in that repo should be a simple copy/paste to enable a subscription form on any website. It's not yet feature complete (no examples of country or language selection), but those should be easy to add for a web developer, and can be added to our example if desired. We still need to improve basket's subscription API for use from client-side code like this and adapt our example to use basket directly, but this is a first step toward this request.
Depends on: 1302820
Excellent. Thanks, Pmac! We do need to add these fields into the example: Country Language HTML/Text and update the blurb to say: I’m okay with Mozilla handling my info as explained in this Privacy Notice Linking "Privacy Notice" to: https://www.mozilla.org/privacy/websites/ That way, we have all the standard fields that Mozilla has (historically) required.
You need to log in before you can comment on or make changes to this bug.