Skip to content

Commit

Permalink
Merge pull request #848 from plone/matomo-config-2023
Browse files Browse the repository at this point in the history
Configure 2023.training.plone.org with Matomo Tag Manager for web stats and updated site search
  • Loading branch information
stevepiercy authored Jun 17, 2024
2 parents 4ea0f52 + ba22966 commit ad87138
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
24 changes: 8 additions & 16 deletions docs/_templates/components/search-field.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,17 @@
[
['mastering-plone', 'Mastering Plone development'],
['mastering-plone-5', 'Mastering Plone development (Plone 5)'],
['effective-volto','Effective Volto (advanced)'],
['voltohandson','Volto hands-On (beginner)'],
['voltoaddons','Volto add-ons'],
['volto','Volto (beginner)'],
['voltohandson','Volto Hands-On (beginner)'],
['react','ReactJS'],
['theming','Classic UI Theming'],
['volto_customization','Volto customization for JavaScript beginners'],
['effective-volto','Effective Volto (advanced)'],
['testing','Testing'],
['deployment','Deployment'],
['javascript','Javascript (Plone 5)'],
['ttw','TTW (Plone 5)'],
['solr','Solr'],
['theming','Plone 6 Classic UI theming'],
['plone-deployment','Deployment'],
['workflow','Workflow'],
['migrations','Migrating content (best practice)'],
['transmogrifier','Migrating content (Transmogrifier)'],
['wsgi','WSGI'],
['advanced-python','Advanced Python'],
['angular','Angular'],
['gatsby','Gatsby'],
['contributing', 'Contributing'],
['migrations','Migration best practice'],

['contributing', 'Contributing to Plone'],
] %}
<option value="{{id}}">{{ title }}</option>
{% endfor %}
Expand Down
10 changes: 6 additions & 4 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
{{ super() }}
<!-- Matomo Tag Manager -->
<script>
var _mtm = window._mtm = window._mtm || [];
_mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://stats.plone.org/js/container_4445jk2I.js'; s.parentNode.insertBefore(g,s);
var _mtm = window._mtm = window._mtm || [];
_mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
(function() {
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://stats.plone.org/js/container_Etr8PTTS.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Tag Manager -->
{% endblock %}

0 comments on commit ad87138

Please sign in to comment.