Replies: 1 comment
-
@prooftv Hi, thanks for posting! GTMOnce you've set up an account and have retrieved the measurement ID (eg. + import { GoogleTagManager } from '@next/third-parties/google'
...
export default async function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
+ <GoogleTagManager gtmId="GTM-ABCD123" />
<body className="bg-canvas text-ink">
...
</body>
</html>
)
}
Google IndexingDid you mean Google Search Console, for better insights into indexing? If so, you should follow the guides shown when setting up an account there. Otherwise, SanityPress already will have accomodations for indexing out-of-the-box with the SEO metadata object found in every Page document: Google MapsCan you clarify what you are exactly looking to achieve with maps? Like an interactive map module to show location and/or pins on a within a region? I typically will leave advanced customizations like this up to the user on how to implement, but I'd be happy to guide you with resources, if needed. |
Beta Was this translation helpful? Give feedback.
-
Hi Sanity Press Community,
I'm a novice user working on a project using the Sanity Press starter. I'm looking to integrate Google Tag Manager (GTM), Google Indexing, and Google Maps into my project. However, I noticed that these modules are not readily available in the current setup.
Could anyone provide guidance or share best practices on how to add these integrations to the Sanity Press starter? It would be incredibly helpful for new users like myself who are still learning the ropes. I am more into ecommerce analytics and data analysis..
Thank you in advance for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions