I am trying to use functions in dcsubscriber.js:
However, when running the website, the content of dcsubscriber.js is replaced completely by some odd html code:
Update:
I use Admin panel to add html code from Markdown editor
I am trying to use functions in dcsubscriber.js:
However, when running the website, the content of dcsubscriber.js is replaced completely by some odd html code:
Update:
I use Admin panel to add html code from Markdown editor
You can use react-helmet
Put your js file inside static folder and use them like this :
<Helmet>
<script crossorigin="anonymous" src="/test.js" />
</Helmet>