since ‎25-07-2018
‎10-02-2021
robinders871029
Level 2
Can we add Click Tracking on Button through adobe Test and Target
Avatar

robinders871029

robinders871029
- Adobe Target
Can we add Click Tracking on Button ?View FaresHow to render new mbox on click of button ?Can we use adobe.target.trackEvent ?Any Example related to that will be helpful

Views

3.7K

Likes

3

Replies

3
Using - adobe.target.trackEvent - to track the click on Element, but its throwing error in the console -
Avatar

robinders871029

robinders871029
- Adobe Target
$(document).on("click",".className",function() {adobe.target.trackEvent({'mbox' :'Legacy_Search_Mbox'}) }); Getting this error in the console, when element is clicked. Uncaught (in promise) No target request performance timing was found . is there way to debug this one ?

Views

1.8K

Likes

0

Replies

2
[mboxCreate()] document.currentScript is missing or not supported/Track event request failed
Avatar

robinders871029

robinders871029
- Adobe Target
Using this to Generate a mbox on click of element , but Getting error in the console.$(document).ready(function() { mboxCreate('mboxClickTrack_showRegister'); var hits = 1; //->variable // Everything below this line is called "binding" a handler to an event (click event) $('#element_1').click(function() { // --> handler or listener if (hits === 1) //for only first hit. { // do Something over here for hits = 1 console.log('hits_numbers ' + hits); adobe.target.trackEvent({ 'mbox': 'mboxClickTrack_...

Views

1.8K

Like

1

Replies

1
Likes given to