Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.36 KB

README.md

File metadata and controls

25 lines (21 loc) · 1.36 KB

Interaction Studio Triggered Campaings Content Block for Salesforce Marketing Cloud

Setup

  • Create a new Cloud Page in your MC Business Unit. Use index.html as a content.
    • MC Main Menu -> Web Studio -> Cloud Pages
    • Create a new Collection or open an existing one
    • Click "Add Content" -> Landing Page. Give it a name, select "Blank" as a layout
    • Select "Code View" tab, delete all default HTML and paste the content of the compiled file
    • Click "Save"
    • Click "Schedule/Publish" and publish the page immediately
    • Save the URL of the Cloud Page
  • Create a new Installed Package in Marketing Cloud
  • Add a new Custom Content Block based on the Cloud Page you've just created. Use the URL of the Cloud Page as an Endpoint URL of the Content Block.

Development

This app uses Vue.js framework. Main source file: "/src/App.vue". The following command will generate an "index.html" file in the "dist" folder that you should use as a content of the cloud page.

npm install && npm run build

Compiles and hot-reloads for development

npm run serve