Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Some segmenting fields are not documented #5820

Closed
Jericho opened this issue Feb 22, 2020 · 2 comments · Fixed by #6169
Closed

Some segmenting fields are not documented #5820

Jericho opened this issue Feb 22, 2020 · 2 comments · Fixed by #6169

Comments

@Jericho
Copy link
Contributor

Jericho commented Feb 22, 2020

The recently published segmentation query language reference contains a list of 10 fields that we can use for segmentation purposes such as email, first_name, city, postal_code, etc. However, if you scroll the page down a little bit you will see a few sample queries that use fields that were not listed. Here is an example of one such sample query:

(event_source = 'mail' AND event_type = 'delivered' AND event_timestamp >= (NOW() - interval 10 day))

As you can see, this sample references the event_source and the event_type fields which are not documented. This leads me to conclude that there are probably other fields that are available for segmenting purposes but not documented.

Would it be possible to get an exhaustive list of all the fields that are available when segmenting our contacts?

Expected content

The full list of fields that we can use to segment contacts.

Actual content

A partial list of 10 fields (probably these are the most commonly used, but certainly not an exhaustive list).

Link to page:
https://sendgrid.com/docs/for-developers/sending-email/segmentation-query-language/#fields

@wadec9n
Copy link

wadec9n commented Feb 25, 2020

Hi @Jericho
Thank you for bringing this to our attention. We will update the docs to reflect an accurate list of fields soon.

@wadec9n
Copy link

wadec9n commented Aug 6, 2020

Hi @Jericho thank you for your patience. We know you submitted this some time ago. We are about to push a PR up with a comprehensive list of the available fields. Thank you for bringing it to our attention.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants