Skip to content

stuartajd/marketo-template-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Logo

Marketo Guided Template Parser

Preview your Marketo assets directly within your browser, populating the default values for each of the mkto meta tags used during the template building process.

Chrome Web Store Β· Report Bug Β· Request Feature

How it works

This script can be included within your templates source code or used as a Chrome extension!

The script will automatically find all mkto* meta tags in the head & parse these out to a format it can use. It will then find the matching ${marketo} variables within your code and update these to match the default provided in the meta tag or the true / false value for Boolean.

This'll all happen as soon as the page has loaded so you'll see the changes straight away, useful for checking your template works as you'd expect!

Usage

There are two ways to use the parser, by URL or via the Chrome Browser Extension.

Browser Extension

Install the browser extension on Google Chrome or Microsoft Edge from the Chrome Web Store

Script

Use the parser script directly by adding the script to the top of your asset.

<script src="https://stuartajd.github.io/marketo-template-parser/parser.js"></script>

About

πŸ‘€ Preview your Marketo assets directly within your browser, populating the default values for each of the mkto meta tags used during the template building process.

Topics

Resources

Stars

Watchers

Forks