我已经提出了在我构建的 React js 应用程序中添加 adobe Analytics 的要求。
请抱歉,我对如何实现它没有任何基本的想法/理解,所以专家的帮助对我来说非常有帮助。
要求是我需要在中实施 adobe 分析next js with typescript
我已经内置的项目..
我只能找到谷歌分析样本在这里 https://github.com/zeit/next.js/tree/canary/examples/with-google-analytics在官方文档中,但在 adobe 中没有..
完整的示例工作应用程序代码在这里...... https://codesandbox.io/s/fervent-resonance-2k7xd
索引.tsx:
import React from "react";
import Container from "@material-ui/core/Container";
import Typography from "@material-ui/core/Typography";
import Box from "@material-ui/core/Box";
import Link from "../src/Link";
export default function Index() {
return (
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Next.js with TypeScript example
</Typography>
<Link href="/about" color="secondary">
Go to the about page
</Link>
</Box>
</Container>
);
}
从链接中给出的源代码中,请帮助我应该从哪里开始以及我到底应该如何实施 Adobe Analytics?
我找到了链接SSR here, https://docs.adobe.com/content/help/en/experience-manager-65/developing/headless/spas/spa-ssr.html https://docs.adobe.com/content/help/en/experience-manager-65/developing/headless/spas/spa-ssr.html但它没有提供有关代码内部实现的必要细节。
在此提出疑问:https://github.com/zeit/next.js/discussions/10679 https://github.com/zeit/next.js/discussions/10679但我无法从任何人那里得到适当的帮助..
正如问题标题所示,我需要adobe 分析实施和严格来说不是谷歌分析..
我谦虚地请求,请通过分叉上述具有工作条件的代码和框来提供解决方案。