Let’s say you want to change the hint text color (also referred to as the placeholder text) in Forms 2.0. This is possible via custom CSS. For example, in the screenshot below I made the hint text in this Marketo Form blue. There are three options on how to do this depending on how you … Continue reading “Change the Hint Text Color on a Marketo Form”
Category: How-To
Best practices, examples, and more.
Lead Tracking and Multiple Domains
Marketo’s Munchkin tracking code helps you track visits to your web site. You’re likely to want to use Munchkin tracking code to cookie anonymous leads for most or all of the pages on your website. Let’s walk through how Munchkin works. Visits to the page are recorded for existing leads, and a visit to the … Continue reading “Lead Tracking and Multiple Domains”
Dynamically Change Page Content Based on a User’s Location
Let’s say you would like to dynamically change the phone number on a landing page depending on where a user is located. For example, if the person is in California you would like to show them the phone number for your California office on your landing page, but if they are in Japan you would … Continue reading “Dynamically Change Page Content Based on a User’s Location”
Highlighting Open Source Projects Built on the Marketo Platform
This will be the first post in an ongoing series highlighting open-source projects built around the Marketo platform by the developer community. We maintain a list on Marketo’s GitHub account where we track client libraries and projects created by the Marketo developer community. Below are three projects developed around the Marketo REST and SOAP APIs. … Continue reading “Highlighting Open Source Projects Built on the Marketo Platform”
Show Thank You Message Without a Follow-Up Landing Page
Typically, when you use Marketo forms, you create two landing pages – one to place the form on and one to redirect to after the form is completed. However, in some cases, you may not want to have two separate but very similar landing pages to maintain. You can actually use the same landing page … Continue reading “Show Thank You Message Without a Follow-Up Landing Page”
Add a Confirmation Alert to a Marketo Form
Let’s say when a user click the “Send” button on a Marketo form, you would like to display a notification that asks the user if “Is it really ok to send”?. This possible by implementing a few lines of JavaScript, which will show a confirmation box when somebody clicks the Send button. Here’s an example … Continue reading “Add a Confirmation Alert to a Marketo Form”
Use cURL to Import Leads via the REST API
Do you want to import leads from a CSV file through the REST API, but noticed this is challenging to do using the Postman Chrome extension. In this post, we’ll walk through how to do this with cURL. Step One Download and install cURL, a command line tool we’ll use to push data to Marketo’s … Continue reading “Use cURL to Import Leads via the REST API”
Add a Full Name Field to a Marketo Form
We know that shorter web forms improve conversion rates. The Javascript code sample below allows you to make your forms even shorter by merging the First and Last Name fields into one Full Name field. When visitors are typing in their full name, the script will automatically break the text into first and last name … Continue reading “Add a Full Name Field to a Marketo Form”
Import Demo Data
To test out the Marketo APIs, you need to have data in your Marketo lead database. This post will show you how to import demo data into your Marketo account. Here is a link to a CSV file with demo data that you can use as a starting point for creating your own demo data. … Continue reading “Import Demo Data”
Performance Tuning API Requests
This post discusses strategies to improve performance when requesting data from the Marketo API. However, you must weigh the benefits of these strategies against the operating constraint of Marketo API’s daily limits. Strategy 1 – Request Less Data in Each API Call Generally, as you request more data in an API call, the amount of … Continue reading “Performance Tuning API Requests”