I can't seem to find any answers on this. I've got an AngularJs application, which I do not need jQuery for. I've added Google Tag Manager using Angulartics but I'm getting a 'jQuery is not defined' error in the console. Do I need to include jQuery just for GTM? Since jQuery is no longer so much of a standard this surprises me? And it's vaguely annoying! Anyone know a way around it or can I just ignore the error and everything will work anyway?
Do I need jQuery for Google Tag Manager to work? Using it with AngularJs
2.4k Views Asked by Baxter At
2
There are 2 best solutions below
1
jeancallisti
On
This might be a duplicate of Jquery and Google Tag Manager
the answer might be here : https://productforums.google.com/forum/#!topic/tag-manager/IA5K0kCXerE
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in JQUERY
- How to sort these using Javascript or Jquery Most effectively
- Ajax jQuery firing multiple time display event for the same result
- .hover() seems to overwrite .click()
- Check for numeric value with optional commas javascript
- Extending Highmaps Side Effect
- Array appending after each onclick and loop in javascript
- how can i append part of a table based on how many tr it has?
- Play multiple audio files in a slider
- Remove added set of rows
- Access property of an object of type [Model] in JQuery
- AJAX PHP - Reload div after submit
- proengsoft/laravel-jsvalidation ReferenceError: jQuery is not defined
- when a checkbox is checked how to display a different hidden element using javascript
- Get jquery error Uncaught RangeError: Maximum call stack size exceeded
- Removing only the closest thead on table filtering
Related Questions in ANGULARJS
- Angular Show All When No Filter Is Supplied
- Using pagination on a table in AngularJS
- State with different subviews
- Getting and passing MVC Model data to AngularJS controller
- Implementing prerender.io middleware in sails.js
- Token based authorization in nodejs/ExpressJs and Angular(Single Page Application)
- AngularJS, Google App Engine and URLrewrite
- send data from table to another page into forms
- How to write tests for classes with inheritance
- angularJS sending OPTIONS instead of POST
- Receiving POST from external application in AngularJS
- Metaprogramming AngularJS Filters
- Reload List after Closing Modal
- Why is my angularjs site not completely crawlable?
- Why is separation of JavaScript and HTML a good practice?
Related Questions in GOOGLE-TAG-MANAGER
- Is it possible to access gmail anonymous profile for a logged in user?
- Google Tag manager code added with the help of DTM is not working
- Google Analytics duplicate transaction id multiple domains
- iOS Google Tag Manager crashing upon Launch with 'NSParseErrorException', reason: 'Last tag: 116 should be 124'
- How to implement google organic tag in google tag manager
- Crawler architecture: Avoid getting requests counted in Google Analytics
- Google Tag Manager External Links with Multiple Domains
- Redirect to mobile script on google tag manager
- Why isn't my Google Tag Manager event listener being installed?
- How can we check that Google Tag manager works
- Capturing link alt via Google Tag Manager
- Equivalent of dataLayer.push in Google Tag Manager PHP API
- Google tag manager Track page by content
- Flickering of webpage when gtm.js loads
- Google Tag Manager integration on Ionic Framework
Related Questions in ANGULARTICS
- Calling Angulartics functions gives error
- How to use Piwik's Javascript's tracking client along with angulartics?
- Angulartics Piwik - Which line(s) should I comment in tracking code?
- UserId Not Tracking Using Google Tag Manager & Angulartics
- can't get mixpanel with angulartics to work
- How to change default `Page View` name
- GTM and GA tracking on multiple website platforms
- Do I need jQuery for Google Tag Manager to work? Using it with AngularJs
- Angularytics (Google Analytics for AngularJS directive) only in production environment
- Angular application analytics measuring using Angulartics2 custom provider
- angularitics is not able to send uid in the request parameters after setting $analytics.setUsername( 'xxxx' )
- Can I use two analytics plugins at the same time of angulartics module?
- Jasmine unit tests fail after adding angulartics with the angulartics-piwik
- Injecting Angulartics
- Passing a $rootScope value in a javascript that is placed within a view
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No, you do not need jQuery.
The only relation between jQuery and GTM that I know of is that the code of the built-in selector engine so much resembled jQuery that Google agreed to add a jQuery copyright notice (at least that is what Simo Ahava told in one of his GTM trainings, and he is a Google Certified Expert for GTM, so I guess he has more insights than us).
But GTM does not require jQuery to work (that's sort of the point of having a built-in selector engine), and if you are seeing jQuery-related errors they come from a tag inside GTM that requires jQuery than from GTM itself (or, if you load marketing tags, they might in turn load something else that requires jQuery).