# Tracking viewers who are watching through twitch embed

**URL:** <https://discuss.dev.twitch.com/t/tracking-viewers-who-are-watching-through-twitch-embed/28879>\
**Category:** API\
**Created:** [November 2, 2020, 11:59pm UTC](https://discuss.dev.twitch.com/t/tracking-viewers-who-are-watching-through-twitch-embed/28879 "2020-11-02T23:59:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacob\_temple](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/jacob_temple/32/10613_2.png) [@jacob\_temple](https://discuss.dev.twitch.com/u/jacob_temple)\
**Post date:** [November 2, 2020, 11:59pm UTC](https://discuss.dev.twitch.com/t/tracking-viewers-who-are-watching-through-twitch-embed/28879/1 "2020-11-02T23:59:43Z")

</div>

Is it possible to tell which viewers are watching directly through twitch and which viewers are watching through a twitch embed on a different app/website?

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [November 3, 2020, 12:51am UTC](https://discuss.dev.twitch.com/t/tracking-viewers-who-are-watching-through-twitch-embed/28879/2 "2020-11-03T00:51:04Z")

</div>

No, the Twitch API doesn’t give you the capability to track users viewership or where they’re viewing from.

---

<div class="post-metadata">

**Author:** ![jacob\_temple](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/jacob_temple/32/10613_2.png) [@jacob\_temple](https://discuss.dev.twitch.com/u/jacob_temple)\
**Post date:** [November 3, 2020, 1:36am UTC](https://discuss.dev.twitch.com/t/tracking-viewers-who-are-watching-through-twitch-embed/28879/3 "2020-11-03T01:36:26Z")

</div>

is there any other way not via the api to tell?

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [November 3, 2020, 7:46am UTC](https://discuss.dev.twitch.com/t/tracking-viewers-who-are-watching-through-twitch-embed/28879/4 "2020-11-03T07:46:45Z")

</div>

For privacy reasons a lot of data about a users viewership is not disclosed by Twitch.

If you want to track a user who is using an embed the only way to do so would be to have a login button on the site that has to be clicked before the embed is used, and then you could send data to your server when the user starts watching the embed (keep in mind this will also require a privacy policy, and everything else that’s required for legal compliance with privacy laws). This would only give you data on that 1 site that the embed is on though, you wouldn’t get data from embeds elsewhere.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [December 3, 2020, 7:46am UTC](https://discuss.dev.twitch.com/t/tracking-viewers-who-are-watching-through-twitch-embed/28879/5 "2020-12-03T07:46:54Z")

</div>

Closed on December 3, 2020, 7:46am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
