Integrate JavaScript code snippet into a website
You can find the JavaScript code in the left menu under "Embedding".
Copy this code into your website so that it loads every time a page, which you want to evaluate with Quentn, is viewed. If you have set the "Get approval" option, you will see a further field here with additional JavaScript code. This code causes an overlay to appear at the bottom of your website, where the visitor can check the box and confirm their consent to tracking. It is best to set this JavaScript code immediately after the tracking code.
Insert JavaScript code into WordPress
We recommend integrating the code into the header of the website so that it is loaded every time the page is opened.
- Log into your WordPress installation as the administrator.
- Navigate to Design -> Editor and then on the right-hand side to Theme Header (header.php).
- You should see HTML or PHP code in the middle.
- You should find the following line in the text field: <?php wp_head(); ?>
- The Quentn JavaScript tracking code should be inserted after this line, but in each case it must be inserted before the head tag is closed, namely before the following line: </head>.
- To save the changes, click on Update file.
- If you still want to include consent, this follows directly after the tracking code.
- To save the changes, click on Update file.