If you are using a cookie banner plugin which does not have integration with WP Consent API, then you need to add our Javascript file to your cookie banner plugin.
Block Custom Script
There should a settings page under your cookie banner plugin to block a custom script path. Add our JavaScript file path into the list.
wp-content/plugins/afl-wc-utm/public/js/afl-wc-utm-public.min.js
Do reach out to us if you need us to validate.