From b1e5043e7cb64fd4ffb6cfcc15332706d301d33a Mon Sep 17 00:00:00 2001 From: Spencer Attick <23665784+spencerattick@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:16:47 -0500 Subject: [PATCH 1/2] Custom Activity behavior --- src/connections/destinations/catalog/marketo-v2/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/connections/destinations/catalog/marketo-v2/index.md b/src/connections/destinations/catalog/marketo-v2/index.md index c3e01de9a0..05c4b75fd7 100644 --- a/src/connections/destinations/catalog/marketo-v2/index.md +++ b/src/connections/destinations/catalog/marketo-v2/index.md @@ -162,6 +162,8 @@ Analytics.track( - **Primary Field**. When creating a Custom Activity in Marketo, you have to set a Primary Field. If you are unsure which field was set as the primary field, when you are looking at the list of fields for your Custom Activity in Marketo, there will be a red star next to your Primary Field. ![A screenshot of the Fields tab inside of the Marketo Custom Activities page.](images/cZuvsHeaepX+.png) +Please note that you cannot map fields nested in objects as Marketo Custom Activitiy property names. Please flatten any objects you may need to access data from either before you send it to Segment or using an [Insert Function]([url](https://segment.com/docs/connections/functions/insert-functions/)). + ## Page When you call [`Page`](/docs/connections/spec/page/), Segment uses [Marketo's Munchkin.js `visitWebPage` method](http://developers.marketo.com/javascript-api/lead-tracking/api-reference/#munchkin_visitwebpage){:target="_blank"}. The URL is built from your `.page()` event and properties object into the form Marketo expects, so no need to worry about doing that yourself. From b5f84bb846ff2767f2880885458340770959dfa7 Mon Sep 17 00:00:00 2001 From: stayseesong <83784848+stayseesong@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:24:06 -0800 Subject: [PATCH 2/2] Update src/connections/destinations/catalog/marketo-v2/index.md --- src/connections/destinations/catalog/marketo-v2/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/connections/destinations/catalog/marketo-v2/index.md b/src/connections/destinations/catalog/marketo-v2/index.md index 05c4b75fd7..635c934faa 100644 --- a/src/connections/destinations/catalog/marketo-v2/index.md +++ b/src/connections/destinations/catalog/marketo-v2/index.md @@ -162,7 +162,8 @@ Analytics.track( - **Primary Field**. When creating a Custom Activity in Marketo, you have to set a Primary Field. If you are unsure which field was set as the primary field, when you are looking at the list of fields for your Custom Activity in Marketo, there will be a red star next to your Primary Field. ![A screenshot of the Fields tab inside of the Marketo Custom Activities page.](images/cZuvsHeaepX+.png) -Please note that you cannot map fields nested in objects as Marketo Custom Activitiy property names. Please flatten any objects you may need to access data from either before you send it to Segment or using an [Insert Function]([url](https://segment.com/docs/connections/functions/insert-functions/)). +> info "" +> You can't map fields nested in objects as Marketo Custom Activity property names. You must flatten any objects you may need to access data from either before you send it to Segment, or while using an [Insert Function](/docs/connections/functions/insert-functions/). ## Page