# GTM tag template for custom events and goals

**URL:** <https://community.piwik.pro/t/gtm-tag-template-for-custom-events-and-goals/1435>\
**Category:** Request a feature & Roadmap\
**Created:** [December 27, 2022, 9:14am UTC](https://community.piwik.pro/t/gtm-tag-template-for-custom-events-and-goals/1435 "2022-12-27T09:14:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidkrogstrup](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/davidkrogstrup/32/1078_2.png) [@davidkrogstrup](https://community.piwik.pro/u/davidkrogstrup)\
**Post date:** [December 27, 2022, 9:14am UTC](https://community.piwik.pro/t/gtm-tag-template-for-custom-events-and-goals/1435/1 "2022-12-27T09:14:36Z")

</div>

It´s great that Piwik PRO has created a Google Tag Manager tag template for the basic configuration and pageview tracking.

But it would be really great to also have a GTM tag template for sending custom events and goals to Piwik PRO - so I (and my clients) would not have to use javascript code in a CustomHTML tag.

---

<div class="post-metadata">

**Author:** ![mbaersch](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/mbaersch/32/35_2.png) [@mbaersch](https://community.piwik.pro/u/mbaersch)\
**Post date:** [December 30, 2022, 12:06pm UTC](https://community.piwik.pro/t/gtm-tag-template-for-custom-events-and-goals/1435/2 "2022-12-30T12:06:23Z")

</div>

Hi,

there will be an enhanced version of the template soon. If you want to get started right now you can use my fork at [GitHub - mbaersch/piwikpro-template-for-gtm: Piwik PRO Analytics template for Google Tag Manager](https://github.com/mbaersch/piwikpro-template-for-gtm) in the meantime. Goals, custom events and other tracking types are supported.

![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/f/f971ea4e0864e288497303ad16256e88896344d9.png)

best,  
Markus

---

<div class="post-metadata">

**Author:** ![davidkrogstrup](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/davidkrogstrup/32/1078_2.png) [@davidkrogstrup](https://community.piwik.pro/u/davidkrogstrup)\
**Post date:** [December 30, 2022, 12:59pm UTC](https://community.piwik.pro/t/gtm-tag-template-for-custom-events-and-goals/1435/3 "2022-12-30T12:59:27Z")

</div>

Thank you very much for your answer.

That sounds really great 💪😉

---

<div class="post-metadata">

**Author:** ![davidkrogstrup](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/davidkrogstrup/32/1078_2.png) [@davidkrogstrup](https://community.piwik.pro/u/davidkrogstrup)\
**Post date:** [April 20, 2023, 8:11am UTC](https://community.piwik.pro/t/gtm-tag-template-for-custom-events-and-goals/1435/4 "2023-04-20T08:11:45Z")

</div>

Hi @mbaersch

Do you know when the new version of the Piwik Pro GTM tag template is expected to be released?

As I doing more and more Piwik Pro setups via GTM, it would be really cool to be able to send custom events without having to use javascript.

---

<div class="post-metadata">

**Author:** ![mbaersch](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/mbaersch/32/35_2.png) [@mbaersch](https://community.piwik.pro/u/mbaersch)\
**Post date:** [April 20, 2023, 9:26am UTC](https://community.piwik.pro/t/gtm-tag-template-for-custom-events-and-goals/1435/5 "2023-04-20T09:26:16Z")

</div>

Sorry, I have no idea if and when my fork will be added to the main branch.

---

<div class="post-metadata">

**Author:** ![davidkrogstrup](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/davidkrogstrup/32/1078_2.png) [@davidkrogstrup](https://community.piwik.pro/u/davidkrogstrup)\
**Post date:** [April 20, 2023, 9:57am UTC](https://community.piwik.pro/t/gtm-tag-template-for-custom-events-and-goals/1435/6 "2023-04-20T09:57:07Z")

</div>

@kuba Can you help me out with an answer here? 🙂
