Webmaker/Maker Party/referrer api

From MozillaWiki
Jump to: navigation, search

Referrer ID's

A Referrer ID (RID) is a code that can be associated with new Webmaker accounts. When set, the RID will persist across all webmaker.org sites and tools, ensuring that if the user navigates to a different page or tool, the RID will still be there if they create an account. The RID is automatically applied to any user account that's created while the RID cookie exists. It will remain valid in a user's browser for thirty days, as long as the cookie isn't removed manually by the user.

How To Use

RID's can be set by specifying them as part of the query string of a URL.

For example here's several ways to set the RID to "mozilla":

https://webmaker.org/?ref=mozilla

https://webmaker.org/?ref=mozilla

https://webmaker.org/teach?ref=mozilla

https://webmaker.org/teach?ref=mozilla

Note: on the events website, this needs to appear before the #!

https://events.webmaker.org/?ref=mozilla#!/

https://popcorn.webmaker.org/?ref=mozilla

https://thimble.webmaker.org/project/952/remix?ref=mozilla

makes.org URLs (published makes) will not work with RID's because they do not share the same domain as Webmaker.