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

Add GUI element to add values to Analytics events

Avatar

Avatar
Validate 1
Level 8
thomas_amsler
Level 8

Likes

243 likes

Total Posts

159 posts

Correct Reply

26 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 8
thomas_amsler
Level 8

Likes

243 likes

Total Posts

159 posts

Correct Reply

26 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
thomas_amsler
Level 8

30-05-2018

Currently in DTM and Launch, events can only be set either empty for increment by 1 or serialized from value. But with the Numeric type an event can also have an actual value. So I'd like to have two input fields in the event section of the "Set Variables" Action Type from the Analytics Extension.

  1. Serialize from value (optional) -> as is
  2. Value (optional) -> new

So option 1 would create a an event like "eventN:%serializedFromValue%" and option 2 "eventN=%value%"

Currently this can only be done with custom code which I would like to use as little as possible and here I have to add the event to s.linkTrackEvents whereas the one set with the gui are added automatically:

s.linkTrackEvents = 'event10';

s.events += ',event10=' +value

10 Comments

Avatar

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile
StewSchilling
MVP

31-05-2018

Funny, I ran across the exact same thing yesterday and spent a minute scratching my head wondering if it had always been this way.  I am in total agreement with Thomas.

One other option for the UI would be to change the action value to a drop-down so you could select either "Set Value" or "Serialize from Value":

[event_selection][V]   [Set Value || Serialize from Value][V]   [Value][D]

Avatar

Avatar
Validate 1
Level 8
thomas_amsler
Level 8

Likes

243 likes

Total Posts

159 posts

Correct Reply

26 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 8
thomas_amsler
Level 8

Likes

243 likes

Total Posts

159 posts

Correct Reply

26 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
thomas_amsler
Level 8

04-06-2018

True, that would probably be even better and less confusing than two input fields with different purposes.

Avatar

Avatar
Validate 1
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct Reply

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

Avatar
Validate 1
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct Reply

18 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
gflare
Level 4

13-02-2019

I agree with this, seeing it a little late.  It would also be possible to accomplish this and allow data element logic at the same time.

Link to the other thread, could be grouped in with this depending on how they decide to implement it: Set Variables Actions - Events should have set/no-set logic

Avatar

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile
StewSchilling
MVP

13-02-2019

It looks like this idea has been implemented.  Awesome!  jantzen.belliston-Adobe Can you update the status of it?

gflareHave you tested this to see if it solved the set/no set issue?

Screen Shot 2019-02-13 at 10.33.04 AM.png

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

13-02-2019

Thanks for tagging me stewarts16448458​. I'll have Gigazelle​ review and update the status accordingly.

Avatar

Avatar
Validate 1
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct Reply

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

Avatar
Validate 1
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct Reply

18 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
gflare
Level 4

13-02-2019

stewarts16448458 , thanks for pointing it out - I tried a few possibilities today.  Seems to always set the event, no matter what the returned value is.

I've tried using data elements that return 0, a blank string, and false, but they all unfortunately still result in the event getting set.

Avatar

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile
StewSchilling
MVP

13-02-2019

I would agree that it is desirable to omit an event that has no value. 

With the exception of the built-in events (prodView, scOpen, scView, scAdd, etc), I'm pretty sure that setting to 0 is the same as not setting (even with counter events).  It was not this way historically, but I'm pretty sure that it works that way now.   As a tidbit, you can now increment counter events by more than one.   I've also seen people using negative event values although I don't I'm ready for that leap yet!

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,947 posts

Correct Reply

740 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,947 posts

Correct Reply

740 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

13-02-2019

Done! Thanks stewarts16448458​ for being a rockstar and letting us know.

Avatar

Avatar
Validate 1
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct Reply

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

Avatar
Validate 1
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct Reply

18 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
gflare
Level 4

15-02-2019

Thanks Stewart,

To wrap this up; I tried a few scenarios to see the results on "counter-type custom events".  Below is the outline and results.

Quick result summary:

Yes, if your data element returns '0'; or you place a 0 in the GUI, then the counter event will not be set for the record in the report suite after processing.  However, the event and value are still included in the beacon call.

Side note: Any other values returned, that I've tried, still result in the custom event being collected as usual.

Next-step: Is there any way to completely avoid setting & sending it?

My setup details and results

Within my Rule > Actions > Analytics SetVars

util.blank = return '';

util.false = return false;

util.zero = return 0;

util.zerostring = return '0';

1692291_pastedImage_0.png

Actual data applied to tracker:

1692292_pastedImage_1.png

1692293_pastedImage_2.png

1692294_pastedImage_3.png

Data sent Via debugger of record sent:

event201,event202,event203,event204=0

Data processed via report suite:

1692295_pastedImage_4.png

Avatar

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile

Avatar
Coach
MVP
StewSchilling
MVP

Likes

342 likes

Total Posts

278 posts

Correct Reply

85 solutions
Top badges earned
Coach
Give Back 25
Springboard
Bedrock
Validate 1
View profile
StewSchilling
MVP

15-02-2019

Nicely done! 

Screen Shot 2019-02-15 at 8.17.18 AM.png