Salesforce Marketing Cloud - Developer Tools (Google Chrome Extension)

Introduction

Installing

To install this extension, visit the chrome web store.

Description

This is an extension of Google Chrome developer tools, that makes life easier for Salesforce Marketing Cloud users. Information that needs to be gathered by checking out all the network requests’ responses or using workarounds like starting a wizard for a task you don’t want to perform right now just to get the desired information isn’t necessary anymore when using this extension.

However, this extension is currently being developed so the featureset will grow over time. If you have any questions, discovered bugs or just have an idea on how to improve this extension, feel free to raise an issue on github, drop me a line via mail or twitter.

NOTE: This extension is neither an official porduct of Salesforce, nor in any way associated with Salesforce! I’m just a software developer using Marketing Cloud on a daily basis and I’m sharing this extension I built for myself at start to help me with my daily work.

Features

  • Instance Info
    If you open this extension and visit the Marketing Cloud Dashboard, basic information about the account and the currently logged in user is displayed. Furthermore the Marketing Cloud applications are shown along with the information if they are provisioned in this account and the current user is allowed to access them.
  • Enhance UI features
    • Expose Publication List Ids
      Adds the ids of your publication lists to the name column of the Publication List view in Email Studio. If you need the data for further programmatic use, an array of all publication lists including id, name and category is printed to the console. This is all as easy as clicking a button while being on the Publication Lists page in Email Studio. The console output looks like this Publication Lists: [{"listId":1234,"categoryId":1234,"name":"Test"},{"listId":1235,"categoryId":1234,"name":"Test 2"}]
    • Expose Activity Keys
      If you want to automate goal attainment analyses using the data of the “Journey Details”-feature mentioned below, knowing the keys of your wait activities is crucial. Until now using your browsers inspect tool and checking out the HTML code was necessary. To ease this step I added this functionality which adds the key above the activity icon (e.g. “1 week (WAIT-11)). Further information about this feature can be found in my blogpost “Expose Wait Activity Keys - NEW feature in SFMC Devtools”.
  • Data Extension Details
    This feature helps displaying important information about your data extensions that isn’t available without inspecting network requests or going to the details page of your data extension for example. Some of this can be useful if you need to develop custom entry events for example (e.g. an event using transaction keys to allow correct evaluation of multiple entries per subscriber). As soon as you navigate to the folder containing the data extensions you want to check, the data will be presented in the “Data Extension Details” tab.
  • Journey Details
    This feature helps displaying important information about a journey and it’s versions in one combined view. Listed data includes Name, Id, CustomerKey, number of versions, information about the goal as well as goal attainment of each version. Additionally there is an overview of all activities of the current version including id, key, type, name and the triggeredSendId for email activities is available in the interface as well as in JSON-format so it can be copy-pasted to an external system for further processing. Furthermre this feature displays a breakdown into goal attainment at specific activities. The data is available as JSON and therefore enables the user to easily reuse this information in external systems, programs and scripts. A description on how to use this feature can be found in my blogposts “Journey Details - NEW feature in SFMC Devtools extension” and “Journey Details, Enhance UI features - Improvement in SFMC Devtools”.
  • Error Messages
    Displays error messages, even the ones not shown in the user interface. Instead of having to fiddle around inspecting requests, the error-responses are displayed in a table in this extension. If the message is available in the actual response of the server, the error displyed in Salesforce Marketing Cloud will be shown including the http-status, status-information and the given message. This works across all the Salesforce Marketing Cloud Studios, Builders and tools (Email Studio, Mobile Studio, Journey Builder, Automation Studio, Content Builder, Audience Builder, Contact Builder,…). However, the messages can only be displayed if the error occured while having the devtools opened, so I highly recommended having this extension open everytime you are working with Salesforce Marketing Cloud.

Screenshots

Salesforce Marketing Cloud Developer Toos - Instance Info

(Figure 1: Instance Info feature)

Salesforce Marketing Cloud Developer Toos - Enhance UI features

(Figure 2: Enhance UI features)

Salesforce Marketing Cloud Developer Toos - Data Extension Details

(Figure 3: Data Extension Details feature)

Salesforce Marketing Cloud Developer Toos - Journey Details

(Figure 4: Journey Details feature)

Salesforce Marketing Cloud Developer Toos - Error Messages

(Figure 5: Expose Error Messages feature)

Github Repository

This project is open source and I published the code of this Google Chrome Developertools extension to my github account so anyone can have a look at it or even improve the extension. If you like to add another feature, please feel free to open a pull request or raise an issue requesting the feature.

Repository: github.com/mslabina/sfmc-chrome-devtools

License (MIT)

Copyright © 2017-2020 Markus Slabina

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.