I want a field to embed a review script:
ex (removed symbols to make it legible) :
!-- Begin widget code –
div data-rw-grid=“30917”> script>var script = document.createElement(“script”);script.type = “module”;script.src = “content here”;document.getElementsByTagName(“head”)[0].appendChild(script); !-- End widget code –
This script would be unique on each page. I have a location page template, and each location has a reviews unique script that generates their reviews.
Each time the fields just shows the script text.
Any thoughts?