# Accessing experience page tags

**URL:** <https://forums.losant.com/t/accessing-experience-page-tags/4679>\
**Category:** Help\
**Tags:** experience\
**Created:** [August 5, 2022, 9:56am UTC](https://forums.losant.com/t/accessing-experience-page-tags/4679 "2022-08-05T09:56:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Huckfeldt](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@Paul\_Huckfeldt](https://forums.losant.com/u/Paul_Huckfeldt)\
**Post date:** [August 5, 2022, 9:56am UTC](https://forums.losant.com/t/accessing-experience-page-tags/4679/1 "2022-08-05T09:56:02Z")

</div>

Hi,  
I would like to access information in a layout, which is defined in the Tags of the Experience page.

Example:1. Key value pair is defined in Tags of an experience page

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/0/083062153ede5dd443aefe859f5eeb20ccafe21d.png)

→ How do I access the content of the tags in html ( I did guess that analog to {{ experience.page.name }} i might be {{ experience.page.tags.pageName }}, but that did not work)

---

<div class="post-metadata">

**Author:** ![Paul\_Huckfeldt](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@Paul\_Huckfeldt](https://forums.losant.com/u/Paul_Huckfeldt)\
**Post date:** [August 5, 2022, 11:10am UTC](https://forums.losant.com/t/accessing-experience-page-tags/4679/2 "2022-08-05T11:10:59Z")

</div>

I found it by inspecting:  
Use

```
{{ jsonEncode . }}
```

There I found the “viewTags”, which reffer to the Experience View Tags

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [August 5, 2022, 12:20pm UTC](https://forums.losant.com/t/accessing-experience-page-tags/4679/3 "2022-08-05T12:20:06Z")

</div>

Glad to hear you found it; I’ve used that same `{{jsonEncode .}}` trick before to find properties in the `pageData` portion of the render context.

Here’s another trick that will help you find values in that default render context: At the top of the “Content” tab in a view editor, click the “View Example Context” link, and that will open a modal with a collapsible JSON tree showing a sample object that fits the shape of what is exposed to pages and layouts.

 ![Screen Shot 2022-08-05 at 8.16.49 AM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/7/7f53e52bf543756fb2ceb3c0b4c20dda923ca339.png)

 ![Screen Shot 2022-08-05 at 8.16.58 AM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/7/7225c06b1a8fa168a1e0c0c293ab99cc991a5f9a.png)
