Accessing the AB Test Variant ID from Velocity

In an earlier post [https://blog.teknkl.com/campaign-campaignrun-program-email-ids-in-velocity/] I showed how to access (and output) the Campaign ID, Campaign Run ID and other fields from Velocity. One field I

What *Do Not Track* really does (and what it doesn’t)

Despite instructing a Marketo Community member to “search my posts” the other day, I ran a search myself and there wasn’t a one-stop explanation of what Do Not Track

Make your form embeds happier and more productive by loading from your LP domain (not //app-𝑛𝑛𝑛𝑛.marketo.com)

Buried in a bunch of my Nation responses is this ginormously important guideline: whenever possible, use your Marketo LP domain in your form embed code instead of the default app-something.

Why do I see my form fields in the URL, instead of seeing the Thank You page?

Ever see your Marketo form fields end up in the location bar, like pages.example.com/mypage?FirstName=Joe&LastName=Boggs.. ? Here's how that error state — and it does signify a fatal error — comes about.

Streamline your script tokens with a #displayIfFilled Velocimacro

Printing fallback content when a Lead field is blank is a basic Velocity task. You can do it in a few lines of clunky code… but that's a

Slides from my January 2019 MUG talk

In January, I gave another talk on crazy-slash-advanced Marketo tech tips. The deck is embedded here, and you can download it as a ZIP if you want.

Fixing a minor Forms 2.0 sort-of-bug re: title text (“Instructions”) and field labels

Only minor-league surprising, but when you add Instructions in Form Editor… … those become the title attributes (i.e. hover/hint text) of the form fields, but not of the corresponding

Splitting delimited strings in a less-smelly way (the “Header String” way)

This JS string-splitting approach is a sure code smell, but I see it all the time: var partsOfString = stringifiedLeadInfo.split("|"); var firstName = partsOfString[0]; var lastName = partsOfString[1]