# Send game score to calling site

**URL:** https://forum.makecode.com/t/send-game-score-to-calling-site/28192
**Category:** Help
**Created:** [April 11, 2024, 4:45pm UTC](https://forum.makecode.com/t/send-game-score-to-calling-site/28192 "2024-04-11T16:45:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Selva](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@Selva](https://forum.makecode.com/u/Selva)
#### Post date: [April 11, 2024, 4:45pm UTC](https://forum.makecode.com/t/send-game-score-to-calling-site/28192/1 "2024-04-11T16:45:26Z")

</div>

I am trying to create games using Makecode and planning to call them through my site.  
While opening a particular game created by me using Makecode, I want to push an additional unique identifier apart from the game code to track the score for the unique identifier.  
We are not sure how to handle this in Makecode. Please help me with the possible ways to handle this request.

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [April 11, 2024, 6:18pm UTC](https://forum.makecode.com/t/send-game-score-to-calling-site/28192/2 "2024-04-11T18:18:25Z")

</div>

Sending simulator messages (such as when the user wins the game) to the outside of the iframe may be useful here:

> [@Extension to interact with the web in exported games](https://forum.makecode.com/t/extension-to-interact-with-the-web-in-exported-games/4262):
>
> Let’s start with the demo: an exported Arcade game that opens a new browser tab. In general, Arcade games are completely sandboxed… So how can we open a new tab? Let’s take a look. The control.simmessages is a new API added in Arcade to support the JACDAC simulator… but you can use it too in GitHub Pages. simmessages allow to send or receive a data payload to the hosting iframe of the simulator (those messages are ignored on hardware). In [arcade.makecode.com](http://arcade.makecode.com), you are not allowed to inject c…
