Previously, GA4 events were not being tracked for individual icon downloads due to GA4 not counting image files as file_download events.
VueJS can't do @click events easily on anchor tags (preventDefault is required in order to add functions to anchor tags and breaks the links), so this PR adds containers around each download button and tracks @click events on the containers instead of on the anchor itself.
Previously, GA4 events were not being tracked for individual icon downloads due to GA4 not counting image files as
file_download
events.VueJS can't do
@click
events easily on anchor tags (preventDefault is required in order to add functions to anchor tags and breaks the links), so this PR adds containers around each download button and tracks@click
events on the containers instead of on the anchor itself.