# Tracking inbound affiliate referrals

**URL:** <https://community.glideapps.com/t/tracking-inbound-affiliate-referrals/10820>\
**Category:** Ask for Help\
**Created:** [June 13, 2020, 8:56pm UTC](https://community.glideapps.com/t/tracking-inbound-affiliate-referrals/10820 "2020-06-13T20:56:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![maschera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maschera/32/6730_2.png) [@maschera](https://community.glideapps.com/u/maschera)\
**Post date:** [June 13, 2020, 8:56pm UTC](https://community.glideapps.com/t/tracking-inbound-affiliate-referrals/10820/1 "2020-06-13T20:56:21Z")

</div>

I’m trying to reward every referrer that refers to my app based on an action that a user takes (e.g. purchases a product).

The only simple way to achieve this at the moment is to create specific coupon codes that the referrer will share with its users. Every time that a user purchases with that coupon code, I will recognize a fee to the referrer.

However, this approach poses a few challenges. What if the user lands to my app through the referrer but completes a purchase without the coupon code? I don’t want to be forced the use of coupon codes, as this might create checkout frictions.

Have you guys created a workflow that resonates with my use case?

---

<div class="post-metadata">

**Author:** ![SpyrosTsouk](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@SpyrosTsouk](https://community.glideapps.com/u/SpyrosTsouk)\
**Post date:** [February 15, 2021, 10:48am UTC](https://community.glideapps.com/t/tracking-inbound-affiliate-referrals/10820/2 "2021-02-15T10:48:15Z")

</div>

I’m very interested in this use case as well.

---

<div class="post-metadata">

**Author:** ![ThatGuyInArizona](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thatguyinarizona/32/12472_2.png) [@ThatGuyInArizona](https://community.glideapps.com/u/ThatGuyInArizona)\
**Post date:** [February 15, 2021, 4:48pm UTC](https://community.glideapps.com/t/tracking-inbound-affiliate-referrals/10820/3 "2021-02-15T16:48:01Z")

</div>

me as well

---

<div class="post-metadata">

**Author:** ![SpyrosTsouk](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@SpyrosTsouk](https://community.glideapps.com/u/SpyrosTsouk)\
**Post date:** [June 4, 2021, 9:40am UTC](https://community.glideapps.com/t/tracking-inbound-affiliate-referrals/10820/4 "2021-06-04T09:40:18Z")

</div>

Has anyone figured out a workaround on this?

---

<div class="post-metadata">

**Author:** ![Joe\_Gabriele](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joe_gabriele/32/57595_2.png) [@Joe\_Gabriele](https://community.glideapps.com/u/Joe_Gabriele)\
**Post date:** [June 4, 2021, 10:32am UTC](https://community.glideapps.com/t/tracking-inbound-affiliate-referrals/10820/5 "2021-06-04T10:32:54Z")

</div>

I haven’t. I use referral codes. I think most affiliate links use cookies to track. So unless we can create cookies, not sure how else to automatically apply a coupon code to a stranger.

Imo if you want a discount, entering a coupon code isnt a ton of friction for the buyer. Tons of established websites use coupon codes to track marketing campaigns.

---

<div class="post-metadata">

**Author:** ![SpyrosTsouk](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@SpyrosTsouk](https://community.glideapps.com/u/SpyrosTsouk)\
**Post date:** [June 4, 2021, 11:57am UTC](https://community.glideapps.com/t/tracking-inbound-affiliate-referrals/10820/6 "2021-06-04T11:57:03Z")

</div>

I was trying to use the UTM parameters of my links (QR code scans to be more specific), but I think it’s not possible to access this info and link it to a payment.

How do you implement coupon codes in Glide?

---

<div class="post-metadata">

**Author:** ![Joe\_Gabriele](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joe_gabriele/32/57595_2.png) [@Joe\_Gabriele](https://community.glideapps.com/u/Joe_Gabriele)\
**Post date:** [June 4, 2021, 3:28pm UTC](https://community.glideapps.com/t/tracking-inbound-affiliate-referrals/10820/7 "2021-06-04T15:28:00Z")

</div>

There might be a better way, but basically create a coupon code like “15OFF”, have a Coupon Column and provide a Text Entry Field where they can enter the code, which then writes to the Coupon Column. Then you can possibly do an IFT, where its if Coupon Column = 15OFF, THEN do Math (Price \* 1-15%) or something like that?

I dont have an ecommerce coupon, mines simply a payout per referrals in a given month.
