Labels inside the track
onLabel / offLabel render inside the track itself. Both stay in the DOM and the track sizes to the wider of the two, so its width cannot jump as the switch flips.
<gog-toggle label="Analytics" onLabel="ON" offLabel="OFF" [(checked)]="analytics" />