# Deposit data layer

**URL:** <https://community.piwik.pro/t/deposit-data-layer/3858>\
**Category:** Data collection and tags\
**Created:** [April 5, 2024, 11:38am UTC](https://community.piwik.pro/t/deposit-data-layer/3858 "2024-04-05T11:38:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vladys](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@vladys](https://community.piwik.pro/u/vladys)\
**Post date:** [April 5, 2024, 11:38am UTC](https://community.piwik.pro/t/deposit-data-layer/3858/1 "2024-04-05T11:38:11Z")

</div>

Hello,

I am trying to track the deposits - Transaction ID and the value to it.

I have added this data layer:

```auto
<script>
    window.dataLayer = window.dataLayer || [];
    dataLayer.push({
      event: 'depositoPlay',
      value: $v_amount,
      transactionId: $v_transactionId,
    });
</script>

```

On Piwik I have added Variables on Tag Manager.

Created a Tag - Goal Conversion -

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

Added a trigger to this tag - Data Layer Event with the name of the event.

Added Custom Dimensions as well:

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

And If I go to Reports - Custom Dimensions, adding a second dimension - Value

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

Every row has a value

But in Sum of Goal Revenue Column, it says No data for some of the rows. Not for all of them.

I Can’t find out why it is happening - if it has a value and it should be displayed in Sum of Goal Revenue Column

---

<div class="post-metadata">

**Author:** ![anthonybartczak](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/anthonybartczak/32/2430_2.png) [@anthonybartczak](https://community.piwik.pro/u/anthonybartczak)\
**Post date:** [April 6, 2024, 7:06am UTC](https://community.piwik.pro/t/deposit-data-layer/3858/2 "2024-04-06T07:06:07Z")

</div>

Hi @vladys,

`No data` in most cases either means that the dimension was not tracked at all or you have added `undefined` as a value.

Since `v_amount` is added dynamically - maybe it’s possible to check what values were supposed to be pushed based on transaction ID?

---

<div class="post-metadata">

**Author:** ![vladys](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@vladys](https://community.piwik.pro/u/vladys)\
**Post date:** [April 8, 2024, 10:41am UTC](https://community.piwik.pro/t/deposit-data-layer/3858/3 "2024-04-08T10:41:02Z")

</div>

Thank you for your reply.

I already have a value that should be in sum, but it is not passing the data to the sum of goal revenue.

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

---

<div class="post-metadata">

**Author:** ![vladys](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@vladys](https://community.piwik.pro/u/vladys)\
**Post date:** [April 8, 2024, 10:59am UTC](https://community.piwik.pro/t/deposit-data-layer/3858/4 "2024-04-08T10:59:41Z")

</div>

I found out that the first deposit in the session is passing the revenue and the next ones in the same session are not passing it

---

<div class="post-metadata">

**Author:** ![anthonybartczak](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/anthonybartczak/32/2430_2.png) [@anthonybartczak](https://community.piwik.pro/u/anthonybartczak)\
**Post date:** [April 8, 2024, 11:01am UTC](https://community.piwik.pro/t/deposit-data-layer/3858/5 "2024-04-08T11:01:07Z")

</div>

Ah, you are right - sorry, didn’t see that value and revenue are picked up from the same variable. Let me take a closer look then 🙂 .
