mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-25 10:59:43 -05:00
9 lines
242 B
JavaScript
9 lines
242 B
JavaScript
document.addEventListener('DOMContentLoaded', () => {
|
|
track('.downloads .download a', el => {
|
|
return {
|
|
event: 'Download',
|
|
category: 'Button',
|
|
label: `Packer | v${el.href.match(/\/(\d+\.\d+\.\d+)\//)[1]}`
|
|
}
|
|
})
|
|
})
|