This is an automated email from the ASF dual-hosted git repository. lprimak pushed a commit to branch add-scarf-pixel in repository https://gitbox.apache.org/repos/asf/shiro-site.git
commit 8ab5dfd370526ae30a71153a53777b8a468a97e4 Author: lprimak <[email protected]> AuthorDate: Fri Sep 4 22:46:58 2026 -0500 enh(analytics): add scarf.sh pixel --- jbake.properties | 2 ++ src/site/templates/footer.ftl | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/jbake.properties b/jbake.properties index 64c836471..677682b75 100644 --- a/jbake.properties +++ b/jbake.properties @@ -15,6 +15,8 @@ archive.file=news.html index.paginate=true index.posts_per_page=5 +site.scarf.trackingid=8bc6f7e7-015b-4c3f-bc99-12802081d969 + template.redirect.file=redirect.ftl template.download.file=download.ftl template.lend_a_hand.file=lend_a_hand.ftl diff --git a/src/site/templates/footer.ftl b/src/site/templates/footer.ftl index 80c35243c..23eccd16a 100644 --- a/src/site/templates/footer.ftl +++ b/src/site/templates/footer.ftl @@ -35,7 +35,12 @@ </div> - <!-- Le javascript + <#if config.site_scarf_trackingid?has_content> + <img referrerpolicy="no-referrer-when-downgrade" + src="https://static.scarf.sh/a.png?x-pxid=${config.site_scarf_trackingid}" /> + </#if> + +<!-- Le javascript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script src="<#if (content.rootpath)??>${content.rootpath}<#else></#if>js/bootstrap.min.js"></script>
