Support » Plugins » [Plugin: HeadSpace2] Missing Google’s try { … } catch(err) {}

  • D C

    (@dcervenka)


    Is it possible to update the tracking code that is being generate by Headspace for Google Analytics? I noticed that it’s missing the following:

    try {
    .....
    } catch(err)

    Example:

    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-######-#");
    pageTracker._trackPageview();
    } catch(err) {}</script>

    I looked at the Admin panel > Settings > HeadSpace > Site Module and there’s an Account ID input field that states you can “Enter the full Google JavaScript tracking code”, but when I do this, it strips out the code and just leaves the Account ID..

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: HeadSpace2] Missing Google’s try { … } catch(err) {}’ is closed to new replies.