Send a message to visitors based on a marketing campaign
This guide will walk you through using our Olark API to send a message to your visitors based on the page they're on.
You can include a simple link in your marketing emails that will trigger a chat rule to proactively engage your site's visitors.
Using the Javascript API
- Include a custom url in your email blast or tweet for your customer to click. Something like http://example.com/#who-wears-short-shorts
- Insert the following code below your existing Olark embed code:
This example expands the chatbox if a visitor arrives on the url http://example.com/#who-wears-short-shorts and sends them the message "Hey! I hear you are interested in short shorts. Me too!"
Oops! Something went wrong while submitting the form.