Skip to content

Commit

Permalink
Merge pull request #10 from agcty/patch-2
Browse files Browse the repository at this point in the history
Change ViewContent to PageView per default
  • Loading branch information
simonabadoiu authored Aug 11, 2023
2 parents a802de4 + 5aa39d7 commit 3d718c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const getBaseRequestBody = (

const body: { [k: string]: any } = {

Check warning on line 29 in src/track.ts

View workflow job for this annotation

GitHub Actions / build-test (18.x)

Unexpected any. Specify a different type
event:
(eventType === 'pageview' ? 'ViewContent' : payload.ev) ||
(eventType === 'pageview' ? 'Pageview' : payload.ev) ||
event.name ||
event.type,
event_id: eventId,
Expand Down

0 comments on commit 3d718c3

Please sign in to comment.