Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #411182

    Hi Guys,

    It seems that Enfold header has a conflict with some of the external popular javascripts place in the them admin area. I trued the header but it does the same. Any thoughts?

    https://www.evernote.com/shard/s113/sh/070f6c85-857d-4f35-b8c9-3e178ea96c48/8e2c0d1eb10de13def6996017a089091

    <div class=’avia_codeblock ‘ itemprop=”text” >
    <!– Google Analytics Code –>
    <script>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

    ga(‘create’, ‘UA-46380012-1’, {‘siteSpeedSampleRate’: 100});
    ga(‘send’, ‘pageview’);

    </script>
    <script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:”4021783″};o.q=w[u],w[u]=new UET(o),w[u].push(“pageLoad”)},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!==”loaded”&&s!==”complete”||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,”script”,”//bat.bing.com/bat.js”,”uetq”);</script>

    <!– HubSpot Async Analytics Code –>
    <script type=”text/javascript”>
    (function(d,s,i,r) {if (d.getElementById(i)){return;}var n=d.createElement(s),e=d.getElementsByTagName(s)[0];n.id=i;n.src=’//js.hs-analytics.net/analytics/’+(Math.ceil(new Date()/r)*r)+’/429699.js’;e.parentNode.insertBefore(n, e);})(document,”script”,”hs-analytics”,300000);
    </script>
    <!– Google Code for Remarketing Tag –>
    <!————————————————–
    Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup
    —————————————————>
    <script type=”text/javascript”>
    /* <![CDATA[ */
    var google_conversion_id = 957169938;
    var google_custom_params = window.google_tag_params;
    var google_remarketing_only = true;
    /* ]]> */
    </script>
    <script type=”text/javascript” src=”//www.googleadservices.com/pagead/conversion.js”>
    </script>
    <noscript>
    <div style=”display:inline;”>

    </div>
    </noscript>

    </div>

    #411213
    This reply has been marked as private.
    #411458

    Hi!

    I think it’s caused by the div you put around it, please try removing all non script code to see if it disappears.

    Cheers!
    Rikard

    #419772

    Just a tip use Google Tag Manager :-)

    No errors and full tracking with Enfold theme with Google Services / Bing and what ever tracking you want! * Big Smile*

    • This reply was modified 9 years, 8 months ago by apower84.
    #419776

    Please read this post and i can maby help you out!
    https://kriesi.at/support/topic/google-analytics-not-working-in-enfold-2/

    #420189

    Hey @dhuet!

    Did you get your tracking problems fixed?

    Best regards,
    Rikard

    #420536

    Yes, thank you. I i used a script container from google. Thank you.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Top Header conflict with external scrip: (eg google, bing, doubleclick)’ is closed to new replies.