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.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@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" });
});
});
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.
Based on the documentation, you should easily be able to create a rule that listens to the events like so
@bjoern__koth when I use this event just rule is triggering on every interactions.
I was looking for solution specific to each interactions.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
@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" });
});
});
Thank you @Amruthesh_AG this is what I was looking for.
Very informative.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies