diff --git a/src/components/HomeDownloadDevMaster.vue b/src/components/HomeDownloadDevMaster.vue index 817aab5..ec50d8f 100644 --- a/src/components/HomeDownloadDevMaster.vue +++ b/src/components/HomeDownloadDevMaster.vue @@ -7,12 +7,18 @@ class="released" :title="releasedString" :href="commitUrl" - target="_blank"> + target="_blank" + @click="releasedClick"> {{ releasedRelativeString }}
- +
@@ -40,6 +46,20 @@ export default { type: String, }, }, + methods: { + releasedClick() { + this.$ga.event({ + eventCategory: 'dev-master-item', + eventAction: 'released-click', + }); + }, + downloadClick() { + this.$ga.event({ + eventCategory: 'dev-master-item', + eventAction: 'download-click', + }); + }, + }, computed: { releasedString() { return moment(this.released).format('dddd, D MMM YYYY HH:mm:ss');