How do I build an audience of people who already submitted our HubSpot form?
quick one. submissions from our HubSpot forms are coming into Croct now and I want to stop showing the lead magnet to people who already filled it in. instead I want to hit them with a next-step message.
so I need an audience that basically means "has submitted the form". how do I express that as a condition? the event is landing, I just do not know the right way to phrase "already converted on this form" so it evaluates per visitor.
2 answers
Audiences are CQL conditions evaluated in real time on each interaction, so you want a condition that checks whether this visitor already completed the lead goal. Once the form submission is tracked as a goal, the direct way is:
user has completed goal "lead-generated"Use whatever goal id your submission actually maps to. One nice property here is that undefined variables evaluate to false by design, so a visitor who never submitted simply does not match, no special handling needed for the empty case.
To go with Dmitri's condition, you can layer in behavioural signals depending on how the event is modelled. user is returning is handy if you only want to swap the message for people coming back on a later visit rather than in the same session they submitted, and if the submission also registers them as a known user then user has signed up works too. Combine the completed goal check with one of those to tighten who sees the next-step version.
both make sense, going to try the completed-goal one on its own first then add returning if it is too broad. thanks