On each resource page, the "Cite & Reference" panel contains three trackable user actions. We need each action to fire a dataLayer event so Google Analytics can capture citation activity via Google Tag Manager.
Clicking the copy button next to the formatted citation → cite_copy
Clicking RIS, BibTeX, or JSON-LD export buttons → cite_export (with format captured as a parameter)
Clicking the copy button next to the BTAA Geoportal Link URL → cite_url
Each event should include the resource ID and resource title as parameters. The cite_export event should also include which format was selected (RIS, BibTeX, or JSON-LD).
Validation
Each event appears in GTM Preview mode when the corresponding button is clicked
Resource ID, resource title, and export format (where applicable) are populated correctly
No event fires on page load — only on button click
Citation-GA-events.pdf
On each resource page, the "Cite & Reference" panel contains three trackable user actions. We need each action to fire a dataLayer event so Google Analytics can capture citation activity via Google Tag Manager.
Clicking the copy button next to the formatted citation → cite_copy
Clicking RIS, BibTeX, or JSON-LD export buttons → cite_export (with format captured as a parameter)
Clicking the copy button next to the BTAA Geoportal Link URL → cite_url
Each event should include the resource ID and resource title as parameters. The cite_export event should also include which format was selected (RIS, BibTeX, or JSON-LD).
Validation
Each event appears in GTM Preview mode when the corresponding button is clicked
Resource ID, resource title, and export format (where applicable) are populated correctly
No event fires on page load — only on button click
Citation-GA-events.pdf