Add Lottie Animation into Silverstripe in CMS Editor

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Silverstripe Version: 3

How do I add my Lottie Animation code ( into Silverstripe in CMS Editor, seems to be discarding it once I save because it contains Javascript. Can I edit the source DB file instead (Where would I find that?), if I can’t use the editor to add Javascript?

Help would be appreciated.