# Usage of variable in custom js variable

**URL:** <https://community.piwik.pro/t/usage-of-variable-in-custom-js-variable/592>\
**Category:** Request a feature & Roadmap\
**Created:** [April 14, 2022, 5:08pm UTC](https://community.piwik.pro/t/usage-of-variable-in-custom-js-variable/592 "2022-04-14T17:08:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![geoff](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@geoff](https://community.piwik.pro/u/geoff)\
**Post date:** [April 14, 2022, 5:08pm UTC](https://community.piwik.pro/t/usage-of-variable-in-custom-js-variable/592/1 "2022-04-14T17:08:26Z")

</div>

Hello,

It would be powerful to be able to use variable in custom JS variable.  
Do you plan adding this feature soon?

Thank you for your help 🙂  
Geoff.

---

<div class="post-metadata">

**Author:** ![Admin](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Admin](https://community.piwik.pro/u/Admin)\
**Post date:** [April 14, 2022, 9:34pm UTC](https://community.piwik.pro/t/usage-of-variable-in-custom-js-variable/592/2 "2022-04-14T21:34:56Z")

</div>

Hi there,

good timing here as it’s one of the features we’ll be working on. You can expect it this summer. 🙂

---

<div class="post-metadata">

**Author:** ![geoff](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@geoff](https://community.piwik.pro/u/geoff)\
**Post date:** [May 4, 2022, 2:08pm UTC](https://community.piwik.pro/t/usage-of-variable-in-custom-js-variable/592/3 "2022-05-04T14:08:20Z")

</div>

Hello Kuba,

Thank you for your feedback. I’m looking forward to this feature!

Regards,  
Geoff.

---

<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:** [December 7, 2022, 2:31pm UTC](https://community.piwik.pro/t/usage-of-variable-in-custom-js-variable/592/4 "2022-12-07T14:31:51Z")

</div>

Hi,

using variable inside another variable (custom JS as well) was released in 16.30.0 version.
