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

Function handleClick

packages/shared/src/components/plus/PlusMobileDrawer.tsx:29–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 const { flags } = marketingCta || {};
28
29 const handleClick = () => {
30 logEvent({
31 event_name: LogEvent.UpgradeSubscription,
32 target_type: TargetType.MarketingCtaPlus,
33 target_id: marketingCta.campaignId,
34 extra: JSON.stringify({
35 origin: Origin.InAppPromotion,
36 }),
37 });
38 };
39
40 return (
41 <Drawer

Callers

nothing calls this directly

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected