Level 1

0% to

Level 2

Tip /

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

View all

avez
Level 1

Likes

0 likes

Total Posts

3 posts

0 solutions
View profile

avez
Level 1

Likes

0 likes

Total Posts

3 posts

0 solutions
View profile
avez
Level 1

11-02-2020

Hi All,

I want to understand exactly what is the difference between two example

(For below I have configure button click tracking with below event value and click the button 6 times and can see the number for the event2 as 30)

// A counter event that counts multiple instances:
s.events="event2=5";

(For below I have configure button click tracking with below event value and click the button 5 times and can see the number for the event5 as 34)
// An incrementor event can be implemented one of two ways.

s.events="event5=6.75";

If both the configuration is increment the value for the events then what is the difference

#### Accepted Solutions (1)

MVP

Likes

537 likes

Total Posts

968 posts

263 solutions
View profile

MVP

Likes

537 likes

Total Posts

968 posts

263 solutions
View profile
MVP

14-02-2020

Avez,

Sorry, your question looks like "5x5=25 while 4x3=12, what is the difference?.."

Could you elaborate what you would like to understand about the events?

Hi Andrey

My bad I was not able to explain my query

I want to understand exactly what below statement means (highlighted in bold)

// A counter "event that counts multiple instances":
If I set s.event2=5 and click a button six times then what value event2 will have ? If event2 set on button click only

So that it will be easier to understand, I will break it down:

s.events="event2"; //event2 will be incremented by 1
s.events="event2=5"; //event2 will be incremented by 5

If you set s.events="event2=5" on each click, after 6 clicks the total in the report will indicate 30.

I have created new event variable of type incrementor and have set following value

s.events="event5=6"; event fires on button click . If I click button 5 times then as per my understanding the value for event5 will be 30

My query is even if I define the event as counter or incrementor  output is same.

I would like to understand what is the difference between both event definition (counter or incrementor ) if both having same output