Conversion Tracking Code

I have a FUB pixel & conversion tracking on my site. I just want to make sure I’m adding this correctly. It’s 2 different scripts, is that a problem or is it better to combine them somehow? This is what it looks like:

<!-- begin Widget Tracker Code -->
<script>
(function(w,i,d,g,e,t){w["WidgetTrackerObject"]=g;(w[g]=w[g]||function()
{(w[g].q=w[g].q||[]).push(arguments);}),(w[g].ds=1*new Date());(e="script"),
(t=d.createElement(e)),(e=d.getElementsByTagName(e)[0]);t.async=1;t.src=i;
e.parentNode.insertBefore(t,e);})
(window,"https://widgetbe.com/agent",document,"widgetTracker");
window.widgetTracker("create", "WT-BNJPDQVY");
window.widgetTracker("send", "pageview");
</script>
<!-- end Widget Tracker Code -->
<!-- Event snippet for REW Registrations (1) conversion page -->
<script> gtag('event', 'conversion', {'send_to': 'AW-972663349/l-r6CL730doDELXU5s8D'}); 
</script>

In this case, the performance gains in modern browsers won’t be much since they are smarter now but you could put all that into one <script> like this to make it faster.

<script>
// Widget Tracker Code ------------------------------------------------
(function(w,i,d,g,e,t){w["WidgetTrackerObject"]=g;(w[g]=w[g]||function()
{(w[g].q=w[g].q||[]).push(arguments);}),(w[g].ds=1*new Date());(e="script"),
(t=d.createElement(e)),(e=d.getElementsByTagName(e)[0]);t.async=1;t.src=i;
e.parentNode.insertBefore(t,e);})
(window,"https://widgetbe.com/agent",document,"widgetTracker");
window.widgetTracker("create", "WT-BNJPDQVY");
window.widgetTracker("send", "pageview");

// Event snippet for REW Registrations (1) conversion page ------------
gtag('event', 'conversion', {'send_to': 'AW-972663349/l-r6CL730doDELXU5s8D'}); 
</script>