• I noticed in the console log (at least on the theme I’m using — which is Zephyr) that I’m getting a jQuery is not defined(…) error

    Uncaught ReferenceError: jQuery is not defined 
        at https://www.garcard.com/:81:4 
        (anonymous function) @ (index):81

    http://prntscr.com/dd1cmt

    • This topic was modified 9 years, 6 months ago by GarCard.
    • This topic was modified 9 years, 6 months ago by GarCard. Reason: providing detail
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Problem is that jQuery library is loaded after the tracking code. Possible solutions are:

    1. Disable events tracking
    2. Force jQuery to be loaded within the head section
    3. Try to move the tracking code in footer (see https://gist.github.com/deconf/ad5fa23ec3de4eac517c)

    Thread Starter GarCard

    (@garcard)

    I did #3, but it moves both Event Tracking and the analytics function to the footer. Is there a way to move just the event tracking to the footer, while keeping the analytics function in the head?

    • This reply was modified 9 years, 6 months ago by GarCard.

    At this point no, but that’s something I should implement in a future release.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘jQuery error in dev tools Console’ is closed to new replies.