webgrafia / ginger

Wordpress plugin to make website compliant with EU Cookie Policy, with opt-in feature
18 stars 7 forks source link

Bug fix, print inline script only when necessary #2

Closed vvvctr closed 7 years ago

vvvctr commented 7 years ago

The inline JavaScript code for gingeranalytics is only printed when it is enabled and the content of the "code" is not empty.