I am new to google analytics tag, I am sending event on click, now I have added data-consent as you can see below my script tag in a header.
Tag