Add and manage properties
Properties
Marketing analytics relies on data about customer behaviour. This can include how a customer finds you, e.g. through a campaign, and what a customer does when they interact. Kinde allows you to pass marketing tag data in tokens, and store it as properties in Kinde. From here, you can extrapolate campaign success and other metrics you wish to track.
Out of the box Kinde gives you 3 categories containing marketing properties which are available at both an organization and user level:
Contains the following properties:
utm_source
utm_medium
utm_campaign
utm_content
utm_term
Contains the following properties:
gclid
click_id
hsa_acc
hsa_cam
hsa_grp
hsa_ad
hsa_src
hsa_tgt
hsa_kw
hsa_mt
hsa_net
hsa_ver
Contains the following properties:
match_type
keyword
device
ad_group_id
campaign_id
creative
network
ad_position
fbclid
li_fat_id
msclkid
twclid
ttclid
There are a few mechanisms for updating these property values in Kinde.
This is the most common method. For example, if you want to pass in the UTM source, you just need to forward the utm_source
query parameter as part of the sign up flow authentication url. Most of our SDKs allow you to pass this in via additional URL params.
For example in the React SDK:
<RegisterLink className="btn btn-dark" authUrlParams={{ utm_source: "my source", utm_medium: "some medium", utm_campaign: "awesome campaing", utm_content: "something else", utm_term: "my terms", click_id: "1234",}}>Register</RegisterLink>
We automatically map the standard query parameters to the specific Kinde properties for you. For example utm_source
URL param will be mapped to the kp_usr_utm_source
Kinde parameter for a user and kp_org_utm_source
for an organization. We map these automatically so that you do not need to make changes to the parameters in your code.
The property values are set during the sign up flow for new users and at the point of organization creation for new organizations.
kp_usr_
as a prefix to the standard tag key.kp_org_
as a prefix to the standard tag key.Likely you will want to see which tags are converting into sign ups and are performing well. For this, you can use the User search API to return all users that match a specific property value. For example, if you wanted to see all users who signed up with a UTM source of “Hello” and a UTM campaign of “World” you could use this query:
/api/v1/search/users?query=properties[kp_usr_utm_source]=Hello&properties[kp_usr_campaign]=World
The search organizations API is coming soon.