MCPcopy Create free account
hub / github.com/dailydotdev/apps / onAdViewable

Function onAdViewable

packages/shared/src/components/FeedItemComponent.tsx:373–374  ·  view source on GitHub ↗
(ad: Ad, data: ViewabilityData)

Source from the content-addressed store, hash-verified

371 };
372
373 const onAdViewable = (ad: Ad, data: ViewabilityData) =>
374 onAdAction(AdActions.Viewable, ad, viewabilityLogExtra(data));
375
376 if (item.type === FeedItemType.Ad && isBoostedSquadAd(item)) {
377 return (

Callers 1

FeedItemComponentFunction · 0.85

Calls 2

viewabilityLogExtraFunction · 0.90
onAdActionFunction · 0.85

Tested by

no test coverage detected