Velocitip: Find the interesting object in Trigger and Batch modes

It's fairly common (in my world) for the same Velocity script to need to refer to a triggering object or, in a batch context, the most recently updated object.

Fixing Marketo pURLs

It's well-known that Marketo's pURL feature, out-of-the-box, has a fatal (and kinda fascinating) shortcoming. If someone has visited your site before — meaning either an anonymous or associated Munchkin session — then pURL-enabled pages aren't functional.

Changing the dimensions of mktoVideo (YouTube) elements on Guided LPs

User BJ asked in a Nation thread about changing mktoVideo dimensions from the default 420 x 315. Even though I don't typically use mktoVideo, I started probing the CrowdFactory API (that being the real name of the “Marketo Social” widget that powers video elements).

An absolutely dirt-simple, 15-line UTM tag forwarder

> Updated 2021-05-06: A reader reminds me that per my own notes on the Nation (!) the latest Forms 2.0 library now caches the current URL as soon as forms2.

Adding a network/server error handler to Marketo Forms

While Forms 2.0 fires JS events at validation time, (pre-)submission time, and post-submission success, it lacks an event for a failed POST. So in the rare-but-not-impossible case that

Conditional input masks on Marketo Forms

As some have rightly complained [https://nation.marketo.com/ideas/3159], once you set a Mask Input pattern on a Forms 2.0 field, the Form Editor doesn't

New(ish) Marketo Forms bug w/required Checkbox fields, and a fix

Hey there! Here's a workaround for another forms bug. Wish it were really new, but it seems to have been introduced in the forms2.js dated 2017-06-23. Just

Using Marketo RTP in an IFRAME

Because why not? When user AA wondered why his IFRAMEd pages (inside other pages in the same domain) seemed to be ignoring RTP reactions, I resolved to get to the