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

Add GUI element to add values to Analytics events

Avatar

Avatar
Give Back 100
Level 9
thomas_amsler
Level 9

Likes

244 likes

Total Posts

159 posts

Correct reply

26 solutions
Top badges earned
Give Back 100
Give Back 50
Ignite 10
Give Back 25
Ignite 5
View profile

Avatar
Give Back 100
Level 9
thomas_amsler
Level 9

Likes

244 likes

Total Posts

159 posts

Correct reply

26 solutions
Top badges earned
Give Back 100
Give Back 50
Ignite 10
Give Back 25
Ignite 5
View profile
thomas_amsler
Level 9

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
Give Back 200
Community Advisor
Stewart_Schilling
Community Advisor

Likes

348 likes

Total Posts

279 posts

Correct reply

85 solutions
Top badges earned
Give Back 200
Ignite 5
Ignite 3
Give Back 100
Give Back 50
View profile

Avatar
Give Back 200
Community Advisor
Stewart_Schilling
Community Advisor

Likes

348 likes

Total Posts

279 posts

Correct reply

85 solutions
Top badges earned
Give Back 200
Ignite 5
Ignite 3
Give Back 100
Give Back 50
View profile
Stewart_Schilling
Community Advisor

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
Give Back 100
Level 9
thomas_amsler
Level 9

Likes

244 likes

Total Posts

159 posts

Correct reply

26 solutions
Top badges earned
Give Back 100
Give Back 50
Ignite 10
Give Back 25
Ignite 5
View profile

Avatar
Give Back 100
Level 9
thomas_amsler
Level 9

Likes

244 likes

Total Posts

159 posts

Correct reply

26 solutions
Top badges earned
Give Back 100
Give Back 50
Ignite 10
Give Back 25
Ignite 5
View profile
thomas_amsler
Level 9

04-06-2018

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

Avatar

Avatar
Give Back 25
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct reply

18 solutions
Top badges earned
Give Back 25
Ignite 1
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Give Back 25
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct reply

18 solutions
Top badges earned
Give Back 25
Ignite 1
Give Back 10
Give Back 5
Give Back 3
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
Give Back 200
Community Advisor
Stewart_Schilling
Community Advisor

Likes

348 likes

Total Posts

279 posts

Correct reply

85 solutions
Top badges earned
Give Back 200
Ignite 5
Ignite 3
Give Back 100
Give Back 50
View profile

Avatar
Give Back 200
Community Advisor
Stewart_Schilling
Community Advisor

Likes

348 likes

Total Posts

279 posts

Correct reply

85 solutions
Top badges earned
Give Back 200
Ignite 5
Ignite 3
Give Back 100
Give Back 50
View profile
Stewart_Schilling
Community Advisor

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
Give Back 1000
Level 10
jantzen_belliston-Adobe
Level 10

Likes

359 likes

Total Posts

2,372 posts

Correct reply

823 solutions
Top badges earned
Give Back 1000
Give back 900
Give Back 800
Give Back 700
Give back 600
View profile

Avatar
Give Back 1000
Level 10
jantzen_belliston-Adobe
Level 10

Likes

359 likes

Total Posts

2,372 posts

Correct reply

823 solutions
Top badges earned
Give Back 1000
Give back 900
Give Back 800
Give Back 700
Give back 600
View profile
jantzen_belliston-Adobe
Level 10

13-02-2019

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

Avatar

Avatar
Give Back 25
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct reply

18 solutions
Top badges earned
Give Back 25
Ignite 1
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Give Back 25
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct reply

18 solutions
Top badges earned
Give Back 25
Ignite 1
Give Back 10
Give Back 5
Give Back 3
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
Give Back 200
Community Advisor
Stewart_Schilling
Community Advisor

Likes

348 likes

Total Posts

279 posts

Correct reply

85 solutions
Top badges earned
Give Back 200
Ignite 5
Ignite 3
Give Back 100
Give Back 50
View profile

Avatar
Give Back 200
Community Advisor
Stewart_Schilling
Community Advisor

Likes

348 likes

Total Posts

279 posts

Correct reply

85 solutions
Top badges earned
Give Back 200
Ignite 5
Ignite 3
Give Back 100
Give Back 50
View profile
Stewart_Schilling
Community Advisor

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
Affirm 500
Employee
Gigazelle
Employee

Likes

479 likes

Total Posts

1,949 posts

Correct reply

740 solutions
Top badges earned
Affirm 500
Applaud 500
Give Back 1000
Ignite 90
Coach
View profile

Avatar
Affirm 500
Employee
Gigazelle
Employee

Likes

479 likes

Total Posts

1,949 posts

Correct reply

740 solutions
Top badges earned
Affirm 500
Applaud 500
Give Back 1000
Ignite 90
Coach
View profile
Gigazelle
Employee

13-02-2019

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

Avatar

Avatar
Give Back 25
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct reply

18 solutions
Top badges earned
Give Back 25
Ignite 1
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Give Back 25
Level 4
gflare
Level 4

Likes

33 likes

Total Posts

52 posts

Correct reply

18 solutions
Top badges earned
Give Back 25
Ignite 1
Give Back 10
Give Back 5
Give Back 3
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
Give Back 200
Community Advisor
Stewart_Schilling
Community Advisor

Likes

348 likes

Total Posts

279 posts

Correct reply

85 solutions
Top badges earned
Give Back 200
Ignite 5
Ignite 3
Give Back 100
Give Back 50
View profile

Avatar
Give Back 200
Community Advisor
Stewart_Schilling
Community Advisor

Likes

348 likes

Total Posts

279 posts

Correct reply

85 solutions
Top badges earned
Give Back 200
Ignite 5
Ignite 3
Give Back 100
Give Back 50
View profile
Stewart_Schilling
Community Advisor

15-02-2019

Nicely done! 

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