Versions Compared

Key

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

...

  1. After installing the Program Registration solution, click on the Configure Button.

  2. This will open a window as shown below.

  3. You can configure the email subject, disclaimer, body, and so on here.
    The sample code is given below:

    Code Block
    {
        "emailDisclaimer": "<p data-renderer-start-pos=\"75\">The information you provide will only be used by [<em data-renderer-mark=\"true\">Brand</em>], our affiliates, and our service providers, to contact you via phone and email about the [<em data-renderer-mark=\"true\">Brand</em>] Select program and to fulfill your optional requests as indicated below. You may request to be removed from our contact list by using the unsubscribe link in any email we send or by calling 1-888-CELATYNE (1-888-927-XXXX).</p>\n\n<p data-renderer-start-pos=\"455\">Our Privacy Policy [<em data-renderer-mark=\"true\">Link to: privacy policy</em>] further governs the use of the information you provide.</p>\n\n<p data-renderer-start-pos=\"558\">By submitting your information, you agree that you have read, understand, and agree to these terms.</p>\n",
        "emailBody": "<p>Hi,</p>\n\n<p>We invite you to check out our bot and get registered by clicking the below link:</p>\n\n<p><a href=\"__BOT_URL__\">Program Registration</a>.</p>\n\n<p>Thanks.</p>\n",
        "emailSubject": "Invite for Program Registration",
        "ackEmailSubject": "Thank you for registering!",
        "ackEmailBody": "<p>Hi {{msg.payload.firstname}} {{msg.payload.lastname}},</p>\n\n<p>      Thank you for registering to the program.<em data-renderer-mark=\"true\"> </em></p>\n\n<p>Thank you.</p>\n",
        "botUrl": "/oeapi/bot/program-registration",
        "oeEventName": "progregwelcome",
        "debug": false
    }

  4. Change the config settings as required and click Save.

Property

Description

emailDisclaimer

You can configure the Disclaimer of the campaign email here.

emailBody

You can configure the body of the campaign email here.

emailSubject

You can configure the subject of the campaign email here.

ackEmailSubject

The subject of the email that is sent after a user registered to the Program

ackEmailBody

The body of the email that is sent after a user registered to the Program

botUrl

This is the bot endpoint that you have configured for the project.

oeEventName

This is the Event name progregwelcome you configured earlier.

Email sent using Campaign API

...

Email sent by Orbita after registering to the program successfully.

...

Bot View Template

Navigate to the Experience Designer > Bot Manager flow > Bot View Template node

Custom JS

Place the below code in the Custom JS tab.

Code Block
// DOM: Create the script element
var jsElm = document.createElement("script");
// set the type attribute
jsElm.type = "application/javascript";
// make the script element load file
jsElm.src = "/oeapi/pr.js";
// finally insert the element to the body element in order to load the script
document.body.appendChild(jsElm);

...