Tracking Demandbase Ad in Marketo | Community
Skip to main content
Ishita_Chawra
January 23, 2026
Question

Tracking Demandbase Ad in Marketo

  • January 23, 2026
  • 2 replies
  • 51 views

Hi, 

We're working on tracking Demandbase paid ad and third-party ad clicks in Marketo using query strings, UTMs.

I understand that, in general, query params may not appear in a specific order, and there could be additional params added by search engines or ad networks.

Additionally, when I review the data in GA4 (landing page + query string), I see the Demandbase param (db3id) after the url but not the UTMs.

What's the best way to track this in Marketo?

 

2 replies

SanfordWhiteman
Level 10
January 23, 2026

>  I understand that, in general, query params may not appear in a specific order

Very true!

 

Query params are technically ordered, but when a query param name is only expected to appear once (e.g. we don’t include utm_campaign more than once, at least not on purpose!) we typically don’t pay attention to the order. Since it then doesn’t matter on the attribution side if utm_campaign came before or after utm_source, you can’t rely on people/things to use a specific order.

 

However, Marketo doesn’t have a URL parser on the back end (there of course is one for forms on the front end). When working with raw Visit Web Page activities in the UI, you’re restricted to using the [contains] constraint on the entire query param, and you can’t actually write the params to separate fields. This is somewhat fragile, but it’s all you have out of the box.

 

What we like to do instead is get Visit Web page activities via the API. Then we parse the query string into its individual fields and write them back to Marketo. In real life we use PMCFs or Custom Object fields to keep a history, but the same approach would work for flat lead fields (Last utm_medium, Last utm_source, etc.).

Level 2
January 27, 2026

In Marketo, don’t rely on query string order or full URL matching. Instead, capture Demandbase and UTM values explicitly using hidden form fields (or URL parameter capture rules) mapped to dedicated person fields. Marketo parses parameters by name, not order, so extra params won’t break tracking.

If UTMs aren’t appearing in GA4 but the db3id is, double-check that UTMs are actually present on the final landing URL after redirects. Once captured in Marketo, use trigger campaigns (e.g., Fills Out Form with constraints on UTM or Demandbase fields) to attribute and report reliably.

saurabh from miinfotech.com
SanfordWhiteman
Level 10
January 28, 2026

🠶 Instead, capture Demandbase and UTM values explicitly using hidden form fields...

 

But there’s not necessarily a form, so the forms library’s URL parser can’t be the solution.

 

From the context, the question isn’t about form conversions, but about visits with or without a form fill, i.e. Munchkin Visit Web Page activities.

Ishita_Chawra
January 28, 2026

@SanfordWhiteman ​@ss2026 

I haven’t started working with the API yet, but I’ve noticed that the URL is retaining the UTM params after being clicked through the Demandbase ads. 

The only possibility I can think of is, people clicking ads are anonymous to Marketo. Could that be the case?

Another question: should the GA4 “page path + query string” include UTMs before db3id?
I do see “demandbase/cpc” as a value in “Session source/medium” column. 

Thank you for the help!