Event Serialization Not Working

Avatar

Avatar

LGalliers

Avatar

LGalliers

LGalliers

08-12-2020

Hi all,

 

I'm trying to serialize an event, transactions actually, and whenever I set the eventID the event isn't passed in the call off to Adobe Analytics. I've also tried using purchaseID both set in transactionID in the rule and set using custom code and neither of those approaches works so I'm trying to see if a custom success event will work.

 

If I take the event ID out the event is sent but that doesn't really do what I need.

 

TIA!

Accepted Solutions (0)

Answers (4)

Answers (4)

Avatar

Avatar

Uditgupta1

Avatar

Uditgupta1

Uditgupta1

05-01-2021

Hi @LGalliers ,

 

For s.tl() call if you are using transactionID or purschaseID event for trigger than you need to define them in s.linkTrackVars like:-

 

 

s.events = "event1:123456789";
s.purchaseID = "234322323";
s.linkTrackVars = "events,purchaseID";
s.linkTrackEvents = "event1";

 

 

 

Avatar

Avatar

evolytics_brian

Avatar

evolytics_brian

evolytics_brian

09-12-2020

@LGalliers and @erinm23058054 - What kind of call are you sending?

  • If s.t(), assuming the data element you're using for the ID has a value, it should just work. If not, if you can provide more detail (call type, rule config, etc), someone here can likely offer more guidance.
  • if s.tl(), are you able to confirm that 1) the data element has a value and 2) the s.linkTrackVars and s.linkTrackEvents are populated correctly?

I am sending s.tl() and I was able to confirm that data element has value. I haven't written any custom code to set s.linkTrackVars and s.linkTrackEvents so I dont think those could be set incorrectly. I am however using Search Discovery's product string extension later. However, I dont think any of these should matter, because if I remove the event ID, the event is passed correctly in the call, but if I keep it, this particular event is not send in the call. If there was any issue with s.linkTrackVars and s.linkTrackEvents then call should have affected other variables and event that are getting send on the call. Interestingly, only this event is affected among all the other events and evars on the call.

I would recommend double-checking the s.linkTrackVars and s.linkTrackEvents values. You should see "events" in the former, and the event number (eg: "event99") in the latter. If you see the serialization in s.linkTrackEvents, the event won't be included on the call.

Using "event99" and a serialized ID of "123456789" as examples, I would expect the following:

s.events = "event99:123456789";
s.linkTrackVars = "events"; // and any other variables you need
s.linkTrackEvents = "event99";

 

Avatar

Avatar

erinm23058054

Avatar

erinm23058054

erinm23058054

08-12-2020

I am facing the same issue. I am trying to serialize using Launch. Whenever I keep cart ID in the Event ID, the event doesn't fire. When I remove the event ID the event fire accurately. Adobe analytics configuration are also correct, Unique event recording is chosen through event ID.

 

Screen Shot 2020-12-08 at 8.41.34 PM.png

Avatar

Avatar

ishans52004352

Employee

Avatar

ishans52004352

Employee

ishans52004352
Employee

08-12-2020

Success Event should work. Can you please check and ensure that the syntax is correct? Also, the settings are correctly chosen in the Analytics UI.