Title: Reference error onpage using Facetwp
Last modified: February 4, 2021

---

# Reference error onpage using Facetwp

 *  Resolved [robruifrok](https://wordpress.org/support/users/robruifrok/)
 * (@robruifrok)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/reference-error-onpage-using-facetwp/)
 * I get the following error in the dashboard
 * Javascript fouten gedetecteerd aan de front-end van je site. Dit kan er voor 
   zorgen dat de cookie banner niet functioneert.
    Laatste foutmelding in het console:
   ReferenceError:_google_is_not_defined op regel 1 van [https://my-health-professionals_nl/wp-content/plugins/facetwp/assets/js/dist/front_min_js](https://my-health-professionals_nl/wp-content/plugins/facetwp/assets/js/dist/front_min_js)
 * Could you please give some hints how to integrate Facetwp i Complianz in the 
   right way?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freference-error-onpage-using-facetwp%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/reference-error-onpage-using-facetwp/#post-14005316)
 * Hoi Rob, [@robruifrok](https://wordpress.org/support/users/robruifrok/),
 * There’s a dependency on a Google Maps script in the front-end.min.js of FacetWP.
   The only way to fix this is by blocking this script until Maps is loaded, the
   issue is it has more functionalities not related to maps, making it impossible
   to block without losing these functionalities.
 * The proposed fix is the [WP Consent API](https://wpconsentapi.org/), whereby 
   plugin developers can conform to an API when these cases occur. You can ask FacetWP
   if they’re willing to conform, we can help them if needed.
 * The fastest way is to release Google Maps entirely, by disabling it under Complianz–
   Integrations.
 * This might not be the answer you were hoping for, but it’s an issue that can’t
   be cleared right away.
 * groeten Aert
 *  Thread Starter [robruifrok](https://wordpress.org/support/users/robruifrok/)
 * (@robruifrok)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/reference-error-onpage-using-facetwp/#post-14007016)
 * Thank you for the very fast aswer.
    Unfortunately disabling maps in the integrations
   screen does not solve the problem.
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/reference-error-onpage-using-facetwp/#post-14007036)
 * Hi [@robruifrok](https://wordpress.org/support/users/robruifrok/),
 * Could you disable WP Optimize so I can have a better look at the files?
 * If there are any other plugin integrations or services that might relate to Google,
   try disabling them too, until we have the culprit.
 * First guess is the Google API is still blocked.
 * regards Aert
 *  Thread Starter [robruifrok](https://wordpress.org/support/users/robruifrok/)
 * (@robruifrok)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/reference-error-onpage-using-facetwp/#post-14007118)
 * Hi Aert,
 * Other integrations using googlemaps are Avanced Custom Fields and Mapprerss maps
   for wordpress. Switching off ACF integration solves the problem.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Reference error onpage using Facetwp’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

## Tags

 * [facetwp](https://wordpress.org/support/topic-tag/facetwp/)
 * [reference error](https://wordpress.org/support/topic-tag/reference-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [robruifrok](https://wordpress.org/support/users/robruifrok/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/reference-error-onpage-using-facetwp/#post-14007118)
 * Status: resolved