我已经要求在我构建的 react js 应用程序中添加 adobe 分析。
请向我道歉,我对如何实施它没有任何基本的想法/理解,因此专家的帮助对我非常有帮助。
要求是我需要在next js with typescript
我内置的项目中实现adobe analytics ..
我只能在官方文档中找到谷歌分析示例,但在 adobe 中找不到。
索引.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的链接, https://docs.adobe.com/content/help/en/experience-manager-65/developing/headless/spas/spa-ssr.html但它没有提供有关代码内部实现。
在此处提出查询:https : //github.com/zeit/next.js/discussions/10679但我无法从任何人那里获得适当的帮助..
正如问题标题所示,我需要adobe 分析实施,而不是谷歌分析。
我谦虚的请求,请通过分叉上述具有工作条件的代码和框来提供解决方案。