Google Analytics code in Somentra

Add the JS tracking code under Somentra > Custom Codes.

Add Google Analytics tracking code in Somentra
Add Google Analytics tracking code in Somentra

Note that you can add any custom code in these fields and not just the tracking code for Google analytics.