내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Counter Evars: Can they measure ZERO ?

Avatar

Level 3

I have a circumstance where we are being asked to measure when something is ZERO, but also accumulate the total before an event

It is understood that the absence of an evar would be 'Unspecified' but in this particular request the ask is to have "0" displayed along with the other accumulated digits

Judging by the absence of any documentation about not incrementing a counter evar, I assume that "=0" "=+0" OR "=-0" would not work

Further in the event of a visit that never accumulates, I doubt that a "0" would render in reporting (assuming any of the above did work)

My expectation is that the solution is to not set the evar, but only accumulate with "=+N" and assume Unspecified means the visitor has not accumulated yet

I recognize this is an outlier use case, but perhaps someone has had a similar request

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 3

Since there is no Adobe documentation on this apart from defining the ability to increment or decrement an integer, I'm going to go with my gut and say that it is not a valid use of a Counter eVar

As a solution through sterile testing, I have proved that 'Unspecified' truly represents the absence of being exposed to this Counter eVar and the team is satisfied with the answer

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Community Advisor

I don't think you can send a zero event and report on that - but never tryed it your neither I know the answer.

A similar case from our implementation is the search. we have a counter event for the number of search results (only set if there are any search results). and a second event which is set on each performed search (set to 1 for each search). this way we can filter on hits where "search" is 1 and "search results" does not exists - giving us the number of searches without result.

other options to get the zero results:

- set a 3rd event if search has no results

- if you have an evar (eg. search term), you can use "eVar instances" for the total searches performed.

hope that helps ...

Avatar

Level 3

Thank you for the reply

This is particularly referring to the Counter setting for eVars. I think your response (which is correct) is in the context of numeric events?

Avatar

Community Advisor

oh, sorry for that, should have read the question more carefully but never tried counter eVars with zero neither ...

Avatar

정확한 답변 작성자:
Level 3

Since there is no Adobe documentation on this apart from defining the ability to increment or decrement an integer, I'm going to go with my gut and say that it is not a valid use of a Counter eVar

As a solution through sterile testing, I have proved that 'Unspecified' truly represents the absence of being exposed to this Counter eVar and the team is satisfied with the answer