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

Function onAdViewable

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

Source from the content-addressed store, hash-verified

343 };
344
345 const onAdViewable = (ad: Ad, data: ViewabilityData) =>
346 onAdAction(AdActions.Viewable, ad, viewabilityLogExtra(data));
347
348 if (item.type === FeedItemType.Ad && isBoostedSquadAd(item)) {
349 return (

Callers 2

FeedItemComponentFunction · 0.85
cardFunction · 0.85

Calls 2

viewabilityLogExtraFunction · 0.90
onAdActionFunction · 0.85

Tested by

no test coverage detected