I’m working to optimize site speed as much as possible. While the sGTM integration with a custom loader through Stape.io is one aspect, there are still many pixels and scripts that can’t be moved to the sGTM container just yet, and could impact site speed.
I’m considering implementing a lazy-loading library called PartyTown to implement a web-worker for our GTM script (potentially moving our pixels out of GTM so we can move them through PartyTown separately if that would help).
I’m curious how this may work with the custom loader that you offer? Do you think adding PartyTown could help with load times? Do you think this would be a worthwhile implementation if we already have your custom loader implemented?