# Rename custom variable

**URL:** <https://community.piwik.pro/t/rename-custom-variable/1248>\
**Category:** Request a feature & Roadmap\
**Created:** [November 10, 2022, 2:47pm UTC](https://community.piwik.pro/t/rename-custom-variable/1248 "2022-11-10T14:47:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmeekers](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/rmeekers/32/929_2.png) [@rmeekers](https://community.piwik.pro/u/rmeekers)\
**Post date:** [November 10, 2022, 2:47pm UTC](https://community.piwik.pro/t/rename-custom-variable/1248/1 "2022-11-10T14:47:51Z")

</div>

When I rename a variable, I’d like it to be automatically renamed everywhere it’s used.  
That’s not the case right now and a pain in the ass when renaming variables. It makes it actually impossible to rename…

---

<div class="post-metadata">

**Author:** ![Jarek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jarek/32/4408_2.png) [@Jarek](https://community.piwik.pro/u/Jarek)\
**Post date:** [November 10, 2022, 3:50pm UTC](https://community.piwik.pro/t/rename-custom-variable/1248/2 "2022-11-10T15:50:48Z")

</div>

What do you mean exactly by renaming the variable? Is it tracking the variable under the new key? Or something else?

---

<div class="post-metadata">

**Author:** ![rmeekers](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/rmeekers/32/929_2.png) [@rmeekers](https://community.piwik.pro/u/rmeekers)\
**Post date:** [November 10, 2022, 3:58pm UTC](https://community.piwik.pro/t/rename-custom-variable/1248/3 "2022-11-10T15:58:20Z")

</div>

I mean this:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/1X/50d65af96ddc1da919a024c5e2cdb6da4106f8ff.png)

Original state:

- name: `profileID`
- usage in other tags or variables: `{{ profileID }}`

Then I rename it to `somethingElse` but in the tags and variables where it is used there is still a reference to `{{ profileID }}` where I would like it to change automatically to `{{ somethingElse }}`

---

<div class="post-metadata">

**Author:** ![Mikko\_Piippo](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/mikko_piippo/32/270_2.png) [@Mikko\_Piippo](https://community.piwik.pro/u/Mikko_Piippo)\
**Post date:** [November 24, 2022, 12:14pm UTC](https://community.piwik.pro/t/rename-custom-variable/1248/4 "2022-11-24T12:14:39Z")

</div>

Also I have found this extremely annoying.
