diff --git a/src/App.vue b/src/App.vue index 1a48a796..a6c2573a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -62,6 +62,10 @@ export default { onLicenseUpdate(e) { this.selected = e } + }, + created: function() { + // send home to google analytics + this.$ga.page('/') } } diff --git a/src/components/Chooser.vue b/src/components/Chooser.vue index fcb3a059..e236dce9 100644 --- a/src/components/Chooser.vue +++ b/src/components/Chooser.vue @@ -52,6 +52,11 @@ export default { }, methods: { updateLicense() { + this.$ga.event({ + eventCategory: 'license', + eventAction: 'updated', + eventLabel: this.shortLicenseName + }) this.$emit('input', { shortName: this.shortLicenseName, fullName: this.fullLicenseName diff --git a/src/components/HelpSection.vue b/src/components/HelpSection.vue index 3c15db26..799dc370 100644 --- a/src/components/HelpSection.vue +++ b/src/components/HelpSection.vue @@ -50,7 +50,7 @@
Creative Commons licenses can be represented by their names, their - associated icons, or both. For example, a CC BY-NC license, which + associated icons, or both. For example, a CC BY-NC license, which requires attribution, and prohibits commercial use could be represented by its: