Expand my Community achievements bar.

SOLVED

DTM: Event Based Rules: Serialize from value

Avatar

Level 5

Hi,

I have created some Event Based Rules to track critical conversion activities. Currently the Custom Event Variables I with these rules are set to "Record Once Per Visit".

My preference is to record these events once per Visitor.

I see there is another option to "Use Event ID" and I can see an option in my Event Based Rules to "Serialize from value".

How do I use this option?

I would like serialize using the "Marketing Cloud Visitor ID" (MCVID). What do I type into that box? If it helps, I'm capturing the MCVID in an eVar.

Thanks,

Ali

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Ali, 

Since you are already aware about the concept of "Event Serialization" you can use the option "Serialize from value"  to basically either specify the Event ID directly or to Specify the Event ID from a Data Element.

Please see below attached snapshot for more information regarding where Event1 is serialized from a data element value which is capturing MID value and Event 2 is directly serialized.

Please see the following documentation for more info on event serialization :

https://marketing.adobe.com/resources/help/en_US/sc/implement/event_serialization_impl.html

http://www.endressanalytics.com/2016/03/adobe-dtm-when-to-use-event-serialization/

However , Please note that Serialization IDs must be 20 characters or less and MID value is longer than 20 Chars

Thanks & Regards

Parit Mittal

View solution in original post

5 Replies

Avatar

Correct answer by
Level 10

Hi Ali, 

Since you are already aware about the concept of "Event Serialization" you can use the option "Serialize from value"  to basically either specify the Event ID directly or to Specify the Event ID from a Data Element.

Please see below attached snapshot for more information regarding where Event1 is serialized from a data element value which is capturing MID value and Event 2 is directly serialized.

Please see the following documentation for more info on event serialization :

https://marketing.adobe.com/resources/help/en_US/sc/implement/event_serialization_impl.html

http://www.endressanalytics.com/2016/03/adobe-dtm-when-to-use-event-serialization/

However , Please note that Serialization IDs must be 20 characters or less and MID value is longer than 20 Chars

Thanks & Regards

Parit Mittal

Avatar

Level 5

Parit, thanks for the reply. This is exactly what I intended it for and have been testing it with MID but I didn't realize it was limited to 20 characters.

This is really too bad because I need a way to count certain events only once per Visitor.

Any other suggestions?

Ali

Avatar

Level 10

Hi Ali, 

The only alternate way I can think of is that If the visitors LogsIn to the system with a unique user Id and Hence using the User ID to serialize the event such that event are only counted once per visit.

Thanks & Regards

Parit Mittal

Avatar

Level 2
Beware. Serialization applies *forever* essentially. So if you set an event, serialised to a user ID, then it will only be counted once *ever* for that User ID. It doesn't cause them to be only counted 'once per visit' as you've stated here. It would be better to use the 'Once per visit' option for the event rather than Serialization, for this specific use-case I think.

Avatar

Level 5

Hi Parit,

I like this idea but I'm not sure how it would work.

If I capture the Username in an eVar on the Login page, can I use that eVar to serialize an event on a different page? How?

Otherwise, is there a way to capture the Username on that second page? These are SalesForce pages on force.com.

Ali