Overview
How to Integrate Frontnow Advisor to Your Website: A Step-by-Step Guide
Was this helpful?
How to Integrate Frontnow Advisor to Your Website: A Step-by-Step Guide
Was this helpful?
The first step to integrating Frontnow Advisor to your website is to get access to the solution. Contact our sales representative at to request access.
Once you've been granted access, you can integrate Frontnow Advisor to your website using the following initialization code:
In this code, replace YOUR_ADVISOR_SUBDOMAIN
with your Frontnow Advisor subdomain.
Add the following HTML element to your website to display Frontnow Advisor:
This code creates a container for the embedded Advisor to be displayed in. Make sure the target
parameter in the initialization code matches the selector of the HTML element.
You can use the following script to load the advisor.js
file asynchronously and call an initCallback
function after the script has loaded successfully:
In this script, the loadAdvisorScript
function creates a new script element, sets the src
attribute to the advisor.js
file, and sets the async
attribute to true
. The initCallback
function is passed as an argument and will be called when the script has finished loading. If there's an error loading the script, an error message will be logged in the console. Finally, the script element is appended to the document head, which initiates the loading of the advisor.js
file.
By following these steps, you can easily integrate Frontnow Advisor to your website and provide your visitors with personalized recommendations and guidance. If you have any questions or need assistance, please don't hesitate to contact us.
The mode
parameter determines the that Frontnow Advisor will use, and the target
parameter specifies the selector of the HTML element that will contain the embedded Advisor. You can change these parameters to suit your needs.