Post Capture

Choose what happens after someone completes your Capture, from a thank you message to a redirect or another Capture.

Pick what happens once someone completes your Capture, by signing up or clicking:

Gleam interface showing the Post Capture Behaviour options Gleam interface showing the Behaviour setting

Exactly what it says. It's handy for click Captures you want to keep showing, less so for email Captures.

Show a short thank you once someone signs up:

Gleam Capture bar showing a thank you message

Set the logo, heading and text under Thank You Message. Each has its own on/off switch, font, size and colour.

Gleam interface showing the Thank You Logo settings Gleam interface showing the Thank You Heading settings Gleam interface showing the Thank You Text settings

Show your thank you message, then send people to the Redirect URL you add under Options.

Gleam interface showing the Post Capture Options

Open a URL of your choice in a new tab once someone completes your Capture.

Show another of your Captures once this one's done. It's a good way to chain Captures or messages together.

Add an image to your thank you message with Thank You Logo (see above).

Auto Close closes your Capture a set time after someone completes it. Set it to 0 to close it straight away.

Tip

Some behaviours switch this on for you.

This option fires a specific Javascript Callback to your page once the Capture is completed. This will pass the status of the Capture as well as the data collected from your Capture form.

You can use this to perform something specific like:

  • Adding a coupon to the shopping cart
  • Doing something with the users account
  • Awarding the user something
  • Showing specific content

First, you'll need to initialize the onCaptureComplete function:

<script>
window.onCaptureComplete = function(captureName, message, data) {
  console.log("Capture Callback Test captureName:", captureName, "message:", message, "data:", data);
}
</script>

This should then provide your function with the following parameters:

The first parameter, captureName, returns the title of your Capture campaign:

"My Capture"

The second parameter, message, returns a message describing the outcome of completing the Capture. For successful conversions, the message will return "Lead added". If an error occurred, the error message will appear in this field.

"Lead added"

The third parameter, data, returns some data about the user that completed your Capture:

{
  "form_data": {
    "email": "sallysmith@mail.com",
    "name": "Sally Smith"
  }, 
  "key": "CQjsS",
  "language_code": "en",
  "location": {
    "city_name": "Sydney",
    "country_code": "AU", 
    "country_name": "Australia", 
    "description": "Sydney, NSW, Australia", 
    "region_name": "NSW", 
    "time_zone": "Australia/Sydney"
  }
}

See Next Article

Custom CSS

Change anything about how your Capture looks with custom CSS, right from the Customization tab.