Zum Inhalt

Drupal

Follow these instructions to integrate the code snippet from CCM19 into your Drupal system.

Navigate to /themes/YourTheme

Find the file html.html.twig

Navigate to the folder of your theme. If there is no folder, you can create one.

Search for the filehtml.html.twig.

If you can't find this file, navigate to the parent theme of your child theme and copy the file from there to your sub-theme to get the same folder structure.

Never edit core files or the files of the core theme!

Insert code snippets into the html.html.twig file

Now insert the code snippet from CCM19 into the file. To do this, place the code right at the beginning of the opening <head> tag. It should look something like this:

<head>
  <script 
    src="https://XXXXX.de/app.js?apiKey=XXXXXXXXXXXXXXXXXXXXXX&domain=XXXXXXXXXXXXXXXXXXX" 
    referrerpolicy="origin">
  </script>
</head>

Save the change.

Clear cache

It is advisable to delete the cache after making changes.