Options
All
  • Public
  • Public/Protected
  • All
Menu

A partner sends a Mailchimp campaign or downloads a PDF from the Mailchimp editor.

content is a generic catch-all holding campaign metadata fields: artworkTitle, artistNames, subject, recipientCount, etc. It is kept generic so the same pattern can serve multiple studio surfaces.

This schema describes events sent to Segment from OsCreatedMailchimpContent

example

Send campaign

{
  action: "createdStudioContent",
  context_module: "mailchimpEditor",
  context_page_owner_type: "studioMailchimp",
  value: "mailchimp campaign",
  brand_kit: true,
  content: {
    artworkTitle: "Xpto",
    artistNames: ["Jane Doe", "John Doe"],
    subject: "New artwork available",
    recipientCount: 150
  }
}
example

PDF download

{
  action: "createdStudioContent",
  context_module: "mailchimpEditor",
  context_page_owner_type: "studioMailchimp",
  value: "pdf download",
  brand_kit: false,
  content: {
    artworkTitle: "Xpto",
    artistNames: ["Jane Doe", "John Doe"]
  }
}

Hierarchy

  • OsCreatedMailchimpContent

Index

Properties

action

action: createdStudioContent

brand_kit

brand_kit: boolean

content

content: Record<string, unknown>

Generic catch-all for campaign metadata included in the created content

context_module

context_module: mailchimpEditor

context_page_owner_type

context_page_owner_type: studioMailchimp

value

value: "mailchimp campaign" | "pdf download"

Generated using TypeDoc