solo-io / gloo-portal-issues

Public tracker for issues related to Gloo Portal
https://docs.solo.io/gloo-portal/latest/
1 stars 3 forks source link

Allowing custom HTML to be added to all the pages #107

Open djannot opened 3 years ago

djannot commented 3 years ago

Is your feature request related to a problem? Please describe. Adding customer HTML is needed for many different use cases (adding a chatbot, google analytics, collect user survey, ...).

Here is an example:

<script>
  window.onUsersnapCXLoad = function(api) {
    api.init();
  }
  var script = document.createElement('script');
  script.defer = 1;
  script.src = 'https://widget.usersnap.com/global/load/45a1beba-6685-4433-8a2d-b7f218afc44f?onload=onUsersnapCXLoad';
  document.getElementsByTagName('head')[0].appendChild(script);
</script>

Describe the solution you'd like Allow users to provide some custom HTML to add to all the pages (at the end of the body section).

chrisgaun commented 3 years ago

https://solo-io.slack.com/archives/C01T58KKCH0/p1629834281013300

jehawley commented 2 years ago

This was released in 1.0.2-beta2.