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

Better Numeric / Counter Event Setting

Avatar

Avatar
Boost 50
Level 5
adamhaining
Level 5

Likes

95 likes

Total Posts

51 posts

Correct reply

0 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 5
adamhaining
Level 5

Likes

95 likes

Total Posts

51 posts

Correct reply

0 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
adamhaining
Level 5

27-09-2012

A newer feature of events (although not documented in the help section or KB) is that you can give a counter event a value greater than one really easy without having to use the products variable.  For example, s.events="event1=5".  The only problem is that it cannot have a decimal value, and setting s.products with it just seems silly (although I guess it does work).  We should be able to set a decimal value for any event.  So s.events="1.564".  This would be great for many reasons:

 

1. For a retail site, capture the shipping and tax for the entire order and not have to create an empty product or a "tax" or "shipping" product and set the value there.

2. For videos, we want to capture the GB delivered.  This value is always a decimal value less than 1 (.0056 for example).  Setting it with the products variable is just ugly and messy.

 

It can be easier to set these variables, and it should.  And they should support decimal values, although I'm not sure how many decimal values current numeric events support.  Maybe leave counter events as they are, and allow only integers.  But at least allow for numeric events to be set this way with decimals.

1 Comment

Avatar

Avatar
Ignite 1
Level 9
ericmatisoff1
Level 9

Likes

356 likes

Total Posts

154 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
Validate 1
Boost 50
Boost 5
View profile

Avatar
Ignite 1
Level 9
ericmatisoff1
Level 9

Likes

356 likes

Total Posts

154 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
Validate 1
Boost 50
Boost 5
View profile
ericmatisoff1
Level 9

05-10-2012

Wow - I didn't know about the improvement for calling counter events without calling s.products. Seems silly that decimals aren't supported...