Configuring an offer for Digital Recommendations integration
Before your web page can call Digital Analytics Digital Recommendations to retrieve a recommended product, you must first configure the Unica Interact offer with the necessary information to pass to Digital Recommendations.
About this task
To set up an offer to link to Digital Recommendations, make sure the following conditions are in place first:
Make sure that your Unica Interact runtime server is set up and running correctly.
Ensure that the runtime server can establish a connection with the Digital Recommendations server, including making sure that your firewall does not prevent the outgoing establishment of a standard web connection (port 80).
To set up an offer for integration with Digital Recommendations, perform the following steps.
Procedure
Results
The offer is now defined with the information required for Digital Recommendations integration. The remaining work to allow Digital Recommendations to provide product recommendations to Unica Interact is accomplished by configuring your web pages to make the appropriate API calls.
When you configure your web application to serve the integrated page to visitors, make sure that the following files are included in the WEB-INF/lib directory:
- Interact_Home/lib/interact_client.jar, required to handle calls from your web page to the Unica Interact API.
- Interact_Home/lib/JSON4J_Apache.jar, required to handle the data returned from the call to the Digital Recommendations REST API, which returns JSON-formatted data.
See Using the Integration Sample Project for more information on how to serve the offers to your customers.