Google Analytics 4 Property

Has anyone converted Google Analytics over in their Knack App(s) to the Google Analytics 4 property structure? I have javascript that uses the original property, but am not sure how to convert the JS over to using the GA4 property. Can anyone help??