WordPress.org

Forums

[Plugin: HeadSpace2] Missing Google's try { ... } catch(err) {} (2 posts)

  1. D C
    Member
    Posted 6 years ago #

    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..

  2. manunkind
    Member
    Posted 6 years ago #

    The developer does not look in this forum much. Post it directly in his support forums and he will help you.

    http://urbangiraffe.com/support/forum/headspace

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags