Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

Data Layer - Custom conversion tracking

Avatar

Level 2

Hi, potentially very niche conversion tracking logic below:

We have a series of actions on our secure site which do not trigger a confirmation page on a uniquely identifiable URL. Instead, the visitor is taken back to the account overview page, and shown a 'Successful transaction' type message (within a div).

The confirmation message is the only evidence of the conversion, and appears only when a transaction is completed on the previous page. The div is removed from the HTML after a couple seconds (not just hidden, gone entirely).

Ideally we'd create an Mbox on this div, but my concern is that it is removed from the page. Clearly we can't add/change content in this case, but would a 'viewed mbox' conversion still trigger?

We currently capture the success metric via Google Tag Manager passing a success event in to the data layer. Is there any way that Target could capture this metric in a similar way? Could we, for example, pass a temporary parameter in to an existing mbox, and track views of it when the parameter is present? Could we still capture revenue amounts like this?

Happy to provide more details if this isn't clear.

Thanks in advance for any help!

Chris

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Employee Advisor

Yes you could use mboxDefine and mboxUpdate.  You might want to use some javascript to create a new <div> element to attach to your mboxDefine.

Lösung in ursprünglichem Beitrag anzeigen

3 Antworten

Avatar

Employee Advisor

Hi Chris,

Not niche at all.  Hopefully you are already using the at.js library in which case you could use trackEvent for your order confirmation mbox.  You don't need to create an mbox on any div, just fire the javascript on the order event.  Yes, you can still capture revenue.  Here are some Help links.  The first one sounds like exactly what you need:

https://marketing.adobe.com/resources/help/en_US/target/ov/t_create_orderconfirm-page-mbox-atjs.html
https://marketing.adobe.com/resources/help/en_US/target/ov2/r_target-atjs-trackevent.html

Daniel

Avatar

Level 2

Thanks Daniel.

Not yet using at.js, but will be in the future. For now, would this be possible using mboxDefine() and mboxUpdate?

Chris

Avatar

Korrekte Antwort von
Employee Advisor

Yes you could use mboxDefine and mboxUpdate.  You might want to use some javascript to create a new <div> element to attach to your mboxDefine.