Skip to content

Commit

Permalink
fix: Add home screen Shows rail header tracking (#9066)
Browse files Browse the repository at this point in the history
  • Loading branch information
olerichter00 authored Jul 27, 2023
1 parent b25a165 commit ad404d1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/Scenes/Home/Components/ShowsRail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ const showsFragment = graphql`
`

export const tracks = {
tappedHeader: () => ({
action: ActionType.tappedArtworkGroup,
context_module: ContextModule.showsRail,
context_screen_owner_type: OwnerType.home,
destination_screen_owner_type: OwnerType.show,
type: "header",
}),
tappedThumbnail: (showID?: string, showSlug?: string, index?: number): TappedShowGroup => ({
action: ActionType.tappedShowGroup,
context_module: ContextModule.showsRail,
Expand Down

0 comments on commit ad404d1

Please sign in to comment.