Overview: HubSpot Marketing Smart List Query Builder
The HubSpot Marketing Query Builder was built for the sole intention of improving our ability to pull Smart Lists into Databox. While it is a very simple Query Builder, you must understand how the “Data Choice” field works.
Please note that we can only start pulling in data from the day when the Smart List was created.
There are two ways you may want to track the contacts in your smart list:
- Total Values (Total Smart List Members) of contacts that are in your smart list during the specified date interval.
- Daily Values (Net New Smart List Members) of contacts added or deleted from your smart list during the specified date interval.
Skip contacts already in the smart list: Contacts added to the smart list prior to the custom query being created could skew new contact data. By selecting this option, you instruct the system to count only new contacts added to the smart list after the Custom Metric's create date.
Here’s an example. Suppose it’s July and you’re focused on a Datablock that has “This Month” selected as the Date Range. You want to pull in Smart List A from HubSpot Marketing. Smart List A has 50 contacts in it. Four of those Contacts were added to the Smart List in July, and 1 Contact was removed from the Smart List in July. If you choose “Total Smart List Members” as the Data Choice, you will see “50” on your Datablock. If you choose “Net New Smart List Members” as the Data Calue, you will see “3” on your Datablock (+4-1=3).0i9u99
Here’s how you can set up a Custom Smart List Metric of your own:
You can now access this from the Designer by selecting “Custom” as the Metric column and choosing the corresponding Smart List name.