# Need help to create Piwik Pro Tag following a GA4 Example

**URL:** <https://community.piwik.pro/t/need-help-to-create-piwik-pro-tag-following-a-ga4-example/4571>\
**Category:** Data collection and tags\
**Created:** [October 22, 2024, 7:11pm UTC](https://community.piwik.pro/t/need-help-to-create-piwik-pro-tag-following-a-ga4-example/4571 "2024-10-22T19:11:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Culbertson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/david_culbertson/32/1479_2.png) [@David\_Culbertson](https://community.piwik.pro/u/David_Culbertson)\
**Post date:** [October 22, 2024, 7:11pm UTC](https://community.piwik.pro/t/need-help-to-create-piwik-pro-tag-following-a-ga4-example/4571/1 "2024-10-22T19:11:10Z")

</div>

Hi Community,

Please see the following help article:

[https://support.mindbodyonline.com/s/article/How-to-track-E-commerce-purchases-with-Google-Tag-Manager](https://support.mindbodyonline.com/s/article/How-to-track-E-commerce-purchases-with-Google-Tag-Manager)

For the “create a tag step” can any provide me direction on how to achieve the same thing for PP using custom html? I’d also be happy to just trigger an event (which I can goal tracking for) instead of full blown ecommerce.

---

<div class="post-metadata">

**Author:** ![Maciej\_Kowcun](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/maciej_kowcun/32/787_2.png) [@Maciej\_Kowcun](https://community.piwik.pro/u/Maciej_Kowcun)\
**Post date:** [October 23, 2024, 8:00am UTC](https://community.piwik.pro/t/need-help-to-create-piwik-pro-tag-following-a-ga4-example/4571/2 "2024-10-23T08:00:26Z")

</div>

Hi @David_Culbertson ,

Have you tried using the dedicated “[Ecommerce order](https://help.piwik.pro/support/tag-manager/ecommerce-order-tag/)” tag? Why are you trying to use custom HTML?

---

<div class="post-metadata">

**Author:** ![David\_Culbertson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/david_culbertson/32/1479_2.png) [@David\_Culbertson](https://community.piwik.pro/u/David_Culbertson)\
**Post date:** [October 23, 2024, 10:51am UTC](https://community.piwik.pro/t/need-help-to-create-piwik-pro-tag-following-a-ga4-example/4571/3 "2024-10-23T10:51:06Z")

</div>

Because I’m using google tag manager for this particular site since it’s built into the backend.

---

<div class="post-metadata">

**Author:** ![David\_Culbertson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/david_culbertson/32/1479_2.png) [@David\_Culbertson](https://community.piwik.pro/u/David_Culbertson)\
**Post date:** [October 23, 2024, 5:12pm UTC](https://community.piwik.pro/t/need-help-to-create-piwik-pro-tag-following-a-ga4-example/4571/4 "2024-10-23T17:12:34Z")

</div>

@Maciej_Kowcun,

Can I run the Piwik Pro tag through GTM (firing on all pages) then use tags in the PP tag manager to match what the help article says to do in GTM?

---

<div class="post-metadata">

**Author:** ![Maciej\_Kowcun](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/maciej_kowcun/32/787_2.png) [@Maciej\_Kowcun](https://community.piwik.pro/u/Maciej_Kowcun)\
**Post date:** [October 24, 2024, 11:11am UTC](https://community.piwik.pro/t/need-help-to-create-piwik-pro-tag-following-a-ga4-example/4571/5 "2024-10-24T11:11:07Z")

</div>

If you add the Piwik PRO tracking tag in GTM and limit PP TM to track only e-commerce events, the setup will not function correctly.

The simplest solution is to configure TM to track all events.

If you want to track e-commerce events through GTM, the only option is to use custom HTML. Below are some resources that might be helpful.

[API](https://developers.piwik.pro/en/latest/data_collection/web/javascript_tracking_client/api.html#e-commerce-v2)  
[Solution templates](https://piwikpro.github.io/solutions-templates/)

---

<div class="post-metadata">

**Author:** ![David\_Culbertson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/david_culbertson/32/1479_2.png) [@David\_Culbertson](https://community.piwik.pro/u/David_Culbertson)\
**Post date:** [October 29, 2024, 3:44pm UTC](https://community.piwik.pro/t/need-help-to-create-piwik-pro-tag-following-a-ga4-example/4571/6 "2024-10-29T15:44:29Z")

</div>

@Maciej_Kowcun,

Thanks for the advice. As it turned out, I was able to set up goal tracking because mindbody allows for adding GTM to the site through which we fire the PP tag. And, thanks to PP’s cross-domain tracking, we’re getting “thank you” page data.
