I have given the requirement to add adobe analytics in the react js application that I have built.
Please apologize me that I don't have any basic idea/ understanding on how to implement it, So help from experts would be very helpful for me.
Requirement is that I need to implement the adobe analytics in the next js with typescript
project that I have built in..
I could find only google analytics sample here in official documentation but not adobe..
Index.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>
);
}
From the source code given in the link, please help me where should I start and how exactly should I need to implement Adobe Analytics?
I found the link for SSR here, https://docs.adobe.com/content/help/en/experience-manager-65/developing/headless/spas/spa-ssr.html but it doesn't provide necessary details about implementation inside code.
Raised a query here: https://github.com/zeit/next.js/discussions/10679 but I couldn't get the appropriate help from anyone..
As like the question title indicates, I am in the need of adobe analytics implementation and strictly not google analytics..
I humble request, please provide the solution by forking the above codesandbox with working condition.
SSR
.. I have also provided sample code in that example I am in the need to apply Adobe analytics which is the requirement.. – Kandi