Expand my Community achievements bar.

Join Cristinel Anastasoaie, Timothy Furlow, and Brent Kostak, WEDNESDAY, 2/28/24 @8am PT for the next Adobe Target Community Q&A Coffee Break on topics from the recent High Performance Recommendations Webinar PT 2 of the ongoing Target Personalization Maturity Webinar Series
SOLVED

Best way to test a "download app" webpage

Avatar

Level 2

Just wondering if there's another way that someone had tried to test when visitors click the "google play store" and "apple app store" on their website other than using clicked an element in target? 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @Maple-Michelle1

I think the "clicked an element" method is probably the easiest one to use. However, there are other ways. You could use a custom code modification in the VEC (or via a form composed test) to add a small JS that inserts an onclick action on the button/link to fire an adobe.target.trackEvent(). This allows you to create a custom mbox name and then in the goals settings you pick conversion > viewed an mbox. Then select the custom mbox name in the trackEvent(). This also allows you to add custom parameter to the request if you want to further qualify the conversion in some way. Something like this would do:

document.querySelector('#playStoreButton').addEventListener('click', function(event) {
    adobe.target.trackEvent({mbox:'clickCapture', params:{'param1':'value1'}});
  })

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi @Maple-Michelle1

I think the "clicked an element" method is probably the easiest one to use. However, there are other ways. You could use a custom code modification in the VEC (or via a form composed test) to add a small JS that inserts an onclick action on the button/link to fire an adobe.target.trackEvent(). This allows you to create a custom mbox name and then in the goals settings you pick conversion > viewed an mbox. Then select the custom mbox name in the trackEvent(). This also allows you to add custom parameter to the request if you want to further qualify the conversion in some way. Something like this would do:

document.querySelector('#playStoreButton').addEventListener('click', function(event) {
    adobe.target.trackEvent({mbox:'clickCapture', params:{'param1':'value1'}});
  })