Allow resetting (clearing) of eVars with the JavaScript beacon

Avatar

Avatar
Boost 5
Level 3
gbodger
Level 3

Likes

19 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 3
gbodger
Level 3

Likes

19 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
gbodger
Level 3

10-07-2012

At the moment, the expiry of eVars is very limited

  1. If you have an event expiry eVar, it will persist across visits
  2. You cannot reset an eVar with multiple events
  3. You cannot clear the value of an eVar dynamically

 

Examples of why this is bad

  1. If a visitor selects a product, and then lets their session time out, on the next visit they will be associated with that product even if your website does not remember them
  2. If you have 2 ways of buying, one online (purchase event) and another reserving in store (referral event) then you cannot expire the products eVar with both, only one
  3. If you have 2 (non-manditory) search boxes and perform a search in one, it will be persisted even if a user then goes on to perform a search with that search box empty

 

The fix

Allow us to reset an eVar in the JavaScript beacon. It could be as simple as setting

s.eVar1 = "~empty~"

 

Which would reset the eVar at that point. It could be done in the s_code or in the DOM

2 Comments

Avatar

Avatar
Boost 5
Level 3
wath360
Level 3

Likes

38 likes

Total Posts

8 posts

Correct reply

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

Avatar
Boost 5
Level 3
wath360
Level 3

Likes

38 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
wath360
Level 3

07-08-2012

I'm not sure doing this thru the JavaScript is the way to go but agree eVar expiry options need  to be made more flexible.

 

Ideally I'd like to see Adobe allow us to select multiple expiry options for each in the admin console.

Avatar

Avatar
Boost 1
Level 1
sefmi81957
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
sefmi81957
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
sefmi81957
Level 1

30-11-2012

Yes we need a way to expire an eVar by more than one custom event. I want to use this for listvars so that I can measure impression/click events in a single listvar.