<script type="text/javascript" src="https://app.revenuehero.io/scheduler.min.js"></script><script type="text/javascript"> // Use Router ID inplace of 666 here window.hero = new RevenueHero({ routerId: '666' }); hero.schedule('#gform_16'); // Gatsby form ID</script>
In your Gatsby form component code, add the following code to integrate RevenueHero widet on your form submission
Copy
import { Script } from 'gatsby'<Scriptsrc="https://app.revenuehero.io/scheduler.min.js"strategy="afterInteractive"onLoad={() => { // Replace 666 with your Router ID const hero = new window.RevenueHero({ routerId: "666" }) hero.schedule("#gform_16")}}/>
That’s it. Once published, you’re ready to start converting your Demo Meetings 🎉🎉