# track button clicks in the WEB browser

**URL:** <https://forums.unrealengine.com/t/track-button-clicks-in-the-web-browser/1160963>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, web-browser, Widget, Blueprint, question\
**Created:** [May 10, 2023, 5:08am UTC](https://forums.unrealengine.com/t/track-button-clicks-in-the-web-browser/1160963 "2023-05-10T05:08:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvg\_x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bvg\_x](https://forums.unrealengine.com/u/bvg_x)\
**Post date:** [May 10, 2023, 5:08am UTC](https://forums.unrealengine.com/t/track-button-clicks-in-the-web-browser/1160963/1 "2023-05-10T05:08:48Z")

</div>

Is it possible to track button clicks in the web-browser? the menu is made in the browser and I want to transfer the button click to unreal. In this topic, there is a way to add certain code to the browser using javascript. Is it possible to track button click events? Thanks

> [@In the Unreal Four Engine, when using the "Web Browser" plugin, you need to make the web page transparent.](https://forums.unrealengine.com/t/in-the-unreal-four-engine-when-using-the-web-browser-plugin-you-need-to-make-the-web-page-transparent/456912):
>
> In the Unreal Four engine, when using the “web browser” plugin, you need to make the webpage transparent. When I check “Support Transparency”, it is not transparent. I don’t understand. Is there a special color that will make it transparent or how? Can the web page be transparent? thank you very much

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [May 10, 2023, 6:43am UTC](https://forums.unrealengine.com/t/track-button-clicks-in-the-web-browser/1160963/2 "2023-05-10T06:43:18Z")

</div>

Hey, yes this is possible but with the limited information you have provided it’s difficult to determine the correct approach.

I think you will need a plugin for handling post and get requests or just a general http plugin with nodes to interact with external websites.

You can use a tick event and listen for a change on a website or build a better solution using **[event dispatcher](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/Blueprints/UserGuide/EventDispatcher/)**. If you can setup a socket and listen for a socket change on either an UDP or TCP connection, it should resolve quite easily. I think a socket solution is an approach that is reasonably optimized.

---

<div class="post-metadata">

**Author:** ![bvg\_x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bvg\_x](https://forums.unrealengine.com/u/bvg_x)\
**Post date:** [May 10, 2023, 8:47pm UTC](https://forums.unrealengine.com/t/track-button-clicks-in-the-web-browser/1160963/3 "2023-05-10T20:47:03Z")

</div>

I don’t quite understand how to implement this. Let’s say there is a site [google.com](http://google.com), which is displayed in the web-browser. How can I make the light turn on when I press the search button?

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [May 11, 2023, 3:54pm UTC](https://forums.unrealengine.com/t/track-button-clicks-in-the-web-browser/1160963/4 "2023-05-11T15:54:13Z")

</div>

Have you done some programming in JavaScript before?
