.. include:: ../Includes.rst.txt .. _scripts_code: =========== Script loading from HTML =========== load scripts after accepting ^^^^^^^^^^^^^^^^^^^^^^ **load script sources** If you want to load JavaScript resources after the Cookie is accepted you can use this snippet .. code-block:: html **load inline script** If you want to load Inline JavaScript after the Cookie is accepted use this snippet. .. code-block:: html The :guilabel:`data-ignore="1"` attribute is to cover the `Scriptmerger `_ engine to not combine these parts. Checkbox mode ^^^^^^^^^^^^ Your customer can choose what types of scripts/cookies he wants to allow. These 2 types are possible and handled by the consent: statistics -------------------- :aspect:`data-cookieconsent` statistics .. code-block:: html