@yext/analytics
Advanced tools
Comparing version
@@ -356,3 +356,3 @@ /** | ||
/** An enum member or its string value which denotes the event type. */ | ||
type: EnumOrString<SearchAnalyticsEventType.CtaClick | SearchAnalyticsEventType.TitleClick | SearchAnalyticsEventType.TapToCall | SearchAnalyticsEventType.OrderNow | SearchAnalyticsEventType.AddToCart | SearchAnalyticsEventType.ApplyNow | SearchAnalyticsEventType.DrivingDirections | SearchAnalyticsEventType.ViewWebsite | SearchAnalyticsEventType.Email | SearchAnalyticsEventType.BookAppointment | SearchAnalyticsEventType.Rsvp>; | ||
type: EnumOrString<SearchAnalyticsEventType.CtaClick | SearchAnalyticsEventType.TitleClick | SearchAnalyticsEventType.TapToCall | SearchAnalyticsEventType.OrderNow | SearchAnalyticsEventType.AddToCart | SearchAnalyticsEventType.ApplyNow | SearchAnalyticsEventType.DrivingDirections | SearchAnalyticsEventType.ViewWebsite | SearchAnalyticsEventType.Email | SearchAnalyticsEventType.BookAppointment | SearchAnalyticsEventType.Rsvp | SearchAnalyticsEventType.CitationClick>; | ||
/** | ||
@@ -372,2 +372,4 @@ * The vertical key for the vertical on which the event was fired. Or, if | ||
directAnswer?: boolean; | ||
/** Whether or not the event was fired on a generative direct answer card. */ | ||
generativeDirectAnswer?: boolean; | ||
/** The url of the event target. */ | ||
@@ -949,2 +951,4 @@ url?: string; | ||
Rsvp = "RSVP", | ||
/** {@link CtaEvent} */ | ||
CitationClick = "CITATION_CLICK", | ||
/** {@link SearchDurationEvent} */ | ||
@@ -951,0 +955,0 @@ ResultsHidden = "RESULTS_HIDDEN", |
@@ -11,3 +11,3 @@ import { SearchAnalyticsEventType } from '../SearchAnalyticsEventType'; | ||
/** An enum member or its string value which denotes the event type. */ | ||
type: EnumOrString<SearchAnalyticsEventType.CtaClick | SearchAnalyticsEventType.TitleClick | SearchAnalyticsEventType.TapToCall | SearchAnalyticsEventType.OrderNow | SearchAnalyticsEventType.AddToCart | SearchAnalyticsEventType.ApplyNow | SearchAnalyticsEventType.DrivingDirections | SearchAnalyticsEventType.ViewWebsite | SearchAnalyticsEventType.Email | SearchAnalyticsEventType.BookAppointment | SearchAnalyticsEventType.Rsvp>; | ||
type: EnumOrString<SearchAnalyticsEventType.CtaClick | SearchAnalyticsEventType.TitleClick | SearchAnalyticsEventType.TapToCall | SearchAnalyticsEventType.OrderNow | SearchAnalyticsEventType.AddToCart | SearchAnalyticsEventType.ApplyNow | SearchAnalyticsEventType.DrivingDirections | SearchAnalyticsEventType.ViewWebsite | SearchAnalyticsEventType.Email | SearchAnalyticsEventType.BookAppointment | SearchAnalyticsEventType.Rsvp | SearchAnalyticsEventType.CitationClick>; | ||
/** | ||
@@ -27,2 +27,4 @@ * The vertical key for the vertical on which the event was fired. Or, if | ||
directAnswer?: boolean; | ||
/** Whether or not the event was fired on a generative direct answer card. */ | ||
generativeDirectAnswer?: boolean; | ||
/** The url of the event target. */ | ||
@@ -29,0 +31,0 @@ url?: string; |
@@ -61,2 +61,4 @@ /** | ||
Rsvp = "RSVP", | ||
/** {@link CtaEvent} */ | ||
CitationClick = "CITATION_CLICK", | ||
/** {@link SearchDurationEvent} */ | ||
@@ -63,0 +65,0 @@ ResultsHidden = "RESULTS_HIDDEN", |
@@ -66,2 +66,4 @@ "use strict"; | ||
SearchAnalyticsEventType["Rsvp"] = "RSVP"; | ||
/** {@link CtaEvent} */ | ||
SearchAnalyticsEventType["CitationClick"] = "CITATION_CLICK"; | ||
// Search duration event types | ||
@@ -68,0 +70,0 @@ /** {@link SearchDurationEvent} */ |
@@ -11,3 +11,3 @@ import { SearchAnalyticsEventType } from '../SearchAnalyticsEventType'; | ||
/** An enum member or its string value which denotes the event type. */ | ||
type: EnumOrString<SearchAnalyticsEventType.CtaClick | SearchAnalyticsEventType.TitleClick | SearchAnalyticsEventType.TapToCall | SearchAnalyticsEventType.OrderNow | SearchAnalyticsEventType.AddToCart | SearchAnalyticsEventType.ApplyNow | SearchAnalyticsEventType.DrivingDirections | SearchAnalyticsEventType.ViewWebsite | SearchAnalyticsEventType.Email | SearchAnalyticsEventType.BookAppointment | SearchAnalyticsEventType.Rsvp>; | ||
type: EnumOrString<SearchAnalyticsEventType.CtaClick | SearchAnalyticsEventType.TitleClick | SearchAnalyticsEventType.TapToCall | SearchAnalyticsEventType.OrderNow | SearchAnalyticsEventType.AddToCart | SearchAnalyticsEventType.ApplyNow | SearchAnalyticsEventType.DrivingDirections | SearchAnalyticsEventType.ViewWebsite | SearchAnalyticsEventType.Email | SearchAnalyticsEventType.BookAppointment | SearchAnalyticsEventType.Rsvp | SearchAnalyticsEventType.CitationClick>; | ||
/** | ||
@@ -27,2 +27,4 @@ * The vertical key for the vertical on which the event was fired. Or, if | ||
directAnswer?: boolean; | ||
/** Whether or not the event was fired on a generative direct answer card. */ | ||
generativeDirectAnswer?: boolean; | ||
/** The url of the event target. */ | ||
@@ -29,0 +31,0 @@ url?: string; |
@@ -61,2 +61,4 @@ /** | ||
Rsvp = "RSVP", | ||
/** {@link CtaEvent} */ | ||
CitationClick = "CITATION_CLICK", | ||
/** {@link SearchDurationEvent} */ | ||
@@ -63,0 +65,0 @@ ResultsHidden = "RESULTS_HIDDEN", |
@@ -63,2 +63,4 @@ /** | ||
SearchAnalyticsEventType["Rsvp"] = "RSVP"; | ||
/** {@link CtaEvent} */ | ||
SearchAnalyticsEventType["CitationClick"] = "CITATION_CLICK"; | ||
// Search duration event types | ||
@@ -65,0 +67,0 @@ /** {@link SearchDurationEvent} */ |
{ | ||
"name": "@yext/analytics", | ||
"version": "0.6.6", | ||
"version": "0.6.7", | ||
"description": "An analytics library for Yext", | ||
@@ -5,0 +5,0 @@ "author": "slapshot@yext.com", |
@@ -24,3 +24,4 @@ import { SearchAnalyticsEventType } from '../SearchAnalyticsEventType'; | ||
SearchAnalyticsEventType.BookAppointment | | ||
SearchAnalyticsEventType.Rsvp | ||
SearchAnalyticsEventType.Rsvp | | ||
SearchAnalyticsEventType.CitationClick | ||
>, | ||
@@ -41,2 +42,4 @@ /** | ||
directAnswer?: boolean, | ||
/** Whether or not the event was fired on a generative direct answer card. */ | ||
generativeDirectAnswer?: boolean, | ||
/** The url of the event target. */ | ||
@@ -43,0 +46,0 @@ url?: string, |
@@ -63,2 +63,4 @@ /** | ||
Rsvp = 'RSVP', | ||
/** {@link CtaEvent} */ | ||
CitationClick = 'CITATION_CLICK', | ||
@@ -65,0 +67,0 @@ // Search duration event types |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
510658
0.27%8857
0.24%2
100%