Description
What article on segment.com/docs is affected?
What part(s) of the article would you like to see updated?
#amplitude-settings-mapping
There are a few Amplitude Classic settings that are not mentioned in the #amplitude-settings-mapping table:
Track Referrer to Amplitude - this setting only works when Amplitude Classic is connected to Analytics.js source and enabled in device-mode. Enabling this will send referrer information as a user property to Amplitude when you call Segment’s page method.
When using Amplitude Actions, you can simply send referrer as a user property by updating the User Properties mapping:
Track UTM Properties to Amplitude - works out-of-the-box. With Amplitude Classic, you would need to make sure that UTM parameters are passed within context.campaign dictionary (Analytics.js does it automatically).
With Amplitude Actions, default mapping also expects UTM parameters to be passed within context.campaign.
These two device-mode specific settings cannot be migrated to Amplitude Actions as saveParamsReferrerOncePerSession and unsetParamsReferrerOnNewSession options cannot be passed to Amplitude server-side (using API):
Save Referrer, URL Params, GCLID Once Per Session - device-mode setting only, from Amplitude JavaScript SDK docs - Tracking UTM Parameters, Referrer, and gclid (JavaScript). When this option is enabled in Segment, option saveParamsReferrerOncePerSession is passed as true to Amplitude SDK so that UTM parameters are not overwritten for the user within the same session.
Unset Params Referrer On New Session - also a device-mode setting only which can be used to set the Amplitude unsetParamsReferrerOnNewSession option, if
false
, the existingreferrer
andutm_parameter
values will be carried through each new session.
Additional information
We've had a couple of customers write into support about the Amplitude Actions destination not having information around some of the previous settings that were available in the Amplitude Classic destination.
Feel free to reference this ticket.