Need some help with a formula. I feel like I’m missing something really simple?
These are my conditions:
- if [properties.hs_analytics_first_referrer] contains linkedin, then label it LinkedIn Ad
- if [properties.hs_analytics_source] is Paid search, then label it Google Ad
- if [properties.hs_google_click_id] is populated AND [properties.hs_analytics_first_referrer] contains goog, then label it Google Ad
This is the calulcation I’m using:
if(contains([properties.hs_analytics_first_referrer], "linkedin"), "LinkedIn Ad",
if([properties.hs_analytics_source]="PAID_SEARCH", "Google Ad",
if(is_known([properties.hs_google_click_id]) and
contains([properties.hs_analytics_first_referrer], "goog"), "Google Ad",
"N/A")))
1st one tests fine & so does the 2nd. The 3rd option never gets calculated, no matter how many times I reorder them. 1 & 2 always test find. the 3rd condition never tests well, no matter which condition is.
tests as listed above
test w/ linkedin moved to the top, now works & the now 3rd paid search one then doesn’t.
Am I trying to do “Team Too Much” and nesting like this is not possible?
Tagging @karstenkoehler as I’ve seen them able to help others before. ![]()





