alias event records that your game opened your website with a cross-domain link. Manalens then links the browser’s anonymous ID to the game’s, so reports count the browser and the game install as one player, without identify. The browser keeps its own anonymous ID. It is a track event with channel web.
When it is sent
- Your game makes a link with
get_cross_domain_url()(Godot) orGetCrossDomainUrl()(Unity, Unreal). A browser game on another domain usesgetCrossDomainUrl()(Web SDK). The link hasmn_aid=<anonymous ID>. - The Web SDK on your website reads the parameter, removes it from the address bar, and sends one
aliasevent. No setup is needed.
- In consent mode, the event waits for
setConsent(true). It is dropped afteroptOut(),reset()orsetConsent(false). - It is not sent on an excluded page. It is not sent when the game’s anonymous ID is the browser’s own ID (a game on your own domain already shares it).
Properties
Manalens keeps
previous_id only on a web event with an anonymous_id, when previous_id is a UUID that differs from the event’s own ID. Otherwise it removes the property and stores the rest of the event, and no link is made.