How to inject third-party JS in all pages with Taipy? #2876
Unanswered
15pablo600d
asked this question in
Q&A
Replies: 1 comment
-
|
By the way I am talking about streamlit, but if you have any other graphical library compatible with scenarios that could make the job. Thx |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am developing an application for a client using Taipy for the what-if analysis and the cycle management.
I absolutely need to inject a third-party JS (such as an analytics script) into all pages of the application, but I don't know if it's feasible.
I have tried several approaches without success:
gui.runAPI but no parameter seem to support injecting js scripts into the generated HTML.tgb.htmlto inject a "script" tag or some dynamic HTML, but this causes React rendering errors.Is it possible or should I try with another library like streamlit ? If I should use streamlit, can I use it integrated with Taipy scenarios? Do you know other Python libraries for managing scenarios or recurrent cases?
Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions