Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    Just to clarify: the iframe contains content from the same domain as the parent frame or from a 3rd party domain? I assume you are talking about the same domain but I do not want to miss any detail 🙂

    Thomas

    Thread Starter jurv266

    (@jurv266)

    The 3rd party domain also has the tag manager (same code) but I have no access to that part. I would like to exclude the tag manager from my side on certain pages that include that certain iFrame with the 3rd party domain.

    I hope this clarifies it a bit. 🙂

    Plugin Author Thomas Geiger

    (@duracelltomi)

    You said the iframe is on a 3rd party domain but as the GTM container is the same, right? In this case I would use cross domain tracking technologies to prevent issues.

    But anyway: I added this feature request to my list, I will try to add this into the next release.

    Thread Starter jurv266

    (@jurv266)

    That is correct. Unfortunately I don’t have access myself to the tag manager thats a 3rd party.

    If this could be added that would be fantastic.

    Thread Starter jurv266

    (@jurv266)

    In the mean time would be there be a solution to this other then cross domain tracking solutions? Like can I code the tag code to exclude itself on a certain page?

    Plugin Author Thomas Geiger

    (@duracelltomi)

    If you are using the ‘custom’ placement you could modify the required code insertion not to execute on a specific page:

    <?php if ( function_exists( 'gtm4wp_the_gtm_tag' ) && !is_page(yourpageID) ) { gtm4wp_the_gtm_tag(); } ?>
    Thread Starter jurv266

    (@jurv266)

    Ty that solved it! 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Is it possible to exclude on certain pages?’ is closed to new replies.