diff --git a/docs/docs_skeleton/docusaurus.config.js b/docs/docs_skeleton/docusaurus.config.js index 8bc3399dbbe..53b23670272 100644 --- a/docs/docs_skeleton/docusaurus.config.js +++ b/docs/docs_skeleton/docusaurus.config.js @@ -239,6 +239,14 @@ const config = { copyright: `Copyright © ${new Date().getFullYear()} LangChain, Inc.`, }, }), + + scripts: [ + "/js/vercel_analytics.js", + { + src: "/_vercel/insights/script.js", + defer: true, + } + ] }; module.exports = config; diff --git a/docs/docs_skeleton/static/js/vercel_analytics.js b/docs/docs_skeleton/static/js/vercel_analytics.js new file mode 100644 index 00000000000..3af6fcc00e6 --- /dev/null +++ b/docs/docs_skeleton/static/js/vercel_analytics.js @@ -0,0 +1 @@ +(function(){window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };})() \ No newline at end of file