()
| 3 | const apiKey = process.env.CUSTOMER_IO_API_KEY; |
| 4 | |
| 5 | const customerIoClient = () => { |
| 6 | if (!siteId || !apiKey) { |
| 7 | return null; |
| 8 | } |
| 9 | |
| 10 | return new TrackClient(siteId, apiKey, { region: RegionEU }); |
| 11 | }; |
| 12 | |
| 13 | interface customerIoClient { |
| 14 | identify: (id: string, params: any) => {}; |