Skip to main content
  • Increase trust and sales
  • The lowest price
  • Automatically collect reviews

The webshopkeur javascript integration

Written by Anna Antwoord

WebshopKeur JavaScript integration


With the JavaScript integration you activate the sidebar and tooltip. Most modules place these automatically, but you can also add the code manually. After logging into the dashboard, you will find the code under Promotion > Sidebar.


What does the integration do?

- Shows the WebwinkelKeur sidebar


- Shows a tooltip with your logo


- Opens a lightbox within your own webshop


Basic example code


<script> _webwinkelkeur_id = <your shop ID> </script> <script async src="https://www.webwinkelkeur.nl/js/sidebar.js"></script>


All options (such as position, theme, mobile behavior and language) are easily set via your dashboard. Adjustments are sometimes only visible after emptying the browser cache.


Multilingualism

Do you have a PRO pack? Then the sidebar can automatically detect the language of the URL, HTML tag or browser settings.


Links to pop-up

You can also open pop-ups directly, for example:



<a href="#" class="webshopkeurPopup">View our seal of approval</a>



<a href="#" class="webwinkelkeurReviews">View reviews</a>



<a href="#" class="webwinkelkeurAddReview">Write a review</a>


More Settings

Want to manually adjust variables such as _webwinkelkeur_sidebar_position, _webwinkelkeur_language or _webwinkelkeur_theme? Check out the full documentation or test via JSFiddle.