mirror of
https://github.com/soconnor0919/personal-website.git
synced 2026-02-05 00:06:36 -05:00
Fix analytics naming and BibTeX syntax errors
The changes fix a missing comma in the BibTeX file and updates analytics
event names to better reflect user interactions ("View" -> "Click")
This commit is contained in:
@@ -69,7 +69,7 @@ export function trackPdfView(
|
||||
pdfType: "paper" | "poster";
|
||||
},
|
||||
) {
|
||||
track("Publication PDF View", {
|
||||
track("Publication PDF Click", {
|
||||
title: data.publicationTitle,
|
||||
type: data.publicationType,
|
||||
year: data.publicationYear.toString(),
|
||||
@@ -96,12 +96,12 @@ export function trackDoiClick(
|
||||
}
|
||||
|
||||
/**
|
||||
* Track slides views specifically
|
||||
* Track slides clicks - user intent/engagement
|
||||
*/
|
||||
export function trackSlidesView(
|
||||
data: Omit<PublicationTrackingData, "linkType">,
|
||||
) {
|
||||
track("Publication Slides View", {
|
||||
track("Publication Slides Click", {
|
||||
title: data.publicationTitle,
|
||||
type: data.publicationType,
|
||||
year: data.publicationYear.toString(),
|
||||
|
||||
Reference in New Issue
Block a user