# Uncaught ReferenceError: Fingerprint2 is not defined

**URL:** <https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941>\
**Category:** Product Support\
**Created:** [December 22, 2016, 10:32am UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941 "2016-12-22T10:32:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carles](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@Carles](https://forum.mautic.org/u/Carles)\
**Post date:** [December 22, 2016, 10:32am UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/1 "2016-12-22T10:32:23Z")

</div>

Hi!  
  
  
  
I’m new in Mautic and I’m trytint to set it up. Followint the gettins started documentation I’ve installed the Tracking Javascript in our website but I think I did something wrong.  
  
  
  
This is the message of the web browser  
  
  
  
Uncaught ReferenceError: Fingerprint2 is not defined  
  
at Object.m.sendPageview (mtc.js:61)  
  
at mtc.js:62  
  
at mtc.js:62  
  
  
  
Can somebody help me? Thanks

---

<div class="post-metadata">

**Author:** ![Carles](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@Carles](https://forum.mautic.org/u/Carles)\
**Post date:** [December 22, 2016, 10:32am UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/2 "2016-12-22T10:32:23Z")

</div>

Hi!

I’m new in Mautic and I’m trytint to set it up. Followint the gettins started documentation I’ve installed the Tracking Javascript in our website but I think I did something wrong.

This is the message of the web browser

Uncaught ReferenceError: Fingerprint2 is not defined  
at Object.m.sendPageview (mtc.js:61)  
at mtc.js:62  
at mtc.js:62

Can somebody help me? Thanks

---

<div class="post-metadata">

**Author:** ![lucasmmendes](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lucasmmendes](https://forum.mautic.org/u/lucasmmendes)\
**Post date:** [December 29, 2016, 9:57pm UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/3 "2016-12-29T21:57:16Z")

</div>

I have the same problem here inserting the Tracking script on a Moodle website.

Uncaught ReferenceError: Fingerprint2 is not defined  
at Object.m.sendPageview (pages.\*\*\*\*\*\*\*\*.com.br/mtc.js:61)  
at pages._**.com.br/mtc.js:62  
at pages.**_.com.br/mtc.js:62

---

<div class="post-metadata">

**Author:** ![lucasmmendes](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lucasmmendes](https://forum.mautic.org/u/lucasmmendes)\
**Post date:** [December 30, 2016, 12:28am UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/4 "2016-12-30T00:28:55Z")

</div>

I found that this is a Fingerprint2 error.  
Follows link about it:  
[https://github.com/Valve/fingerprintjs2/pull/202](https://github.com/Valve/fingerprintjs2/pull/202)

But I still did not fixed it here.

Best wishes,  
Lucas

---

<div class="post-metadata">

**Author:** ![mudit](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@mudit](https://forum.mautic.org/u/mudit)\
**Post date:** [February 1, 2017, 1:02pm UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/5 "2017-02-01T13:02:55Z")

</div>

I’m also facing same issue.  
@escopecz : a little help here.

---

<div class="post-metadata">

**Author:** ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Post date:** [February 23, 2017, 12:10pm UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/6 "2017-02-23T12:10:27Z")

</div>

Same issue here, still not resolved?

---

<div class="post-metadata">

**Author:** ![mudit](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@mudit](https://forum.mautic.org/u/mudit)\
**Post date:** [February 23, 2017, 12:12pm UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/7 "2017-02-23T12:12:01Z")

</div>

This is happening for webapps using requireJs.

---

<div class="post-metadata">

**Author:** ![chenlev](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@chenlev](https://forum.mautic.org/u/chenlev)\
**Post date:** [February 27, 2017, 6:46pm UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/8 "2017-02-27T18:46:49Z")

</div>

Same for me, on a sub-domain. Works fine for the main domain

See

[https://www.zuznow.com/](https://www.zuznow.com/) (fine)

[http://lp.zuznow.com/solve-browser-compatibility/](http://lp.zuznow.com/solve-browser-compatibility/)

Uncaught ReferenceError: Fingerprint2 is not defined  
at Object.m.handleFingerprintInit (mtc.js:76)  
at Object.m.sendPageview (mtc.js:75)  
at mtc.js:77  
at mtc.js:77

---

<div class="post-metadata">

**Author:** ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Post date:** [March 22, 2017, 8:15pm UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/9 "2017-03-22T20:15:53Z")

</div>

Since @chenlev provided information that it works on the main domain but not a subdomain I can only assume the fingerprint library is not loading, so I went to cdnjs deliver and referenced the file in the header and the issue is resolved.

```auto
https://cdnjs.cloudflare.com/ajax/libs/fingerprintjs2/1.5.0/fingerprint2.min.js
```

Of course, it would make complete sense that any required libraries are installed and working with mautic and it’s associated scripts without the need to manually installing the dependent scripts separately.

---

<div class="post-metadata">

**Author:** ![frank](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@frank](https://forum.mautic.org/u/frank)\
**Post date:** [March 29, 2017, 9:53am UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/10 "2017-03-29T09:53:46Z")

</div>

Hi @DerekBuntin i’m having this exact same issue.  
Did you simply add in the header and it worked?

Thanks

---

<div class="post-metadata">

**Author:** ![DerekBuntin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/derekbuntin/32/90_2.png) [@DerekBuntin](https://forum.mautic.org/u/DerekBuntin)\
**Post date:** [April 2, 2017, 7:43am UTC](https://forum.mautic.org/t/uncaught-referenceerror-fingerprint2-is-not-defined/6941/11 "2017-04-02T07:43:12Z")

</div>

@frank that’s correct, I added it to the header of the main website header.
