diff --git a/.github/workflows/update-gh-pages-branch.yml b/.github/workflows/update-gh-pages-branch.yml index c8394b1d4..974820cd1 100644 --- a/.github/workflows/update-gh-pages-branch.yml +++ b/.github/workflows/update-gh-pages-branch.yml @@ -20,7 +20,7 @@ jobs: run: Expand-Archive ../docfx.zip -DestinationPath ../docfx - name: Build site with docfx - run: "../docfx/docfx.exe build docfx.json --globalMetadata \"{ '_matomoContainerId': 'kE7MWPi0' }\" --warningsAsErrors" + run: "../docfx/docfx.exe build docfx.json --globalMetadata \"{ '_matomoContainerUrl': 'https://matomo.devexpress.com/js/container_kE7MWPi0.js' }\" --warningsAsErrors" - name: Archive site run: Compress-Archive -Path _site/* -DestinationPath ${{ runner.temp }}/site.zip diff --git a/.template/partials/head.tmpl.partial b/.template/partials/head.tmpl.partial index 4d742fe08..9ad30b1ec 100644 --- a/.template/partials/head.tmpl.partial +++ b/.template/partials/head.tmpl.partial @@ -7,15 +7,6 @@ - {{#_matomoContainerId}} - - - {{#_description}}{{/_description}} @@ -26,41 +17,14 @@ {{#_noindex}}{{/_noindex}} {{#_enableSearch}}{{/_enableSearch}} {{#_enableNewTab}}{{/_enableNewTab}} - - -{{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license.}} - - - - - {{/_matomoContainerId}} - {{#_googleAnalyticsTagId}} - + {{#_matomoContainerUrl}} + - {{/_googleAnalyticsTagId}} - {{#redirect_url}} - - {{/redirect_url}} - {{^redirect_url}} - - {{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}} - - - {{#_description}}{{/_description}} - {{#description}}{{/description}} - - - - - - - {{#_noindex}}{{/_noindex}} - {{#_enableSearch}}{{/_enableSearch}} - {{#_enableNewTab}}{{/_enableNewTab}} - {{/redirect_url}} + + {{/_matomoContainerUrl}}