Have you considered using a Direct Call Rule? https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/client/core/overview.html?lang=en#direct-call-action
It is possible to pass data to the direct call rule, so this might be an option for you.