Not at the moment.
Do you want to just disable the container or all of GTM Kit frontend functionality?
Just the container but frontend functionality would work too i think.
Just so I understand the use case. Why do you to disable the container on some pages?
I have some pages inside existing website i want to load as fast as possibile, without any additional scripts. including GA/GMT, so i guess for maintenance/general/performance purposes? 🙂
Thanks.
I will make a filter for deactivating the container and it will be included in the next release: https://github.com/tlamedia/gtm-kit/issues/335
The feature is now merged.
From version 1.17 you will be able to deactivate the filter using: add_filter( 'gtmkit_container_active', '__return_false' );
It must be used in a plugin no later than the hook plugins_loaded
.
Thanks! I really appreciate it!