This query counts how many contacts came from each source.
SELECT source
, count(contact_id) count_contacts
FROM hubspot_contacts_consolidated
GROUP BY 1
ORDER BY 2 DESC;
Column | Description |
---|---|
source |
The source from which the contacts came. |
count_contacts |
The number of Hubspot contacts that fall into the source groupings. |