• Resolved jon001

    (@jon001)


    Hello,

    This plugin seems great but unfortunately the page exceptions are not working on my site and I cannot understand why.

    When I enable the header, ads appear on every page of my site and in all possible locations, regardless of whether I have selected manual shortcodes, used white lists to make it relevant only to a specific page, or tried the other exception options available.

    I have disabled the header for the time being because I do not want ads on every page of my site and wrapped in the text, but if you have any suggestions for how to solve this problem I would really appreciate it.

    Kind Regards,

    Jon

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Spacetime

    (@spacetime)

    Thread Starter jon001

    (@jon001)

    Hi, I read that post and enabled remote debugging by ticking “remote debugging” on the ad inserter plugin on my site (see here). Is it not working?

    • This reply was modified 7 years, 7 months ago by jon001.
    Plugin Author Spacetime

    (@spacetime)

    No debugging data.

    Can you attach screenshot of block settings?

    For page specific header code check
    https://adinserter.pro/documentation/plugin-settings#header-footer
    under section “Page-specific Header and Footer code”

    Thread Starter jon001

    (@jon001)

    This is an example of the block settings when I am using white listing rather than shortcodes – screen shot

    Plugin Author Spacetime

    (@spacetime)

    The settings from this block would insert code only on page with url /opportunities/
    But you have automatic insertion disabled and shortcode also seems to be disabled.

    Where would you like to insert this block?

    Thread Starter jon001

    (@jon001)

    I would like to insert it only on the page with url /opportunities/

    But it doesn’t do that. Using these settings, if I enable the header it will display on all pages on my site and in all possible blocks on those pages (even though I have limited the max blocks to 2 in the settings)

    Thread Starter jon001

    (@jon001)

    I have also done the same but enabling shortcodes, and adding this to the header:

    [adinserter code=”1″ check=”exceptions”]

    But again the same thing happens.

    I have enabled the header now so ads are showing on the site on all pages despite these settings.

    • This reply was modified 7 years, 7 months ago by jon001.
    Plugin Author Spacetime

    (@spacetime)

    The shortcode has some strange double quotes.

    Please use this one
    [adinserter code="1"]

    Whitelisting url should be enough.

    But if you put this shortcode in the header then you need to enable shortcode for block 1:
    https://adinserter.pro/documentation/manual-insertion

    Currently you have code for AdSense auto ads on page
    https://thecomedycrowd.com/opportunities/

    inserted twice in the header.

    Make sure the code is inserted only once (if needed).
    Maybe is this causing issues.

    Thread Starter jon001

    (@jon001)

    I am not sure how it is inserted twice. I have added the code to the Header tab in the Ad Inserter settings, and I am only using 1 block.

    Am I right to have the same code inserted in the Block as in the Header?

    i.e. this is inserted in both Block 1 and the Header:

    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: “ca-pub-1790967100395xxx”,
    enable_page_level_ads: true
    });
    </script>

    I’ve used xxx to replace numbers for this example.

    Plugin Author Spacetime

    (@spacetime)

    This code on page
    https://thecomedycrowd.com/blog/
    is inserted only once.

    Plugin Author Spacetime

    (@spacetime)

    If you can’t figure out where is the second insertion coming from and would like me to take a look at setting let me know and refer to this thread.

    Thread Starter jon001

    (@jon001)

    The code shouldn’t be inserted at all on this page – https://thecomedycrowd.com/blog/ because I have whitelisted a different URL.

    I’ll refer to the thread as you suggest. Thanks for helping with this.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Page exceptions not working’ is closed to new replies.