The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Adds GA to docs (#11022)
Jacob Lee6d072e97c8b3
diff --git a/docs/docs_skeleton/docusaurus.config.js b/docs/docs_skeleton/docusaurus.config.jsindex 8bc3399dbb..eff4b33c57 100644--- a/docs/docs_skeleton/docusaurus.config.js+++ b/docs/docs_skeleton/docusaurus.config.js@@ -71,9 +71,9 @@ const config = {test: /\.ipynb$/,loader: "raw-loader",resolve: {- fullySpecified: false- }- }+ fullySpecified: false,+ },+ },],},}),@@ -158,16 +158,16 @@ const config = {position: "left",},{- type: 'docSidebar',- position: 'left',- sidebarId: 'use_cases',- label: 'Use cases',+ type: "docSidebar",+ position: "left",+ sidebarId: "use_cases",+ label: "Use cases",},{- type: 'docSidebar',- position: 'left',- sidebarId: 'integrations',- label: 'Integrations',+ type: "docSidebar",+ position: "left",+ sidebarId: "integrations",+ label: "Integrations",},{href: "https://api.python.langchain.com",@@ -187,9 +187,9 @@ const config = {// Please keep GitHub link to the right for consistency.{href: "https://github.com/hwchase17/langchain",- position: 'right',- className: 'header-github-link',- 'aria-label': 'GitHub repository',+ position: "right",+ className: "header-github-link",+ "aria-label": "GitHub repository",},],},@@ -239,6 +239,14 @@ const config = {copyright: `Copyright © ${new Date().getFullYear()} LangChain, Inc.`,},}),++ scripts: [+ "/js/google_analytics.js",+ {+ src: "https://www.googletagmanager.com/gtag/js?id=G-9B66JQQH2F",+ async: true,+ },+ ],};module.exports = config;diff --git a/docs/docs_skeleton/static/js/google_analytics.js b/docs/docs_skeleton/static/js/google_analytics.jsnew file mode 100644index 0000000000..d665aa4502--- /dev/null+++ b/docs/docs_skeleton/static/js/google_analytics.js@@ -0,0 +1,7 @@+window.dataLayer = window.dataLayer || [];+function gtag() {+ dataLayer.push(arguments);+}+gtag("js", new Date());++gtag("config", "G-9B66JQQH2F");