We’re at capacity right now: new teams join from the waiting list. Join the waiting list →
Kolvantage

Docs › Marketing

Marketing

The Marketing area sends messages to the people who use your website. It has four channels: web push (built into Kolvantage, no outside service), email through your own Amazon SES account, SMS through your own Twilio account, and WhatsApp straight through Meta's WhatsApp Cloud API. You send one message to a group of people, or build journeys that send messages automatically when people do something.

Marketing is connected to everything else Kolvantage records. A person in Marketing is linked to their visits, pages, events and A/B tests, so you can target "visited the pricing page but didn't sign up" or "made a deposit of $100 or more in the last 30 days".

To open it, go to a website and click Marketing in the website's tab bar. You only see the link if you have the Marketing tool.

What you see

The left menu has these sections:

SectionWhat it's for
OverviewTotals, subscribers per channel, and the last 30 days' results
MessagesOne message to one or more segments, now or at a set time
JourneysAutomated flows (see Journeys)
TemplatesThe content of your messages (see Templates and Liquid)
Data feedsYour own API, called for each person at send time
SegmentsGroups of people, built from filters
Users & subscriptionsEvery person, their details, tags and subscriptions
SettingsOpens the website's Settings → Marketing, where the channels are set up

Overview

The top row shows Users (everyone in Marketing for this website), Active journeys, Segments and Templates. Below it there is one card per channel: whether it's On (or a Set up → link), how many people are subscribed to it, and the results of the last 30 days.

Until you have done everything once, a Getting started list shows the next steps: set up a channel, get your first users, create a segment, write a template, then send a message or start a journey.

Messages

A message is one send to an audience. The list shows each message with its Channel, Audience, Status, Recipients and Results.

To create one, click + New message and fill in:

  • Name (only you see it).
  • Channel and Template. Only templates of the chosen channel are listed.
  • Send to: one or more segments. If you choose none, the message goes to everyone.
  • Leave out: segments whose people don't get it, even if they are in a "Send to" segment.
  • When: Send now, or At a set time (a date and time in your own time zone, as chosen in My account).

While you choose, a line tells you how many people can get it, for example "1,240 of 3,100 people in this audience can get email." Only people who are subscribed to the channel receive the message.

Then click Save as draft or Send. When you send now, Kolvantage asks you to confirm first.

A message's status is one of:

StatusMeaning
DraftSaved, not sent. You can Edit it.
ScheduledWaiting for its time. Cancel turns it back into a draft.
SendingBeing prepared for its audience.
SentHanded to the channel for every person in the audience. While some are still waiting to go out, Stop sending cancels them.
CanceledStopped with Stop sending. What was already sent stays sent; the rest was canceled.

Deleting a message also cancels the ones still waiting to go out.

The Results column shows how many were sent, and the share that were delivered, opened and clicked, plus how many are still waiting, failed, were skipped or were canceled. See Channels for what each number means.

Data feeds

A data feed is your own API, called once for each person just before a message is sent to them. Its JSON answer goes into the message, for example the items in their cart, their balance or recommendations. See Templates and Liquid.

Segments

A segment is a group of people, described by filters. Segments decide who gets a message, who enters a journey, and who leaves one.

The list shows each segment with a short text of its filters, how many Users match, and how many of them can get each channel (Push, Email, SMS, WhatsApp). Click the number of users to see them in Users & subscriptions.

Click + New segment to build one:

  • Filters inside a group must all match (AND).
  • Click + Add a group (OR) to add another group. A person is in the segment when any group matches.
  • The count of matching people (and a few examples) updates while you edit.

The filters you can use:

FilterWhat it checks
TagA Marketing tag: is, is not, >, ≥, <, ≤, contains, does not contain, exists, does not exist
User propertyExternal id, email, phone, first name or last name: is set, is not set, is, is not, contains
Subscribed toSubscribed (yes or no) to web push, email, SMS, WhatsApp, or any channel
First seenWhen the person was added to Marketing: less or more than N days ago
Last seenTheir last visit (or last activity): less or more than N days ago
Number of visitsHow many recorded visits they have
CountryOne or more country codes (e.g. US, IL, GB): is or is not
LanguageOne or more language codes (e.g. en, es): is or is not
DeviceDesktop, Mobile or Tablet (of their latest visit): is or is not
Did an eventDid (at least N times) or did not do an event, optionally in the last N days
Event amount (total)The total amount of an event, optionally in the last N days, compared to a number
Visited a pageVisited (or did not visit) an address containing some text, optionally in the last N days
In an A/B testSaw a test, optionally a specific variation

Tag comparisons with a number (like > 5) compare as numbers. A tag's is and is not are exact (upper and lower case count); contains and the user property comparisons ignore case. When a person has no country or language saved, their latest visit's country or browser language is used.

A segment that a journey or a waiting message uses can't be deleted. Kolvantage tells you where it's used.

Users & subscriptions

This is everyone you can message. Each row shows the person's name (or external id, email or phone), their email and phone, an icon per channel (subscribed, not subscribed, or no subscription), their first tags, and when they were added. People without an external id are shown as Anonymous visitor. Search by email, phone, external id, name or visitor id, and filter by Segment. The list shows 50 people per page.

Click a person to open their details:

  • Their properties: first and last name, email, phone, external id, language, country and time zone. People with the Manage permission can change them. A new email or phone is added as not subscribed, unless you tick They agreed to get marketing emails at this address (or SMS at this number), which shows when you type a new one. An address they already had keeps its status.
  • Their Tags. Add, change or remove tags, then Save.
  • Their Subscriptions, one per channel and address, each with a status you can change: Subscribed, Unsubscribed, Bounced, Marked as spam or Invalid. + Add subscription subscribes them to email, SMS or WhatsApp at their saved email or phone. Do this only when they agreed.
  • Their recent Messages, WhatsApp messages, Events and Visits.
  • A Full profile link to their visitor profile.

Delete user removes the person and their subscriptions. Their visits and events stay.

+ Add a user adds one person by hand. Enter at least an email, a phone number or an external id. There are three separate ticks: They agreed to get marketing emails, They agreed to get marketing SMS and They agreed to get WhatsApp messages from you. Without a tick, the email or phone is added as not subscribed.

Import a CSV adds or updates many people at once. See Importing people.

How it works

Users

A user in Marketing is one person on one website. They are known by:

  • their external id: your own id for them (e.g. your customer number), sent by your website or server;
  • their visitor ids: the kv_vid cookie Kolvantage sets in each browser. A person can have several (a phone, a laptop).

Everything Kolvantage records about those visitor ids (visits, pages, events, A/B tests) counts for the user, in segments, journeys and their profile.

People get into Marketing in these ways:

  1. Web push: a visitor who allows notifications becomes a user (anonymous at first) with a push subscription.
  2. Identify on your website: Kolvantage.identify('CUSTOMER-ID') says who the visitor is (see below).
  3. The Customer ID tag (Settings → Tags): a page tag that holds the customer's id does the same as identify. See Visitor profiles.
  4. The server API: your server creates and updates users with the website's secret key. See Server API.
  5. A CSV import, or + Add a user in the dashboard.

Identify: connecting visitors to customers

When a visitor logs in, call identify with your own id for them:

Kolvantage.identify('CUSTOMER-ID');
// or, before the script has loaded:
window._shq = window._shq || [];
_shq.push(['identify', 'CUSTOMER-ID']);

The id can be up to 128 characters. What happens then:

  • If a user with that external id exists, this browser's visitor id is added to them. Their devices come together on one profile.
  • If not, a new user is created with that external id.
  • If the visitor was an anonymous user before (for example they allowed web push before logging in), that anonymous user is merged into the customer: their subscriptions, tags and messages move over.
  • A browser belongs to the last customer identified in it. If someone else logs in on the same browser, the visitor id moves to that person.

Identify from the browser can be turned off: Settings → API → Allow identify from the website's pages. When it's off, only your server (with the secret key) can say who a visitor is. That's safer, because anyone could otherwise call identify with another customer's id in their own browser. The Customer ID tag follows the same setting.

A subscription is a channel plus an address: a browser (web push), an email address, or a phone number (SMS and WhatsApp are separate subscriptions to the same number). A message goes only to subscriptions with the status Subscribed.

StatusSet when
SubscribedThey allowed notifications, you added them with their agreement, the API said so, or they replied START on WhatsApp
UnsubscribedThey clicked an unsubscribe link, the browser removed the push subscription, they replied STOP, or you changed it
BouncedAmazon SES reported a permanent bounce
Marked as spamAmazon SES reported a complaint
InvalidTwilio said the number isn't a valid mobile number

Kolvantage keeps the person's choice. An address that is already there keeps its status when it's added again (by import, API or the dashboard): an unsubscribed, bounced or spam-marked address isn't subscribed again, and a subscribed one isn't unsubscribed. Only an explicit change does: the status menu in the dashboard, a tick that they agreed, email_subscribed: true (or false) in the API, or START and STOP on WhatsApp.

WhatsApp always needs its own agreement. Agreeing to SMS doesn't subscribe anyone to WhatsApp.

Tags

Marketing tags are values about a person, such as plan: gold or level: 7. They are used in segments, journey branches and templates ({{ tags.plan }}). They come from the server API, CSV imports, the dashboard, and journeys' Tag the user step.

These are separate from the tags your pages send with Kolvantage.tag(). Those tags belong to the visit and the visitor, and show on recordings and the visitor profile.

Importing people

Users & subscriptions → Import a CSV reads a CSV file with a header row. It recognizes these columns (other spellings in brackets):

  • external_id (external id, externalid, user_id, customer_id, id)
  • email (email_address, e-mail)
  • phone (phone_number, sms, mobile)
  • first_name, last_name, language, country

Any other column becomes a tag (a tag: or tags. prefix is removed). Rows are matched to existing people by external id, or by email when the row has no external id. The result tells how many people were added and how many existing people were updated. Rows without an external id, email or phone are skipped, and the result lists the first ones.

Phone numbers need the country code (e.g. +14155550100). Two ticks decide consent: These people agreed to get marketing emails and SMS (on by default) and They also agreed to get WhatsApp messages from you.

Settings

The channels are set up in the website's Settings → Marketing: web push, email (Amazon SES), SMS (Twilio), WhatsApp, WhatsApp replies and frequency limits. See Channels.

Identify and the users API are in Settings → API.

Limits

WhatLimit
Tags per person100 (names: letters, numbers and _ . : -, up to 64 characters; values up to 500 characters)
Groups per segment10
Filters per group20
External id128 characters
CSV import file20 MB
Frequency limit per channel0 (no limit) to 100 messages per person per day

Who can use it

You need the Marketing tool (set per person in Users → Edit → Tools).

  • Owner, Admin and Manager: everything, including sending messages, running journeys, and editing segments, templates and people.
  • Setting up the channels (Settings → Marketing) is for the Owner and Admins only.
  • Agent and Viewer (with the Marketing tool): can look at everything, including people and results, but can't change or send anything.

See Users and roles.