Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Best way to test a "download app" webpage

Maple-Michelle1
Level 2
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 Reply
ryanr701
Employee
Employee

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'}});
  })