# Piwik Integration with WordPress for ECommerce

**URL:** <https://community.piwik.pro/t/piwik-integration-with-wordpress-for-ecommerce/213>\
**Category:** Reports and working with data\
**Created:** [July 22, 2021, 7:02am UTC](https://community.piwik.pro/t/piwik-integration-with-wordpress-for-ecommerce/213 "2021-07-22T07:02:39Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Mihir\_Jadi](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/mihir_jadi/32/88_2.png) [@Mihir\_Jadi](https://community.piwik.pro/u/Mihir_Jadi)\
**Post date:** [July 28, 2021, 5:22am UTC](https://community.piwik.pro/t/piwik-integration-with-wordpress-for-ecommerce/213/6 "2021-07-28T05:22:12Z")

</div>

Hi @pslonina 🙂

I want to send dynamic data to piwik server.  
I followed the documentation regarding it, but didn’t get clear idea, here is the documentation which I am following:

> [@How to set up ecommerce tracking?](https://community.piwik.pro/t/how-to-set-up-ecommerce-tracking/79/2):
>
> The recommended solution for ecommerce is to use [dataLayer](https://help.piwik.pro/support/tag-manager/create-a-data-layer/) along with custom tags in the Tag Manager module. Data layer requirements Create a data layer. We strongly recommend pasting the data layer snippet before the Piwik PRO container code (in section). \<script\>window.dataLayer = window.dataLayer || [];\</script\> Make sure that the object describing the cart is posted within a single data layer event every time an ecommerce cart is being updated. The object should contain the following se…

Here are my few queries on it:

1. Which type of Tag and Trigger should be made on Piwik Pro → Tag Manager, and how can I define action event on it.
2. After creating the Tag how can we pass dynamic data from our Website to Piwik Pro for analytics.

So, can you please give a clear flow on it ?

Regards,  
Mihir

---

_[View the full topic](https://community.piwik.pro/t/piwik-integration-with-wordpress-for-ecommerce/213)._
