Context

Introduction

Top level of the context file defining the rid, custom,settings and components

Example

{
  "context": {
    "rid": "",
    "custom":{},
    settings:{},
    components:{}
  }
}

Context

rid

Unique identifier - I’m not really too sure what’s needed here, I don’t do much with the rid

custom

depreciated?

settings

settings.poweredby

-boolean

Determines whether to display the powered by Rebel logo or not

settings.language

-ISO Language Codes

Sets the primary language for the email content
ISO Language Codes

settings.title

-plain text

Page title that will be displayed in an online view of the email, and in some email clients

settings.preheader

-plain text

First line of text that will be displayed in certain email client inboxes, next to the subject line.
Reference

settings.gmailFormSupport

-boolean

This is only relevant for emails containing form submits such as the form or search components. If set to true then the forms will show on versions of Gmail that support form submits. This is set as optional support as there are some restrictions with Gmail rendering, the design of certain elements may differ slightly and no interaction tracking will be recorded, only submit tracking. These gmail opens can be identified by limited value in the variant tracking.

settings.styles

Sets the styles for the full width background and the container

  • background.color

settings.styles.container

The container central column that contains the email content. If the email is viewed on a device below the width set here then the container width will fill 100% of the screen.

components

-Array
List of components, See components doc