Script loading
Since version 1.3.0, you can define scripts such as Google Analytics in the TYPO3 backend that are loaded after the content has been accepted. To do this, define the cookie and select the consent type.
Note
make sure u defined the storagePid config-arguments

list of defined cookies

basic cookie information

script that loads after consent
If you want to define the script directly in your code, look in the developer area.