diff --git a/docusaurus.config.js b/docusaurus.config.js index 55dd027008..3080402493 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,8 +1,10 @@ module.exports = { title: 'SSN Docs', tagline: 'The documentation source for the Session Smart Networking Platform', - url: 'https://docs.128technology.com', - baseUrl: process.env.OFFLINE_DOCS ? '/offline-docs/' : '/', + //url: 'https://docs.128technology.com', + url: 'https://uat.juniper.net', + //baseUrl: process.env.OFFLINE_DOCS ? '/offline-docs/' : '/', + baseUrl: '/documentation/us/en/software/session-smart-router/', favicon: 'img/favicon.ico', organizationName: '128technology', // Usually your GitHub org/user name. projectName: 'docs', // Usually your repo name. diff --git a/src/components/adobe-analytics-plugin.js b/src/components/adobe-analytics-plugin.js new file mode 100644 index 0000000000..cd3c04eabc --- /dev/null +++ b/src/components/adobe-analytics-plugin.js @@ -0,0 +1,28 @@ +module.exports = function (context, options) { + return { + name: 'adobe-analytics-plugin', + injectHtmlTags() { + return { + headTags: [ + { + tagName: 'script', + attributes: { + type: 'text/javascript', + src: '//assets.adobedtm.com/998b2d6d4944658536fe36266a249b07e626b86d/satelliteLib-6d05b7c7a99e1cbbdcac4fcfe7005e6bee80a0e9.js', + async: true, + }, + }, + ], + postBodyTags: [ + { + tagName: 'script', + attributes: { + type: 'text/javascript', + src: '_satellite.pageBottom();', + }, + }, + ], + }; + }, + }; +};