• This has happened many times in the past and I had to get my developer to fix the JS errors in order for my javasscript ads to show. My ad tags from investingmediasolutions have hard time getting thur my site due to js errors, however, it didnt affect other ad tags, my developer said its because the theme has bad coding, can you take a look for me why the ad not going thur?

    I have spent so much money on this, I’m very frausted about this, need a long term solution
    :

    <!–Include OAS Analytics Setup Script 728×90 Top–>
    <script type=”text/javascript”>
    var page_count = ‘off’;
    if (typeof OAS_rdl == ‘undefined’) {
    var OAS_rdl = ”;
    var OAS_CA = ”;
    page_count = ‘on’;
    document.write(‘<script type=”text/javascript” src=”https://oascentral.investingmediasolutions.com/Scripts/oas_analytics.js”></scr&#8217; + ‘ipt>’);
    }
    </script>
    <script type=”text/javascript”>
    var OAS_url = ‘https://oascentral.investingmediasolutions.com&#8217;;
    var OAS_sitepage = ‘InvestmentWatchBlog’;
    var OAS_pos = ‘Top’;
    var OAS_searchterms = ”;
    var OAS_taxonomy = ”;
    if (typeof OAS_RNS == ‘undefined’){
    var OAS_RN = new String (Math.random());
    var OAS_RNS = OAS_RN.substring(2, 11);
    }
    if (OAS_searchterms != ”) { OAS_searchterms += ‘&’; }
    if (OAS_taxonomy != ”) { OAS_taxonomy = ‘&’ + OAS_taxonomy; }
    if (page_count != ‘on’) { OAS_taxonomy = ‘&oas_pv=no_analytics’ + OAS_taxonomy; }
    document.write(‘<script type=”text/javascript” src=”‘ + OAS_url + ‘/RealMedia/ads/adstream_jx.ads/’ + OAS_sitepage + ‘/1’ + OAS_RNS + ‘@’ + OAS_pos + ‘?’ + OAS_searchterms + ‘XE’ + OAS_taxonomy + OAS_rdl + ‘&if_nt_CookieAccept=’ + OAS_CA + ‘&XE”></scr’ + ‘ipt>’);
    </script>

    <!–Include OAS Analytics Setup Script 300×250 TopRight–>
    <script type=”text/javascript”>
    var page_count = ‘off’;
    if (typeof OAS_rdl == ‘undefined’) {
    var OAS_rdl = ”;
    var OAS_CA = ”;
    page_count = ‘on’;
    document.write(‘<script type=”text/javascript” src=”https://oascentral.investingmediasolutions.com/Scripts/oas_analytics.js”></scr&#8217; + ‘ipt>’);
    }
    </script>
    <script type=”text/javascript”>
    var OAS_url = ‘https://oascentral.investingmediasolutions.com&#8217;;
    var OAS_sitepage = ‘InvestmentWatchBlog’;
    var OAS_pos = ‘TopRight’;
    var OAS_searchterms = ”;
    var OAS_taxonomy = ”;
    if (typeof OAS_RNS == ‘undefined’){
    var OAS_RN = new String (Math.random());
    var OAS_RNS = OAS_RN.substring(2, 11);
    }
    if (OAS_searchterms != ”) { OAS_searchterms += ‘&’; }
    if (OAS_taxonomy != ”) { OAS_taxonomy = ‘&’ + OAS_taxonomy; }
    if (page_count != ‘on’) { OAS_taxonomy = ‘&oas_pv=no_analytics’ + OAS_taxonomy; }
    document.write(‘<script type=”text/javascript” src=”‘ + OAS_url + ‘/RealMedia/ads/adstream_jx.ads/’ + OAS_sitepage + ‘/1’ + OAS_RNS + ‘@’ + OAS_pos + ‘?’ + OAS_searchterms + ‘XE’ + OAS_taxonomy + OAS_rdl + ‘&if_nt_CookieAccept=’ + OAS_CA + ‘&XE”></scr’ + ‘ipt>’);
    </script>

    this is my site:
    https://investmentwatchblog.com/

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    I had taken a look at your website in my Chrome developer console.
    Please see my screen-shot.

    View post on imgur.com

    There are issues relating to your ads script. for example.

    A parser-blocking, cross site (i.e. different eTLD+1) script, https://oascentral.investingmediasolutions.com/Scripts/oas_analytics.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.

    It’s the browser blocking your javascript for loading a parser-blocking script using document.write.

    The explanation by google developer is here.
    https://developers.google.com/web/updates/2016/08/removing-document-write

    Please report to your ads provider to have them rewrite their javascript. This has nothing to do with Hueman Theme.

    This may happen on other browser with the similar reason.

    my developer said its because the theme has bad coding

    In my personal opinion, I think a good developer should provide evidence to his claim, point out the cause of the error, and if possible, help the issue causing software’s author to resolve the issue. A good developer should not simply blame other software for causing the issue.

    I am not the developer of Hueman theme, therefore if your developer disagrees with my findings, please get him/her to open up an issue report on Hueman theme’s development github ( https://github.com/presscustomizr/hueman/issues ) and provide a detail explanation of his/her findings as to why he/she thinks it’s the theme that’s causing your ads issue.

    Thank you

    Thread Starter davikk

    (@davikk)

    I can see somehow the ad’s javascript has been broken by something:

    https://gtmetrix.com/reports/investmentwatchblog.com/PBVRsQkj

    the 404 not found error are the javascripts

    Thread Starter davikk

    (@davikk)

    Something in the theme is also draining up the resource very badly. I put a cap in the max_user_connection so my site can still function (plus cloudflare caching everything), I hope the author of the theme can find out what is it causing the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JavaScript ads cant go through my site’ is closed to new replies.