From 76524b86e530694d696a1c3803ce0b34dba38d8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alexa=20Valentov=C3=A1?= <git@imaniti.org>
Date: Sun, 30 Mar 2025 15:27:43 +0200
Subject: [PATCH] Fix matomo, update ecomail API

---
 make_a_wish/templates/make_a_wish/make_a_wish_root.html | 2 +-
 shared/utils.py                                         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/make_a_wish/templates/make_a_wish/make_a_wish_root.html b/make_a_wish/templates/make_a_wish/make_a_wish_root.html
index a5fbae5f..01304d82 100644
--- a/make_a_wish/templates/make_a_wish/make_a_wish_root.html
+++ b/make_a_wish/templates/make_a_wish/make_a_wish_root.html
@@ -6,7 +6,7 @@
     <title>Máte přání?</title>
 
     {% if page.matomo_id %}
-        {% include "shared/matomo_snippet.html" with matomo_id=page.root_page.matomo_id %}
+        {% include "shared/matomo_snippet.html" with matomo_id=page.matomo_id %}
     {% endif %}
 {% endblock %}
 
diff --git a/shared/utils.py b/shared/utils.py
index 1adb7eb0..d97d5832 100644
--- a/shared/utils.py
+++ b/shared/utils.py
@@ -106,6 +106,7 @@ def subscribe_to_ecomail_newsletter(
             **custom_data,
         },
         "update_existing": update_existing,
+        "trigger_autoresponders": True,
     }
 
     response = requests.post(
-- 
GitLab