A country’s tourism website is planning an email campaign featuring special travel packages to entice 2021 tourism. The company would like to deploy strategic emails offering real-time offer personalization for its customers. Let’s understand with the help of this article the goals of the company, the challenges they face, and how Unica Interact can help them in strategizing the entire offer strategy.

GOAL

  • Make business user aware of how Interact message connector works.
  • To deploy the Interact message connector in the WebSphere application server.
  • To test the message connector tag to verify personalized offers are getting displayed.

CHALLENGE

  • Unfortunately, the company is limited in its backend digital capabilities (no Java or SOAP) and anticipates problems with customers who open emails where only HTML content is possible.
  • The company is looking for a solution to provide real-time offer management in situations where you only have control over the web content that is loaded on the client’s side.

SOLUTION

Unica Interact is a sophisticated real-time interaction solution to personalize the customer experience and determine the next best action for customer engagement across various channels such as websites, call centers, point-of-sale, ATM’s, kiosks, and more.

KEY FEATURE

Unica Interact Message Connector allows email messages and other electronic media to make calls to Unica Interact to allow personalized offers to be presented at open-time and when the customer clicks-through the message to the specified site. This is accomplished by using two key tags: The image tag (IMG), which loads the personalized offers at open-time, and the link tag (A), which captures click-through information and redirects the customer to a specific landing page.

STEP-BY-STEP SOLUTION

1. MessageConnector gets installed with the Interact installation itself. 

The path of msgconnector folder in our windows environment is as follows

Path :- C:\HCL\Unica\Interact\msgconnector

2. Deploy the ‘MessageConnector.war’ in the WAS profile. (The same WAS profile as you are using for Interact Run Time)

a) Add the JVM parameter MESSAGE_CONNECTOR_HOME in Generic JVM arguments of WAS server. Like Below.

-DMESSAGE_CONNECTOR_HOME= C:\HCL\Unica\Interact\msgconnector

b) Context root of Message Connector is ‘/MessageConnector’

c) Set the class loading for the MessageConnector war file, as shown in the below diagram.

  • Classes loaded with local class loader loads first (parent last)
  • Single class loader for application

3. Create an offer template with the following 2 additional custom attributes of text type

  • offerImageUrl
  • landingPageUrl

4. Create a few offers with the above-mentioned offer templates. And assign those to the appropriate segments in the interaction strategy. And mark the strategy for deployment. Here is an example of an offer I have created in our windows environment. The value of the 2 attributes I have assigned is as follows

offerImageUrl = http://www.map-of-spain.co.uk/maps-of-spain/spain/map-of-spain2.jpg 

landingPageUrl= http://www.spain.info/

5. Configure the file ‘MessageConnectorConfig.xml’ present at the location

C:\HCL\Unica\Interact\msgconnector\config

6. Execute the DDL script ‘db_scheme_<DBType>.sql’ present at the path in the run time database.

C:\HCL\Unica\Interact\msgconnector\scripts\ddl

Please replace ‘AudienceID’ with the correct audienceID name in the above DDL script and then execute it in Interact’s Runtime database/schema. It creates a table named ‘UACI_MESSAGE_CONNECTOR_LOG.’

7. Now restart the Websphere server and start the MessageConnector application from the WAS console. Observe that the ‘MessageConnector.log’ file gets created in the Websphere profile location. Verify from the log file that Message Connector is initialized correctly.

2018-08-20 03:52:07,326 INFO  com.unicacorp.interact.messageconnector.servlet.MessageConnectorContextListener - >>>>>> appHome=< C:\HCL\Unica\Interact\msgconnector>
2018-08-20 03:52:07,342 INFO  com.unicacorp.interact.messageconnector.servlet.MessageConnectorContextListener - >>>>>> Starting Message Connector using configuration settings from file
<C:\HCL\Unica\Interact\msgconnector\config\MessageConnectorConfig.xml>
2018-08-20 03:52:07,342 INFO  com.unicacorp.interact.messageconnector.servlet.MessageConnectorContextListener - >>>>>> Loaded Log4j properties from file
<C:\HCL\Unica\Interact\msgconnector \config\MessageConnectorLog4j.properties>

8. Now, Deploy the Interactive Channel to the Interact Run time server.

9. Testing of Message connector tags in HTML file. I have named this file as ‘TestPage.html

<a href="http://us-rh-win05.prod.hclpnp.com:9080/MessageConnector/offerClickthru.jsp?msgId=1&linkId=1&userid=1"><img src="http://us-rh-win05.prod.hclpnp.com:9080/MessageConnector/offerImage.jsp?msgId=1&linkId=1&userid=1"></a>

In the above tag, the userid is mapped as the HTTP parameter name for CustomerID. To test offers for different customerIDs, you need to just replace userid values.

a) Execute the Message connector tags to ensure correct offer image and offer landing pages are served.

b) When I execute the TestPage.html file, the offer image loads.

c) When I click on this offer image, the landing page URL of an offer gets opened.

d) When an offer image gets loaded, a contact record gets inserted in the UACI_CHStatging table. Also, a record gets inserted in the ‘UACI_MESSAGE_CONNECTOR_LOG’ table.

e) When a landing page URL of an offer is displayed, this is treated as an accept, and the record gets inserted in the ‘UACI_RHstaging’ table.

With Unica Interact Message connector allows marketers to add a static block of HTML to their email message (either by cutting and pasting into a text area within their document or by importing a pre-created text block into their document). Once the HTML block was added, the message would automatically send a request to Interact when the message is viewed. The request would identify the recipient and the specific message to give Interact context. Interact would then return a banner image for an offer to display in the message. If the user clicked on the banner, Interact would direct the clickthru to the landing page URL specified for the offer in the offer attributes.

The Unica Interact Message Connector allows email messages and other electronic media to make calls to Unica Interact to allow personalized offers to be presented at open-time and when the customer clicks-through the message to the specified site. This is accomplished by using two key tags: The image tag (IMG), which loads the personalized offers at open-time, and the link tag (A), which captures click-through information and redirects the customer to a specific landing page.

You can reach out to us for any more queries, and we will be happy to help.

Comment wrap
Further Reading
Unica Journey - Dynamic Content and Offers
Marketing & Commerce | January 22, 2021
Unica Journey – Handling Dynamic Content using Decision and Engagement Split
With the increasing number of touchpoints for the customers to engage with a brand or their product, mapping out a customer’s journey has become increasingly complex. Despite that, customer journey mapping is important as it helps in unraveling customer's expectations, gain insight into their mental model, and helps in creating a personalized omnichannel experience. HCL Unica Journey is a product developed for marketers, helping them design the entire customer journey using different capabilities of Unica Journey like Touchpoints, Engagement split, Decision splits, etc. Unica Journey helps marketers communicate with their customers using different touchpoints like Email and SMS. Marketers can integrate the Journey touchpoint with different Email and SMS connectors and quickly deliver their contents/offers to the targeted audiences. Supported Email Delivery Connectors – Unica Deliver, Mailchimp, and Mandrill using HCL Link. Supported SMS Delivery Connectors – Unica Deliver, Twilio using HCL Link. Use Case: As a marketer,  I would prefer to send desired content/offers to the customers based on their hobbies along with personalization with a single click. If the customer has a hobby of ‘Reading’ then as a marketer, I want to send content/offer related to books/magazines to this customers and those who love ‘Music’ I must send content/offer related to some musical instruments, etc. Unica Journey can send dynamic offers/contents to the customers using the preferred delivery channel. The decision split of Unica Journey has a strong capability to do segmentation based on desired conditions. Journey can send desired contents/offers to the set of people who belong to that segment. Let's have a look at how we can achieve it with Unica Journey. Steps 1. Entry Source creation: The marketer needs to create an Entry source where he can upload the customer data in any supported data import formats, as shown below. E.g., CSV file in this...
Marketing & Commerce | January 8, 2021
Unica Discover is Cloud Native!
Cloud-native is the biggest enabler of the generation and helps you to deliver business value by providing you the flexibility to quickly incorporate user feedback for continuous improvement. With the latest feature release, Unica Discover has become cloud-native. Why go Cloud-Native? Cloud-Native applications have several advantages over typical on-premises deployments. Unlike traditional applications, Cloud-Native application resources are automatically provisioned and released with an on-demand allocation of infrastructure. With auto-scaling, complex up-down process needs are addressed, and resources are paid for on a need-only basis. Container-based platforms decrease the time taken to deliver new products and services to market.  HCL understands the customer's needs to have a stable infrastructure that is also primed to scale up or down based on the times of the year. Reduced cost through containerization and the ease of managing the infrastructure will translate to a better customer experience. Unica Discover Is Dockerized! Along with the traditional on-premises solution, Unica Discover is now cloud-ready for any infrastructure options with Docker containerization. With this, Unica Discover has become more flexible, scalable, and manageable, leveraging the Continuous Integration / Continuous Delivery (CICD) model. Dockerized CICD upgrades will allow upgrades, features, enhancements, and fixes to be delivered to customers more frequently and reduced time for testing and deployment! A traditional Unica Discover deployment has Linux components (DNCA and Packet Forwarder) and Windows components (Routing, Processing server, Reports, Replay server, and DB server). All of the Windows components can be deployed in one server or distributed across servers for larger-scale implementations, and the servers themselves can be physical or virtual. In the cloud-native deployment, we have containerized these components and provided Docker images for each. The ports required for communication within the different components, capturing data from Packet Forwarder to DNCA, and forwarding that data to Routing are all automatically managed...
Marketing & Commerce | December 31, 2020
Unica Deliver – Digital Marketing Automation @ Scale
In our experience supporting Unica in a variety of Martech configurations, we can see that there are a number of common questions around robustness, customization, automation, and most importantly, security customers frequently come to support with various problems with their existing delivery mechanism, which includes: ● Multiple configurations needed for integration ● Instability caused by unplanned system changes and downtime ● Performance challenges ● Application glitches - duplicate email delivery because of network connectivity. ● Security & GDPR ● Product defect and enhancements managed over multiple vendors ● Incomplete documentation and support skill sets needed to implement a full solution. This article will help you to understand the challenges our customers face with many martech stacks today. The article will also introduce some of the benefits and features of the Unica Deliver V12.1 Existing delivery mechanism: Issues & challenges today. Introducing HCL Unica Deliver To overcome these challenges, HCL introduced HCL Unica Deliver in V12.1 to provide seamlessly integrated, automated, and ad hoc engagement of customers across digital channels with timely, personalized digital messages. Unica Deliver operates with Unica Campaign, Unica Journey, and Unica Interact. When you install Campaign, several Deliver components and tables are automatically installed as part of the Campaign installation. You don't need to bother about the separate installation as Deliver works with SQL Server, DB2, Oracle, MariaDB, HCL OneDB as system databases. Our customers can choose any database they wanted to use with Campaign. Benefits of Unica Deliver Unica Deliver helps to resolve all the above issues, and in addition to that, it provides various benefits to the marketer. Digital Channel Coverage: Seamlessly integrate with an ever-expanding ecosystem of digital messaging touchpoints, including email, SMS, and more. Unified Omni Channel Experience: Leverage the powerful context and continuity offered by the Unica Platform’s system of record, ensuring that...
a/icon/common/search Created with Sketch.