Installation Cookie-Tool in Header Code

Hi guys, I’m not a programmer and I’m reaching my limits right now. I have to place the script of a cookie and consensus tool in the header code. I have the code. But what is the correct total code I need to include in Corvid?

This is the script for the cookie hint:

When placing the code I am receiving a “parsing error unexpected token” message of which I do not understand.

Thank you so much for your input!