Skip to main content

We have an internal CRM system that tracks where users fill up a form. If the users directly land on the forms via Ads, it’s easy to get the utms and attribute the conversion to the respective Ad.

But majority of users arrive on the site via an Ad or whichever source and later go away and might come back organically or via other means. Individually, we can go to a user’s event history and see where they came from but with hundreds of leads that’s not possible.

Could we programmatically (any APIs?) fetch a user’s event history or their first “Attribution Captured” event?

Hey @abhyudaya!

 

When a user first lands on our site and the Amplitude JS SDK is initialized, we do a setOnce identify call to set the user properties initial_utm_medium, initial_utm_source,  initial_utm_campaign, and initial_utm_content. We also do a set identify call to set the user properties utm_medium, utm_source, utm_campaign, and utm_content. Each time the user comes back to the site, the latter properties are overwritten to the most recent value, but the initial properties remain unchanged. This gives you FT and LT attribution, and you can segment your events by these user properties. Hope this helps!


Oh, and here’s the Amplitude documentation for more info: https://developers.amplitude.com/docs/javascript#web-attribution


Hi, it doesn’t look like amplitude’s first touch really works, since you overwrite these values when users are merged, with the values from the *new user*.

Is there a way to actually do first touch attribution? We’re finding this quite challenging.

(That link above says “Initial attribution information for users can change if they're merged with another user.”, which means first touch attribution information can be changed later, so its not first touch then)


@waterlooalex check this out: 

 


Reply