> Site index: https://usehardal.com/llms.txt
> Every content route also serves markdown at <url>.md

# How to use Hardal Signal Unity SDK

Explore how to use Hardal Signal Unity SDK to track game events.

Source: https://usehardal.com/how-to-use-hardal-signal-unity-sdk
Published: 2025-02-12
Updated: 2025-02-12
Author: Mert Enercan

---

Greetings, mighty internet!

Let’s talk about our fresh product: Hardal Signal Unity SDK

Hardal Signal Unity SDK is a lightweight and easy-to-use tool for Unity projects, allowing developers to track game events seamlessly. This guide will walk you through the installation, setup, and usage of the SDK.

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/nu3snfstsw4xi5finhya.png)

Let’s create a boilerplate Unity 2D game and implement Hardal Signal SDK to it step by step. From **learning **section, i’ll be selecting **2D Platformer Microgame.**

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/rsmuels1mpy8w9h2eniw.png)

Navigating to **Window ->** **Package** **Manager**

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/acroyhvzgqikr0myadon.png)

This will open a popup. All i need to do is copy Hardal Signal Unity SDK git repository URL and paste it to the input that stays in **Install package from git URL** option.
>  [https://github.com/usehardal/unity-sdk.git](https://github.com/usehardal/unity-sdk.git)

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/q37s0b2qd4wpxia22avn.png)

You’ll be able to see that Hardal package is successfully installed and ready to go!

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/llmpt94cuuamndg56jvo.png)

Let’s send our first event. I’ll be triggering event every time when player dies. First, i need to initialize hardal sdk. Let’s do it by **right click at the** **scene -> select Hardal -> Create Hardal Manager **and replace placeholder domain at the **Hardal Manager** script with my own Hardal Signal domain.

*HardalManager will automatically manage initializing the sdk*

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/ljhyudbzsml5lifc230c.png)

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/blcx3wvpflaobe88c0mw.png)

Now it’s time to implement our tracking code. It’ll be inside of PlayerDeath script file so lets do it. *You can check technical documentation from repository itself!*

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/k7ixhdpz56pwopfx0e3e.png)

And if you enable Debug option, you’ll start to see event flow from console!

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/tcfmrqdm2bywpeju9tf9.png)

Finally, i can confirm that events are successfully landing via Hardal Analytics Dashboard!

![](https://imge.usehardal.com/cdn/post-contents/how-to-use-hardal-signal-unity-sdk/wzpbfo3aopjga8k4czsl.png)

So with that being said, it’s time to go. I hope this one helps you to measure your Game Analytics.

Cya.
