helpful-purple
helpful-purple15mo ago

Please tell how to deploy own instance of react-chat. I need to integrate Google Analytics.

The video guide is not compatible with the current version of the react-chat library: https://youtu.be/u2GRK9x6RNM?si=JrTcyDUFvMu4FKhE Docs are repo read me missing deploy instructions. I need to integrate a Google Analytics into the widget, and running own instance of react-chat seems like the only viable solution. Really apprecite the help!
4 Replies
Tico | Voiceflow Assistant
To customize your own version of the react-chat, follow these steps: 1. Clone the Repository First, clone the demo-react-chat repository to your local machine:
git clone https://github.com/voiceflow/demo-react-chat.git
cd demo-react-chat
git clone https://github.com/voiceflow/demo-react-chat.git
cd demo-react-chat
2. Install Dependencies Install the necessary dependencies using npm:
npm install
npm install
3. Configure the Project Open the project in your favorite code editor and replace 'YOURAPIKEYHERE' in the index.js file with your Dialog Manager API Key. You can obtain this key from your Voiceflow agent project under the Integrations tab. 4. Run the Project After configuring the project, you can start your chat widget by running:
npm start
npm start
For more detailed customization and configuration, refer to the Voiceflow Customization & Configuration Guide. You can also check the demo-react-chat repository for more information. Please note that a custom launch solution requires the ability to host and maintain code on your own infrastructure.
W. Williams (SFT)
search for "Voiceflow Extensions"
helpful-purple
helpful-purpleOP15mo ago
Ok thanks. Is there a way to translate widget buttons and controls into FInnish? This language is missing as an avaialbe option
W. Williams (SFT)
yes. You can use css to do that.

Did you find this page helpful?