Can we add Click Tracking on Button through adobe Test and Target

Avatar

Avatar

robinders871029

Avatar

robinders871029

robinders871029

26-03-2019

Can we add Click Tracking on Button ?
<button type="button" class=" button green-btn caps" >View Fares</button>

How to render new mbox on  click of button ?
Can we use  adobe.target.trackEvent ?
Any Example related to that  will be helpful

Replies

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

Andrey_Osadchuk
MVP

27-03-2019

Check this page, there are a few examples of how you can implement trackEvent: https://docs.adobe.com/help/en/target/using/implement-target/client-side/functions-overview/adobe-ta...

Avatar

Avatar

hariharans94469

Avatar

hariharans94469

hariharans94469

25-09-2019

When we are using adobe.target.trackEvent, we cannot use the adobe analytics as goal metric. How can i use adobe analytics as goal metric with custom tracking?

Avatar

Avatar

BrendanJaffary

Avatar

BrendanJaffary

BrendanJaffary

09-10-2019

@hariharans94469549​- Are you using Adobe Launch to manage your link tracking?  You could assign a rule to listen for clicks on the element and send a custom link along with with rendering a new mbox from within the rule.