# New variable for tracking

**URL:** <https://community.piwik.pro/t/new-variable-for-tracking/2934>\
**Category:** Data collection and tags\
**Created:** [September 20, 2023, 7:02pm UTC](https://community.piwik.pro/t/new-variable-for-tracking/2934 "2023-09-20T19:02:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jurgen.vandevelde](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jurgen.vandevelde](https://community.piwik.pro/u/jurgen.vandevelde)\
**Post date:** [September 20, 2023, 7:02pm UTC](https://community.piwik.pro/t/new-variable-for-tracking/2934/1 "2023-09-20T19:02:37Z")

</div>

Question about adding a variable as Event Action. I see that this variable was measured upon triggering the Click Event. Can I use as a variable? How do I that? It doesn’t show in the list when adding the trigger?

 ![Scherm­afbeelding 2023-09-20 om 16.56.34](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/6/65cb1ad74f50fe46f7f06e623388e44e5b0a5336.png)

 ![Scherm­afbeelding 2023-09-20 om 21.02.04](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/6/6a8079fadb45e8c45120fd2497c133dc52f90393.png)

---

<div class="post-metadata">

**Author:** ![Adam](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/adam/32/1494_2.png) [@Adam](https://community.piwik.pro/u/Adam)\
**Post date:** [September 21, 2023, 11:09am UTC](https://community.piwik.pro/t/new-variable-for-tracking/2934/2 "2023-09-21T11:09:45Z")

</div>

Hi @jurgen.vandevelde,

Currently we don’t have page title as a built in variable. If you would like to have access to it, please create new variable and then you would be able to use it. Below is screenshot of how it should look like:

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

---

<div class="post-metadata">

**Author:** ![jurgen.vandevelde](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jurgen.vandevelde](https://community.piwik.pro/u/jurgen.vandevelde)\
**Post date:** [September 21, 2023, 11:37am UTC](https://community.piwik.pro/t/new-variable-for-tracking/2934/3 "2023-09-21T11:37:53Z")

</div>

Hi Adam

I added the variable ([Tag Manager](https://marlux-stradus.piwik.pro/tag/app/cfb842fa-8a37-401d-b354-32983623d456/variables/447ccf1e-4f4d-4551-8498-af3d33868002/edit)) and assigned it to the tag [Tag Manager](https://marlux-stradus.piwik.pro/tag/app/cfb842fa-8a37-401d-b354-32983623d456/tags/6c1e4fec-4597-4e65-9a03-4b018b371a8f/edit) but it doesn’t do anything.

Do I need more settings? (Totally new to this)

---

<div class="post-metadata">

**Author:** ![Adam](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/adam/32/1494_2.png) [@Adam](https://community.piwik.pro/u/Adam)\
**Post date:** [September 21, 2023, 12:40pm UTC](https://community.piwik.pro/t/new-variable-for-tracking/2934/4 "2023-09-21T12:40:48Z")

</div>

Hi @jurgen.vandevelde,

Now you should use this variable by typing {{ Page Title }} in the Custom Event parameter. For example like this:

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