Top
Using JavaScript
  • 06 Jan 2023
  • 1 Minute To Read
  • Dark
    Light
  • PDF

Using JavaScript

  • Dark
    Light
  • PDF

Note

Only an Account Manager can perform the following task. For more information about available roles see, Whatfix User Roles.

Whatfix uses a single line of JavaScript to ensure that content and widgets created are rendered on your application. The JavaScript must be inserted in the header of your application to make the content available on every page of your application.

Whatfix can be used with Salesforce, ServiceNow, PeopleSoft, Google Tag Manager, and Microsoft Dynamics using the Javasript delivery method.

your title goes here

A single line of JavaScript enables you to embed the same code in any of your application instances.

Use the following steps to access the latest version of JavaScript,

  1. On the Whatfix dashboard, at the top right, click the Settings icon.
    DB_Clicksettings.png

  1. Click Map Stages.
    studio_mapstages

  2. Under the Deployment Script section, copy the script using the Copy button. The script must be inserted in the header or footer of your application to be present on every page of your application.
    studio_javascript_deployment script

  3. Under the Ready section, select the condition and operator, and then enter the value of your development/UAT environment. The content available in the Ready stage is displayed in this instance.
    studio_javascript_ready stage

Note
  • This is similar to the Development Script on the older Dashboard.

  • Content and widgets in the Draft stage are not displayed on your application.

  1. Under the Production section, select the condition and operator, and then enter the value of your production environment. The content available in the Production stage is displayed in this instance.
    studio_java script_production
Note
  1. Click Save.
    studio_js_save

Was this article helpful?


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.