# How to give every person who fills one of our forms a Unique ID / "External ID"?

**URL:** <https://community.gravityforms.com/t/how-to-give-every-person-who-fills-one-of-our-forms-a-unique-id-external-id/8657>\
**Category:** Get Help\
**Tags:** gravity-wiz, unique-id, external-id, facebook, gravity-flow\
**Created:** [April 11, 2021, 2:48pm UTC](https://community.gravityforms.com/t/how-to-give-every-person-who-fills-one-of-our-forms-a-unique-id-external-id/8657 "2021-04-11T14:48:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5dcdecd7d0505094](https://avatars.discourse-cdn.com/v4/letter/u/c67d28/32.png) [@user5dcdecd7d0505094](https://community.gravityforms.com/u/user5dcdecd7d0505094)\
**Post date:** [April 11, 2021, 2:48pm UTC](https://community.gravityforms.com/t/how-to-give-every-person-who-fills-one-of-our-forms-a-unique-id-external-id/8657/1 "2021-04-11T14:48:59Z")

</div>

When a new person fills out one of our forms, we want them to be assigned a unique id on our Wordpress site that would ideally follow them if they fill out another form in the future – identifiable by their name, phone number, business name, and/or email address

The rationale here is that Facebook has begun incentivizing the provision of an “External ID” - our own unique identifier of each lead we get. The only problem is that we have nothing like that, except for the “Entry ID” that GF gives each form entry.

I’m guessing it may require other plugins besides Gravity Forms, but how can you do this in Wordpress for your Gravity Forms leads?

---

<div class="post-metadata">

**Author:** ![user5c0166073a6c48.6](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user5c0166073a6c48.6/32/17391_2.png) [@user5c0166073a6c48.6](https://community.gravityforms.com/u/user5c0166073a6c48.6)\
**Post date:** [April 11, 2021, 11:39pm UTC](https://community.gravityforms.com/t/how-to-give-every-person-who-fills-one-of-our-forms-a-unique-id-external-id/8657/2 "2021-04-11T23:39:41Z")

</div>

I think [Gravity Wiz](https://gravitywiz.com/documentation/gravity-forms-unique-id/) offers exactly what you’re needing.

---

<div class="post-metadata">

**Author:** ![JamieO](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/jamieo/32/2521_2.png) [@JamieO](https://community.gravityforms.com/u/JamieO)\
**Post date:** [April 14, 2021, 1:58am UTC](https://community.gravityforms.com/t/how-to-give-every-person-who-fills-one-of-our-forms-a-unique-id-external-id/8657/3 "2021-04-14T01:58:21Z")

</div>

> [@user5dcdecd7d0505094](#):
>
> I’m guessing it may require other plugins besides Gravity Forms, but how can you do this in Wordpress for your Gravity Forms leads?

The Gravity Wiz perk for unique ID which Dere links to is definitely a solid piece of your potential solution. Have you figured out where/how you would store the ID? Perhaps as a part of the user meta where either the [User Registration add-on](https://www.gravityforms.com/add-ons/user-registration/) would let you store it when registering the new users?

That could lead to a method to use [hooks to populate a different field for tracking with existing users](https://docs.gravityforms.com/using-dynamic-population/#hooks) since the ID values being stored would then effectively no longer be unique (user submits same form multiple times).

If you are trying to apply a similar solution for existing users - you may want to look at the [Gravity Flow Update User step](https://docs.gravityflow.io/article/260-update-user-step) to add IDs to existing users. Along with conditional logic to determine if the step should occur (or [gravityflow\_step\_is\_condition\_met for code based determination](https://docs.gravityflow.io/article/283-gravityflowstepisconditionmet) would let you ensure the updates only occur when intended.

Regards,  
Jamie

---

<div class="post-metadata">

**Author:** ![user5dcdecd7d0505094](https://avatars.discourse-cdn.com/v4/letter/u/c67d28/32.png) [@user5dcdecd7d0505094](https://community.gravityforms.com/u/user5dcdecd7d0505094)\
**Post date:** [April 15, 2021, 12:24am UTC](https://community.gravityforms.com/t/how-to-give-every-person-who-fills-one-of-our-forms-a-unique-id-external-id/8657/4 "2021-04-15T00:24:23Z")

</div>

Thanks for the recommendation! I’ll check it out.

---

<div class="post-metadata">

**Author:** ![user5dcdecd7d0505094](https://avatars.discourse-cdn.com/v4/letter/u/c67d28/32.png) [@user5dcdecd7d0505094](https://community.gravityforms.com/u/user5dcdecd7d0505094)\
**Post date:** [April 15, 2021, 12:37am UTC](https://community.gravityforms.com/t/how-to-give-every-person-who-fills-one-of-our-forms-a-unique-id-external-id/8657/5 "2021-04-15T00:37:25Z")

</div>

Haven’t yet considered where to store the ID yet, pretty much figured I’d look for that in whatever the solution is. Thanks for pointing out the User Registration add-on.

Sounds like it’ll be a little more complicated than I’d hoped, but I think it’s important so I guess I have some more research to do.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 5, 2022, 8:38am UTC](https://community.gravityforms.com/t/how-to-give-every-person-who-fills-one-of-our-forms-a-unique-id-external-id/8657/6 "2022-01-05T08:38:52Z")

</div>


