• Resolved Nikodemsky

    (@nikodemsky)


    Is there possibility to exclude whole container(not only noscript, but header part too) for some of the pages? Can’t find any options or filters for that.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    Not at the moment.

    Do you want to just disable the container or all of GTM Kit frontend functionality?

    Thread Starter Nikodemsky

    (@nikodemsky)

    Just the container but frontend functionality would work too i think.

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    Just so I understand the use case. Why do you to disable the container on some pages?

    Thread Starter Nikodemsky

    (@nikodemsky)

    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? ??

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    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

    Plugin Author Torben Lundsgaard

    (@torbenlundsgaard)

    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.

    Thread Starter Nikodemsky

    (@nikodemsky)

    Thanks! I really appreciate it!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Exclude for some pages?’ is closed to new replies.