Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Magnolia provides a sample implementation showing how you can collect leads (such as email addresses for example) on a web form, ask for consent, and push those leads to IBM Watson.

The examples example on this page make use of the Privacy module and the Travel Demo?. XXX  IBM IBM Marketing cloud connector, and External Forms, modules...

Table of Contents


In the sample implementation, we provide in the Pages app: delivered by which module? ext form ibm bootstrapped

  • watsonFormSample page
  • /travel/contact/watson page (gdpr form)

the magnolia-external-forms-ibm module (sub module of External Forms) provides a page called watsonFormSample in the Pages app.

This page contains a simple email field  This page contains a form linked to IBM Watson. The form is processed using an out-of-the-box processor called XXX

The visitor consent tracking mechanism is provided using the default implementation of the magnolia‐privacy‐visitor‐manager module (sub module of Privacy module). A dedicated visitor references searcher called info.magnolia.extforms.consent.WatsonReferencesSearcher processes GDPR-sensitive data from the forms.

Note

Note that External Forms is an EE std module and is not bundled.

Configuring the sample 

To enable the sample with your implementation of IMB Watson XXX follow the instructions in the IBM Marketing Cloud connector page to connect to your Watson database.

  1. If you do not already have one, create a database in your Watson Campaign Automation account



  1. Go to the sample page http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:pages:detail;/watsonFormSample:edit
  2. Edit the external form component. 
  3. Choose Silverpop as external form.
  4. Choose a database from Silverpop.
  5. The form should be rendered from all columns of the chosen database.
  6. Add a field to the database

...

  1. from the Silverpop admin central.
  2. Go to http://localhost:8080/magnoliaAuthor/travel/subscribe.html. Your new field should be displayed.
  3. You probably don't want to show all the field of the database such as system ones and want to change the order of field on the page:
    1. Create a selection field called LAYOUT in the database.
    2. Add the desired field names as values for selection.
    Image Added
  4. Activate the page to the public instance.
  5. Go to the activated page, fill in some fields (http://localhost:8080/magnoliaPublic/travel/subscribe.html) and submit.
  6. Information will be stored in Silverpop.
  7. User identification:
    1. If the web tracking javascript is enabled and your browser allows to store cookies. Your submitted information should be pre-filled if you revisit the subscription page. You can change values and resubmit.
    2. Alternatively, you can allow login with email/password if you want to allow users to be logged in from another computers, mobiles...
      1. Add a field called PASSWORD to the Silverpop database.
      2. Set the databaseId against which you want to run authentication. This should be the same database as the one defined for the SilverpopTraitsDetectorFilter .

         SilverpopAuthenticationFilter


         enabled

        true

         class

        info.magnolia.silverpop.login.SilverpopAuthenticationFilter

         databaseId

        4014446

      3. Go to the subscription page. Password and Password confirmation fields should be there.
      4. Fill the password and submit the form.
      5. You should now be able to log in with email/password: http://localhost:8080/magnoliaPublic/travel/subscribe/login.html.
      6. The password login has precedence to cookie identification.











Form component that fetches data from external form (e.g. IBM)

...