Hi kjoniXen,
You can know what campaigns your MQLs triggered on based on interaction data by javascript code.(If they have corrensponding contact records)
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/retrieve-interactions-contact
For example, if I run 2 customer journeys for same contact, and all of these customer journey are just used for sending marketing email,
then 2 EmailSent type interaction records will be created for the contact, these interaction data contains its parent customer journey data.(the triggered campaign)
You could import my demo web resouce into your environment for check.
Title
Engaged customer journeys of current contact.(Email Sent)
Raw json data:
[
{
"SendingId": "98e9afcc-1f4c-cb7c-e141-dd2e30c371f8",
"ContactId": "43ecb60e-555c-ea11-a811-000d3a80c0ee",
"EmailAddressUsed": "clofly@xxx.com",
"EmailDomain": "xxx.com",
"MessageId": "108a53e4-de48-ea11-a812-000d3a80c481",
"CustomerJourneyId": "fb0e8c51-115d-ea11-a811-000d3a80c0ee",
"CustomerJourneyIterationId": "9e7ae839-b822-4bab-b77a-6736002facaf",
"UsageType": "CustomerJourney",
"ActivityId": "4a005da6-3f54-d361-3b3d-8e6136daa80d",
"AccountId": "c29b5eb4-a848-ea11-a812-000d3a80c481",
"OrganizationId": "f058ab5e-df5e-4f46-a413-28c5334d27e4",
"InteractionType": "EmailSent",
"Timestamp": "2020-03-03T05:45:54.711 00:00"
},
{
"SendingId": "644eb347-81a7-8665-4f5d-89353e05fb64",
"ContactId": "43ecb60e-555c-ea11-a811-000d3a80c0ee",
"EmailAddressUsed": "clofly@xxx.com",
"EmailDomain": "xxx.com",
"MessageId": "108a53e4-de48-ea11-a812-000d3a80c481",
"CustomerJourneyId": "010637ed-115d-ea11-a811-000d3a80c0ee",
"CustomerJourneyIterationId": "fe771ea3-4398-4098-acfc-bb77d7ddf981",
"UsageType": "CustomerJourney",
"ActivityId": "08ddf74c-f34c-bee9-a369-c34540d741cc",
"AccountId": "c29b5eb4-a848-ea11-a812-000d3a80c481",
"OrganizationId": "f058ab5e-df5e-4f46-a413-28c5334d27e4",
"InteractionType": "EmailSent",
"Timestamp": "2020-03-03T05:51:02.354 00:00"
}
]
In your scenario, you could change InteractionType to FormSubmitted, because ebook can be only downloaded when recipient submitted form successfully.
Regards,
Clofly