B2B Marketing & CRM Tools
Installing Scoby Analytics on Adobe Marketo
Like all Scoby integrations, this lightweight, client-side integration is carefully designed to prioritize visitor privacy. It fully complies with EU ePrivacy and GDPR regulations, while enabling you to exercise your legitimate interest in understanding how your website is being used.
Prerequisites
Before you begin, make sure you have:
- A Scoby Analytics Workspace
- Your Workspace ID
- Admin/editor access to your Adobe Marketo instance
Installation Guide
Follow the steps below to anonymously count page views and (optionally) conversions such as purchases, sign ups or form submissions.
Logging Page Views
- In Marketo, go to Design Studio → Landing Page Templates.
- Edit the template used for your landing pages.
- Inside the
<head>
section of the template, paste the following code.
Replace<WORKSPACE_ID>
with your actual Scoby Workspace ID.
<script>
(function () {
const workspaceId = "<WORKSPACE_ID>";
window.scoby = window.scoby || function () {
(window.scoby.q = window.scoby.q || []).push(arguments);
};
const script = document.createElement('script');
script.src = `https://${workspaceId}.s3y.io`;
document.head.append(script);
})();
</script>
- Save the template.
- Approve and re-approve landing pages that use this template to apply the changes.
From now on, all landing pages built with this template will send anonymous pageview data to Scoby Analytics.
Logging Conversions
Marketo Forms
If you want to log conversions when a Marketo Form is submitted:
- Edit your landing page in Marketo.
- Insert a small script in the HTML source of the page, just after the form block.
- Use Marketo’s
onSuccess
form handler to trigger Scoby’slogConversion
.
Example:
<script>
MktoForms2.whenReady(function(form) {
form.onSuccess(function(values, followUpUrl) {
window.scoby('logConversion', {
goal: 'Lead',
email: values.Email
});
return true; // continue with redirect or thank-you
});
});
</script>
💡 You can adapt the
goal
parameter to your conversion type ("Sign-Up"
,"Demo Request"
,"Download"
, etc.). Passing identifiers like
Purchases or Custom Events
If you’re embedding Marketo forms into external pages (e.g., product checkout or trial signup pages), you can fire logConversion
events inline:
<script>
window.scoby('logConversion', {
goal: 'Purchase',
amount: '{{ORDER_TOTAL}}'
});
</script>
Done 🎉
Scoby Analytics will now collect anonymous visit and (optionally) conversion data from your Marketo pages and forms. You’ll see live statistics in the Scoby Analytics Dashboard shortly after installation.