Option a) don't use those embeds
Option b) ask the consent in the embed.
Analytics can be done without banner requiring tracking, e.g. https://plausible.io/