Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • brennac Friend
    #188213

    According to this site, I add Javascript for a tracking code like Hubspot or Leadformix into Edit Main Page Template but Ja Mero doesn’t have a body tag.

    http://help.hubspot.com/articles/How_To_Doc/how-to-install-hubspot-javascript-tracking-code-on-joomla

    But when I did load the LeadFormix javascript they provided (below), and reloaded the test site, I got the attached error.

    <!– LeadFormix –>
    <a href=”https://www.leadformix.com” title=”Marketing Automation” onclick=”window.open(this.href);return(false);”>
    <script type=”text/javascript”>
    var pkBaseURL = ((“https:” == document.location.protocol) ? “https://vlog.leadformix.com/” : “https://vlog.leadformix.com/”);
    <!–
    bf_action_name = ”;
    bf_idsite = 8328;
    bf_url = pkBaseURL+’bf/bf.php’;
    (function() {
    var lfh = document.createElement(‘script’); lfh.type = ‘text/javascript’; lfh.async = true;
    lfh.src = pkBaseURL+’bf/lfx.js’;
    var s = document.getElementsByTagName(‘head’)[0]; s.appendChild(lfh);
    })();
    //–>
    </script>
    <noscript><p>Marketing Automation Platform <img src=”https://vlog.leadformix.com/bf/bf.php” style=”border:0″ alt=”Marketing Automation Tool”/></p>
    </noscript>
    </a>
    <!– /LeadFormix –>


    1. Screen-Shot-2013-06-13-at-3.53.43-PM
    pavit Moderator
    #495800

    Hi

    Try to add your script in this file templatesja_merotplsblockshead.php

    at the end of it

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  pavit 11 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum