Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

376 B
Raw Blame
"use client";

import { useEffect } from "react";
import { followConsentForGoogleTag } from "./consent-mode";

// Rendered ahead of the Google tag's scripts: sibling effects run in order, so
// a returning visitor's stored answer is queued before the tag's config.
export function GoogleConsentModeSync() {
  useEffect(() => followConsentForGoogleTag(), []);
  return null;
}