I’m working with a code snippet that needs to be integrated into a website. The code includes a third-party business script, with a crucial component being the unique client ID embedded within it.
This script is primarily designed to render a Chatbot for users to ask questions.
Now, my requirement is as follows: each client possesses a unique ID for their widget, while the website content remains consistent for all clients. I’m actively seeking a solution to eliminate the need for maintaining multiple identical HTML files for each client, solely due to the changing ID.

Ideally, I aim to manage all client IDs from a single website, potentially by implementing a dynamic solution.

Despite my limited coding experience, I am aware of various approaches, such as server-side implementation, extracting IDs from URLs, or utilizing path information from URLs. However, I’m uncertain about the most secure, scalable, and optimal solution. Any guidance or efficient solutions you can provide would be immensely appreciated.

The Front-end is mainly built, represented by the attached file which renders the whole project. The logic behind these specific feature is what needs to be done.

Posted On: January 25, 2024 15:51 UTC
Category: Full Stack Development
Skills:Web Development, HTML, JavaScript, Node.js, ExpressJS

Country: Argentina

click to apply

Powered by WPeMatico