Created
August 19, 2015 21:37
-
-
Save msure/8742c2ec1ff1beea81e8 to your computer and use it in GitHub Desktop.
Test to confirm Google Tag Manager no longer has access to JQuery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
console.log("outside test function"); | |
+function ($) { | |
console.log("inside test function"); | |
if (typeof $ == 'undefined') { | |
console.log("no jquery!"); | |
} else { | |
console.log("test function made it past check!"); | |
} | |
}(window.jQuery); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment