Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

docs: use GTM instead of gtag.js

Martin Adámekb5784dcd5ede
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 9dffa2c7d..fa084f487 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -100,13 +100,19 @@ module.exports = {
from: '/docs',
to: '/docs/quick-start',
},
- // {
- // from: '/docs/next',
- // to: '/docs/next/quick-start',
- // },
+ // {
+ // from: '/docs/next',
+ // to: '/docs/next/quick-start',
+ // },
],
},
],
+ [
+ require.resolve('docusaurus-gtm-plugin'),
+ {
+ id: 'GTM-TKBX678',
+ },
+ ],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({
@@ -276,8 +282,5 @@ module.exports = {
facetFilters: ['version:VERSION'],
},
},
- gaGtag: {
- trackingID: 'UA-67003981-4',
- },
}),
};
diff --git a/website/package-lock.json b/website/package-lock.json
index 8fd107dd8..85a692c1d 100644
--- a/website/package-lock.json
+++ b/website/package-lock.json
@@ -9,6 +9,7 @@
"@docusaurus/plugin-client-redirects": "2.0.0-rc.1",
"@docusaurus/preset-classic": "2.0.0-rc.1",
"clsx": "^1.1.1",
+ "docusaurus-gtm-plugin": "^0.0.2",
"docusaurus-plugin-typedoc-api": "2.2.1",
"prop-types": "^15.8.1",
"raw-loader": "^4.0.2",
@@ -5916,6 +5917,11 @@
"node": ">=6.0.0"
}
},
+ "node_modules/docusaurus-gtm-plugin": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/docusaurus-gtm-plugin/-/docusaurus-gtm-plugin-0.0.2.tgz",
+ "integrity": "sha512-Xx/df0Ppd5SultlzUj9qlQk2lX9mNVfTb41juyBUPZ1Nc/5dNx+uN0VuLyF4JEObkDRrUY1EFo9fEUDo8I6QOQ=="
+ },
"node_modules/docusaurus-plugin-typedoc-api": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/docusaurus-plugin-typedoc-api/-/docusaurus-plugin-typedoc-api-2.2.1.tgz",
@@ -18893,6 +18899,11 @@
"esutils": "^2.0.2"
}
},
+ "docusaurus-gtm-plugin": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/docusaurus-gtm-plugin/-/docusaurus-gtm-plugin-0.0.2.tgz",
+ "integrity": "sha512-Xx/df0Ppd5SultlzUj9qlQk2lX9mNVfTb41juyBUPZ1Nc/5dNx+uN0VuLyF4JEObkDRrUY1EFo9fEUDo8I6QOQ=="
+ },
"docusaurus-plugin-typedoc-api": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/docusaurus-plugin-typedoc-api/-/docusaurus-plugin-typedoc-api-2.2.1.tgz",
diff --git a/website/package.json b/website/package.json
index 6286d776d..d7befa393 100644
--- a/website/package.json
+++ b/website/package.json
@@ -29,9 +29,10 @@
},
"dependencies": {
"@docusaurus/core": "2.0.0-rc.1",
- "@docusaurus/preset-classic": "2.0.0-rc.1",
"@docusaurus/plugin-client-redirects": "2.0.0-rc.1",
+ "@docusaurus/preset-classic": "2.0.0-rc.1",
"clsx": "^1.1.1",
+ "docusaurus-gtm-plugin": "^0.0.2",
"docusaurus-plugin-typedoc-api": "2.2.1",
"prop-types": "^15.8.1",
"raw-loader": "^4.0.2",