How to call new field in Users Table within Custom Code

Sorry if this has been asked before. I did read through the help docs but could not find documentation how to call a new field in the Users table in Softr’s Settings\Add Custom Code.

I have a requirement to pass an alternative User ID to Google Tag Manager. That is I plan to add a new field to the User table by following this article: User Profile – Softr Help Docs

In the article, it walks me through creating a new field called POSITION. My need is to query a new field so I can pass it to Google Tag Manager. I plan to insert a JavaScript (below). How do I reference the new field e.g., Position; is it like this?
window[‘logged_in_user’][‘Position’]

Here is the entire Custom Code I plan to insert under Settings\Add Custom Code.

<script>
window.addEventListener(‘block-loaded-cta1’, () => {
if(window[‘location’][‘pathname’]==‘/mywebpage’ && window[‘logged_in_user’]) {
const myData = window[‘logged_in_user’][‘Position’];
dataLayer.push ({‘event’ : ‘My Custom Event’,‘my_position’ : myData });
}
});
</script>