# JavaScript API function?

**URL:** <https://forum.mautic.org/t/javascript-api-function/11416>\
**Category:** Product Support\
**Created:** [October 17, 2019, 8:44pm UTC](https://forum.mautic.org/t/javascript-api-function/11416 "2019-10-17T20:44:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![glennblues](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/glennblues/32/929_2.png) [@glennblues](https://forum.mautic.org/u/glennblues)\
**Post date:** [October 17, 2019, 8:44pm UTC](https://forum.mautic.org/t/javascript-api-function/11416/1 "2019-10-17T20:44:16Z")

</div>

I’m interested in using Mautic for a project, but can’t find if a feature is available in the JS API.

I’m very interested in the dynamic content functionality, but am wondering if there is a way to block access to an entire page and show other content if the user doesn’t have a specific tag.

Basically the page would only ask Mautic if the user has a tag and then act appropriately client-side.

I don’t mind if there’s a big piece of JS I’d have to add to the relevant pages or even writing it myself. I’m just wondering if the functions to create such code exist.

Thanks!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 25, 2021, 8:52pm UTC](https://forum.mautic.org/t/javascript-api-function/11416/2 "2021-01-25T20:52:57Z")

</div>

Closed on January 25, 2021, 8:52pm UTC


