Answers about cql
Questions and answers from the Croct community about cql.
Can I build one value out of two strings in CQL with the & operator?
factoring a long audience condition and the same prefix shows up in a few clauses. I would rather keep it in one place than retype it everywhere. I saw &…
Which CQL attributes exist for B2B targeting like company and job title?
Building account-based experiences for a B2B analytics SaaS. In our CRM I have these fields per contact: company, job title, industry, company size, buying…
Showing different lookbooks by browsing interest on a fashion storefront
Hola! First the merchandising brief, then the question. Our brand sells dresses, sneakers, and accessories. The merchandising team wants the homepage lookbook…
Audience for visitors who checked the pricing page earlier but did not sign up
Our funnel is content page > /pricing > trial signup. The drop between the second and third step is where I want to intervene: anyone who visited /pricing in…
Targeting carts that contain a specific product line on Hydrogen
I want a bundle upsell banner that only shows when the cart already contains an item from our serum line. My attempts so far: I suspect I need some kind of…
Free-shipping nudge based on cart value on a Hydrogen store
I read the free-shipping ideas post on the Croct blog and want the classic "add R200 more for free shipping" banner on our home goods store. Hydrogen, SDK…
My audience condition never matches even for users it should include
I have an audience targeting users by company and it matches far fewer users than expected. What I tried so far: Verified the condition parses: user's company…
Show different content on weekends only, possible with an audience?
We run a weekend promotion and right now I publish the banner every Friday evening and unpublish it Monday morning by hand. Not ideal, I forgot twice last…
Building a cart-abandoner audience from Hydrogen store events
Auto cart events are flowing from the Hydrogen SDK. I want a win-back banner for shoppers who abandoned carts more than once. Tried this condition and it…
show different strapi content to returning visitors?
nuxt app with a strapi backend. we want first-time visitors to see an explainer hero (what the product is, how it works) and returning visitors to see a…
Hide the coupon promo banner from carts that already applied a code
Banner keeps showing "use code SAVE10" to people who already applied it. looks broken to them. Current audience: How do I check the applied coupon in the…
Is croct.evaluate fast enough to call on every route change?
SPA, classifieds site, high navigation frequency. I gate a UI element behind this on every client-side route change: Works fine. Question is whether calling…