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
BedrockMission!

Learn More

View all

Sign in to view all badges

How to track several clicks on trackEvent button

Avatar

Avatar
Give Back 5
Level 2
Tienzen
Level 2

Like

1 like

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 1
View profile

Avatar
Give Back 5
Level 2
Tienzen
Level 2

Like

1 like

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 1
View profile
Tienzen
Level 2

01-03-2021

I've got buttons for which i want to track the number of click on it.
[-][+]

$('.button-more').click(function(event){
adobe.target.trackEvent({'mbox':'buttomMore'})
});

By using the code above, i can see each time the same button is clicked, a hit fired on the Chrome Network Tab.

Ex: clicked 3 times
json?mbox=buttomMore&mboxSessi...
json?mbox=buttomMore&mboxSessi...
json?mbox=buttomMore&mboxSessi...

 

My problem is the metric is just counted one time in reporting.

Is it an usual behavior ?
Is there a way to count every clicks of the same button ?

Accepted Solutions (0)

Answers (0)