# Form submission tracking

**URL:** <https://community.piwik.pro/t/form-submission-tracking/2188>\
**Category:** Data collection and tags\
**Created:** [May 10, 2023, 2:05pm UTC](https://community.piwik.pro/t/form-submission-tracking/2188 "2023-05-10T14:05:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgoasduff](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/cgoasduff/32/1755_2.png) [@cgoasduff](https://community.piwik.pro/u/cgoasduff)\
**Post date:** [May 10, 2023, 2:05pm UTC](https://community.piwik.pro/t/form-submission-tracking/2188/1 "2023-05-10T14:05:06Z")

</div>

I have another question I am afraid…I am converting my GTM tags to send data to PiwikPro (instead of GA3) so I can reuse all the triggers already created.

I have a form submission that triggers a PiwikPro Event.

The trigger works and fire both tags (the GA one and the PWP one) however no data is sent to PWP - The variables are the same one used by the GA3 tags and the data goes to GA3 without any problem. I paused the GA tag just in case it was interfering but this doesn’t solve the issue.

I checked the tracker debugger and ppms.php in Network tab and I cannot see any PiwikPro events

Does anyone have any idea please any chance please? Thanks!

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

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

---

<div class="post-metadata">

**Author:** ![Jakub\_Fidala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jakub_fidala/32/1675_2.png) [@Jakub\_Fidala](https://community.piwik.pro/u/Jakub_Fidala)\
**Post date:** [May 10, 2023, 5:09pm UTC](https://community.piwik.pro/t/form-submission-tracking/2188/2 "2023-05-10T17:09:06Z")

</div>

Did you check if page view tag is loading before that event? Or is it just missing variables?

---

<div class="post-metadata">

**Author:** ![cgoasduff](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/cgoasduff/32/1755_2.png) [@cgoasduff](https://community.piwik.pro/u/cgoasduff)\
**Post date:** [May 10, 2023, 5:23pm UTC](https://community.piwik.pro/t/form-submission-tracking/2188/3 "2023-05-10T17:23:02Z")

</div>

Hi Jakub,

In the GTM debugger, I can see that the base PiwikPro code is loaded and a pageview is sent for “contact page”.

Then I fill and submit the form, GTM display a “stg.formSubmit” event (which must be PiwikPro)

The Contact page reloads, loads the PiwikPro script during “Container Loaded”, then the form\_submission event appears which launches the Piwik custom event. However no data is sent.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/d/dc508f5f3714dae0f7a68aa20d86680e3d6f0e83.jpeg)

Thanks

---

<div class="post-metadata">

**Author:** ![cgoasduff](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/cgoasduff/32/1755_2.png) [@cgoasduff](https://community.piwik.pro/u/cgoasduff)\
**Post date:** [May 10, 2023, 5:54pm UTC](https://community.piwik.pro/t/form-submission-tracking/2188/4 "2023-05-10T17:54:43Z")

</div>

This was a timing issue. The script didn’t have the time to be fully loaded that I was trying to send an event. Having a trigger group combining the form\_submit + a slight delay fixed it. Thanks!

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/3/3e45823f450e45ba59ee22c29d34e914c7c4abc0.jpeg)

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