You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IE 11, I'm getting this error message in the console: "Object doesn't support property or method 'assign' with this section of the code highlighted: "this.args=Object.assign({tid:e,cid:t},n)"
Possibly relevant additional context: I placed the minimized code directly into the header of my single page web app, like this:
<title>Blah</title>
<script>
!function(e,t){....);return n}(n)},n});
const ga = new GAnalytics('XX-XXXXXXX-X');
ga.send('pageview');
-Dave
The text was updated successfully, but these errors were encountered:
Right, this lib sorta relies on a build step so that you can automatically import a poly/ponyfill for Object.assign as needed. As of #2, I went with the generalized case since everything except IE supports it natively.
If you're inlining the script, you can use this helper (instead of relying on a builder/bundler), which 1.0.0 originally included:
In IE 11, I'm getting this error message in the console: "Object doesn't support property or method 'assign' with this section of the code highlighted: "this.args=Object.assign({tid:e,cid:t},n)"
Possibly relevant additional context: I placed the minimized code directly into the header of my single page web app, like this:
<title>Blah</title> <script> !function(e,t){....);return n}(n)},n}); const ga = new GAnalytics('XX-XXXXXXX-X'); ga.send('pageview');-Dave
The text was updated successfully, but these errors were encountered: