mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-18 18:55:49 +00:00
19 lines
521 B
Django/Jinja
19 lines
521 B
Django/Jinja
<!-- Feedback Widget -->
|
|
<script src="{{currentpage.prefix}}assets/vendor/feedback-widget.js"></script>
|
|
<div id="feedback-content"></div>
|
|
<script>
|
|
// Options
|
|
const options = {
|
|
analyticsConfig: [
|
|
// { name: 'ga', id: 'UA-45576805-2' },
|
|
{ name: 'gtm', id: 'GTM-KCQZ3L8' },
|
|
],
|
|
analyticsName: 'Feedback Widget Tracker',
|
|
theme: 'xrpl',
|
|
currentPath: window.location.pathname,
|
|
parentElement: '#feedback-content',
|
|
};
|
|
|
|
// Init WidgetClass
|
|
const r = new WidgetClass(options);
|
|
</script> |