Create a NavLink for an Embedded Typeform

I want to embed a Typeform survey in a slider format that becomes visible when a user clicks a link in the Nav Bar. Typeform generates code for a link:
<a class="typeform-share link" href="" data-mode="drawer_right" style="color:#3A7685;text-decoration:underline;font-size:20px;" target="_blank">Launch me </a> <script> (function() { var qs,js,q,s,d=document, gi=d.getElementById, ce=d.createElement, gt=d.getElementsByTagName, id="typef_orm_share", b=""; if(!,id)){,"script");; js.src=b+"embed.js";,"script")[0]; q.parentNode.insertBefore(js,q) } })() </script>

But how can I apply this script to an existing Nav Bar link?