1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 I have problems with adsense and ads.

Discussion in 'Styling and Customization Questions' started by floptuf, Jul 23, 2016.

  1. floptuf

    floptuf Member

    I have few adsense problems, i"m trying to put page level adsense in as 80 percent mobile traffic, here is my head code, where do i put it in exactly?

    <script src="{$jQuerySource}"></script>
    <xen:if is="{$jQuerySource} != {$jQuerySourceLocal}">
    <script>if (!window.jQuery) { document.write('<scr'+'ipt type="text/javascript" src="{$jQuerySourceLocal}"><\/scr'+'ipt>'); }</script>
    </xen:if><xen:if is="{$xenOptions.uncompressedJs} == 1 OR {$xenOptions.uncompressedJs} == 3">
    <script src="{$javaScriptSource}/jquery/jquery.xenforo.rollup.js?_v={$xenOptions.jsVersion}"></script></xen:if>
    <script src="{xen:helper javaScriptUrl, '{$javaScriptSource}/xenforo/xenforo.js?_v={$xenOptions.jsVersion}'}"></script>
    <!--XenForo_Require:JS-->

    If this does.t work, can i put the page level ad into the ad_header template or something?

    Also to connect my site to adsense i had to put the connect site code in, i put it into the ad_above_top_breadcrumb template, the connection worked, but can i just put this into head code? if so, where?
     

Share This Page