Skip to content

Commit e19578b

Browse files
feat(types): add custom event name
closes #619
1 parent 40216ff commit e19578b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/types/gtag.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ export type GtagGeneralEventNames =
132132
| "timing_complete"
133133
| "view_search_results";
134134

135-
export type GtagEventNames = GtagEcommerceEventNames | GtagGeneralEventNames;
135+
export type GtagEventNames =
136+
| GtagEcommerceEventNames
137+
| GtagGeneralEventNames
138+
| (string & {});
136139

137140
/**
138141
* Parameters associated with Google Analytics events.

0 commit comments

Comments
 (0)