# Analytics.js error congig is undefined

**URL:** <https://community.auth0.com/t/analytics-js-error-congig-is-undefined/7316>\
**Category:** Get Help\
**Tags:** analytics, lock\
**Created:** [June 29, 2017, 3:23am UTC](https://community.auth0.com/t/analytics-js-error-congig-is-undefined/7316 "2017-06-29T03:23:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmartella](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cmartella/32/5830_2.png) [@cmartella](https://community.auth0.com/u/cmartella)\
**Post date:** [June 29, 2017, 3:23am UTC](https://community.auth0.com/t/analytics-js-error-congig-is-undefined/7316/1 "2017-06-29T03:23:24Z")

</div>

Just tried integrating google analytics with lock and getting an error.

```
ReferenceError: 'congig' is undefined
File https://cdn.auth0.com/js/analytics/1.2.0/analytics.min.js line 1 col 8051 in o
File https://cdn.auth0.com/js/analytics/1.2.0/analytics.min.js line 1 col 3102 in r
File https://cdn.auth0.com/js/analytics/1.2.0/analytics.min.js line 1 col 9713 in i
File https://cdn.auth0.com/js/analytics/1.2.0/analytics.min.js line 1 col 10023 in Auth0Lock

```

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [July 11, 2017, 9:22pm UTC](https://community.auth0.com/t/analytics-js-error-congig-is-undefined/7316/2 "2017-07-11T21:22:52Z")

</div>

Thanks for reporting this situation, I raised this situation internally and we’ll be addressing this as soon as possible.

---

<div class="post-metadata">

**Author:** ![ntotten](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ntotten/32/5647_2.png) [@ntotten](https://community.auth0.com/u/ntotten)\
**Post date:** [July 12, 2017, 12:11am UTC](https://community.auth0.com/t/analytics-js-error-congig-is-undefined/7316/3 "2017-07-12T00:11:06Z")

</div>

This is fixed in version 1.2.1. `https://cdn.auth0.com/js/analytics/1.2.0/analytics.min.js`

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:55am UTC](https://community.auth0.com/t/analytics-js-error-congig-is-undefined/7316/4 "2018-03-02T05:55:03Z")

</div>


