You can enable Marketo’s custom JavaScript tracking code, called Munchkin, to your Turtl Doc(s) to send activity, e.g., page visits and clicked links, to Marketo when a reader interacts with a Turtl Doc.
The Munchkin code tracks all individuals who visit your Turtl Docs so you can react to their visits with automated marketing campaigns. Even anonymous visitors are tracked along with their IP addresses and other information. Once the visitor is identified, it becomes a person in Marketo, and the history associated with the browser cookie is merged in.
How to enable the tracking code
To enable the tracking code, please follow the steps:
1. Accessing the Integrations Hub
To access the Integrations Hub, click on "Integrate" on the left hand menu.
The Integrations screen will show all available integrations in a grid layout.
2. Enable the tracking code
Click on Marketo, Settings tab, and click on "Reader Intent Data" to expand the section.
Toggle on the setting to enable the tracking code for all Docs.
What events does the tracking code collect by default?
"Visit Web Page" activities are sent to Marketo when a reader views a new webpage, in this case, a new page in a Turtl Doc. The activity contains information such as the Referrer URL, Webpage URL, and more.
"Clicked Link on Web Page" activities are sent to Marketo when a reader clicks a link on a webpage. This includes http/s, tel, and mailto links. Within Turtl Docs, this activity is generated for any internal or external link clicks, a click on the "Read On" button from a Title page, any external sharing links on the Doc or a widget, PDF Downloads, and more.
"Visit Web Page" and "Clicked Link on Web Page" activities are collected for both known and anonymous visitors within Marketo.
Please refer to the Munchkin behavior section to learn more.
How do these events appear in Marketo?
1. On the Activity Log of a known visitor record
If a visitor is known to Marketo, the "Visit Web Page" and "Clicked Link on Web Page" activities appear within the Activity Log of the corresponding record in Marketo. When you click on each activity, you can see additional information about the activity. This information can be referenced and filtered within Smart Lists, Reports, and more, e.g. you might want to create a Smart List of anyone who’s visited a certain page of a Turtl Doc.
Web activity is also captured for anonymous visitors. If they become known in Marketo later down the line (e.g. via a Marketo form fill or other method), a known visitor record is created and all historical web activity is associated to the new record.
Example Activity Log on a known visitor’s record
Example "Visit Web Page" Activity on a known visitor’s record
2. Web page activity in Reports
"Visit Web Page" and "Clicked Link on Web Page" activities can also be reported on within a Web Page Activity Report in Marketo. The report can be customized to show page activity for known or anonymous visitors.
How to send custom reader engagement events to Marketo?
Within Integrations, click Marketo, then go to the Settings tab and open the Reader Intent Data section.
Under Custom events, if you already have custom event snippets set up, you’ll see the following notice:
If you do not have any existing custom events snippets set up previously, you can now automatically enable custom events yourself by expanding each heading and toggling on the options you want.
Once selected, you’ll see the following confirmation:
You will then automatically see each selected custom event in your Marketo account.
Custom events list with properties
Below is a description of each of the custom events used:
Notes:
Properties in bold can be used for all events.
Other properties are event-specific.
Words between braces are data types/field types, eg. Page URL (string) → Page URL value is a string.
Please contact our support team to share your ideas if you want to track something else.
Event name | What we’ll include within the Query Parameters |
Read time 1 minute |
|
Read time 2 minutes |
|
Read time 3 minutes |
|
Read time 4 minutes |
|
Read time 5 minutes |
|
Read time 8 minutes |
|
Read time 10 minutes |
|
Personalization Form Fill |
|
Poll Submit |
|
View Chart |
|
View Image |
|
View Map |
|
View PDF |
|
Watch Video |
|
Listen to Audio |
|
How do these custom events appear in Marketo?
The custom events will come through as "Visit Web Page" activities within Marketo, but we append additional information within the Query Parameters of the Activity Details.
Example of a custom event with additional content in the query parameters
The information within the Query Parameters can be used to create Smart Lists and Reports within Marketo to drill down into readers who have taken certain actions.
Example of a custom event being used to create a Smart List


