Uncaught ReferenceError: Fingerprint2 is not defined

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

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

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

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

But I still did not fixed it here.

Best wishes,
Lucas

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

Same issue here, still not resolved?

This is happening for webapps using requireJs.

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

See

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

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

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.

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.

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

Thanks

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