diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 4d1ebd5234..3eb45095ac 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -1,3 +1,5 @@
+const GTM_TAG = 'GTM-WMDC3CP';
+
module.exports = {
base: '/v1/',
port: 8081,
@@ -8,10 +10,21 @@ module.exports = {
},
head: [
['link', { rel: 'icon', href: '/favicon.png' }],
- ['script', { src: 'https://cdnjs.cloudflare.com/ajax/libs/diff2html/2.12.1/diff2html.min.js'}]
+ ['script', { src: 'https://cdnjs.cloudflare.com/ajax/libs/diff2html/2.12.1/diff2html.min.js'}],
+ // HubSpot
+ ['script', { async: true, defer: true, src: 'https://js.hs-scripts.com/8443671.js', id: 'hs-script-loader' }],
+ // Google Tag Manager
+ ['script', {}, [`
+ (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
+ })(window,document,'script','dataLayer','${GTM_TAG}');
+ `]]
],
themeConfig: {
- repo: 'DivanteLtd/vue-storefront',
+ GTM_TAG,
+ repo: 'vuestorefront/vue-storefront',
docsDir: 'docs',
editLinks: true,
sidebarDepth: 3,
diff --git a/docs/.vuepress/theme/index.js b/docs/.vuepress/theme/index.js
new file mode 100644
index 0000000000..cc636ec827
--- /dev/null
+++ b/docs/.vuepress/theme/index.js
@@ -0,0 +1,3 @@
+module.exports = {
+ extend: '@vuepress/theme-default'
+};
diff --git a/docs/.vuepress/theme/layouts/Layout.vue b/docs/.vuepress/theme/layouts/Layout.vue
new file mode 100644
index 0000000000..9babad3a83
--- /dev/null
+++ b/docs/.vuepress/theme/layouts/Layout.vue
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+