Hi all - I'm looking for some help with the Market...
# support
f
Hi all - I'm looking for some help with the Marketo destination and anonymous events. I have a source that publishes a
track
event that does email and some other info. We currently can send that to Marketo, and it creates an anonymous contact but doesn't add the email address. That wouldn't be a problem if the subsequent
identify
call updated that contact, instead it creates a new one. So the track event never gets associated with any of the contact info. Looking in the payloads leaving RudderStack, it's a new marketo lead ID in each call (instead of reusing the same one). Has anyone experienced anything like that?
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Eden, so when you have the email id that you are sending with the track call, why don't you send an identify event alongside? You can send an identify event and then make the track call. Whenever your traits such as name or email are updated the identify event should be sent.
f
interesting @shy-kite-21035 - I only get one event from the source, but can I use a transformation to turn it into two subsequent events that get sent to marketo?
m
Yes you can duplicate one event into 2 but I was just wondering if there could be a race condition as both the track and identify would have the same timestamp. Hence I would not suggest this method here.
f
got it, I'm not sure if marketo respects ordering in processing events? but perhaps I can modify the time stamps to ensure ordering?
m
I would rather you just send an Identify call once the user provides his email. Again, modifying timestamps may not be that simple since RudderStack has like multiple timestamps (created_at, sent_at, received_at, timestamp) etc so may not be the best option.
f
We do have the user email on the track event, but regardless, when the user subsequently logs in and triggers an identify call, then Marketo believes it's a new contact and creates another new lead, instead of associating if with the anonymous one it created before.
I don't know how to properly tell Marketo that it's the same person as it was before, something is not matching up in term of anonymousid or userid from the source and the lead ID in marketo
does rudderstack keep any state / mapping of IDs?
m
So you have the following 1. A track call with the email id 2. Later on user login, you trigger an identify call with the same email and other user details. Currently what is the primary identifier created in Marketo for 1 and 2?
f
Yes correct... but I don't think the email is getting ingested into Marketo. So in more detail: 1.
track
call creates a Marketo lead that is completely empty except for (the rudderstack)
anonymousId
- that is the only data/id that is ingested from rudderstack and Marketo assigns a new leadId 2. Subsequent
identify
call creates ANOTHER Marketo lead with the provided email, name, company, etc. but fills in the (rudderstack)
userId
and
anonymousID
is blank, and Marketos assigns a new leadId.
m
Oh ok, I ll discuss this with the team once and revert