Greater-London-Authority / ldn-viz-tools

https://greater-london-authority.github.io/ldn-viz-tools/
1 stars 0 forks source link

Add analytics and cookie consent component #317

Closed PaulioRandall closed 1 month ago

PaulioRandall commented 1 month ago

What does this change?

Adds analytics and cookie consent script.

Why?

Got to have analytics so it can guide where and what we work on.

Does this introduce new dependencies?

Depends on an external script by Civic Cookie Consent. This is specified within the script and not part of package.json.

https://cc.cdn.civiccomputing.com/9/cookieControl-9.x.min.js

How is it tested?

In multiple live apps including:

Minor documentation amendments have been made while adding this script to the component library.

How is it documented?

In code.

Is it complete?