Expand my Community achievements bar.

SOLVED

Marketo Dynamic chat Integration with Adobe analytics

Avatar

Level 2

Hi Team,

 

We have request from our client saying that they want to track dynamic chat interaction to Adobe ana so that we can analyse on which page this chat is interacting more.

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 6

@YashRe1There was no direct integration available as of now.

You have to utilize the callback function to track the interaction.

You can add below custom script through launch to track the interaction.

//Conversation Engaged
window.addEventListener('adobedx.conversations.ready', () => {
const {addListener, Enum} = window.AdobeDX;
addListener(Enum.Events.CONVERSATION_ENGAGED, (event) => {
window.adobeDataLayer = window.adobeDataLayer || [];
window.adobeDataLayer.push({ "Status": "Conversation Engaged" });
});
});

//Conversation Completed
window.addEventListener('adobedx.conversations.ready', () => {
const {addListener, Enum} = window.AdobeDX;
addListener(Enum.Events.CONVERSATION_COMPLETED, (event) => {
window.adobeDataLayer = window.adobeDataLayer || [];
window.adobeDataLayer.push({ "Status": "Conversation Completed" });
});
});

View solution in original post

5 Replies

Avatar

Community Advisor

afaik there is no direct integration into AA (it has its own reporting), but Marketo Dynamic chat sends custom events you can hook up to from Adobe Launch and translate them into Adobe Analytics tracking calls.

https://experienceleague.adobe.com/en/docs/marketo/using/product-docs/demand-generation/dynamic-chat...

 

Based on the documentation, you should easily be able to create a rule that listens to the events like so

bjoern__koth_1-1739973661269.png

 

 

Cheers from Switzerland!


Avatar

Level 2

@bjoern__koth when I use this event just rule is triggering on every interactions.

I was looking for solution specific to each interactions.

Avatar

Community Advisor

Hi @YashRe1 

the key is the additional layer of event listeners which you have to register in a custom code block of this rule.

Have a look at the samples on the page linked above. the adobedx.conversion.ready event just seems to signal that from there on you can listen to dedicated events using the addListener function of the window.AdobeDX object which is only available from there on.

bjoern__koth_0-1739995027506.png

 

 

Cheers from Switzerland!


Avatar

Correct answer by
Level 6

@YashRe1There was no direct integration available as of now.

You have to utilize the callback function to track the interaction.

You can add below custom script through launch to track the interaction.

//Conversation Engaged
window.addEventListener('adobedx.conversations.ready', () => {
const {addListener, Enum} = window.AdobeDX;
addListener(Enum.Events.CONVERSATION_ENGAGED, (event) => {
window.adobeDataLayer = window.adobeDataLayer || [];
window.adobeDataLayer.push({ "Status": "Conversation Engaged" });
});
});

//Conversation Completed
window.addEventListener('adobedx.conversations.ready', () => {
const {addListener, Enum} = window.AdobeDX;
addListener(Enum.Events.CONVERSATION_COMPLETED, (event) => {
window.adobeDataLayer = window.adobeDataLayer || [];
window.adobeDataLayer.push({ "Status": "Conversation Completed" });
});
});

Avatar

Level 2

Thank you @Amruthesh_AG this is what I was looking for.

Very informative.