Firstly, don't link to a AEP Tags URL. None of us can open it since we're not users in your Tags product.
The warning that you see with your custom code is shown because optional chaining is, as you've noted, available with ES11 and above. However, by design, Tags wants to support as many browsers...