Closed Bug 1032863 Opened 10 years ago Closed 10 years ago

RID tracking is broken when logging in via new Angular modal

Categories

(Webmaker Graveyard :: webmaker.org, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adam, Assigned: cade)

References

Details

(Whiteboard: [metrics] [July25])

Attachments

(1 file, 1 obsolete file)

The new Angular pages use a new modal window for creating a new user account, and not the default one built into webmaker-auth-client.

The logic that saves a RID to a new user account is not replicated in this alternative modal, so new accounts created via the new pages will not get RIDs applied to them.

This is where the ref ID gets passed to login.webmaker.org in the default modal:
https://github.com/mozilla/webmaker-auth-client/blob/master/webmaker-auth-client.js#L182

We're now using RIDs for real tracking (e.g. snippet and Maker Party partners) so it would be good to fix this as soon as we can.
Assignee: kate → jon
Status: NEW → ASSIGNED
Whiteboard: [July11] → [metrics] [July11]
Is this still planned for today? I noticed the angular login modal has rolled out to more pages now so we're missing a bit more data.
Whiteboard: [metrics] [July11] → [metrics] [July25]
Assignee: jon → cade
Attachment #8455618 - Flags: review?(jon)
Comment on attachment 8455618 [details] [review]
https://github.com/mozilla/webmaker.org/pull/870

This is a good fix for webmaker.org, but we should fix it for all pages using angular by editing https://github.com/mozilla/webmaker-auth-client/blob/master/webmaker-auth-client.js#L289 to include the cookieRefValue directly.
Attachment #8455618 - Flags: review?(jon) → review-
Attachment #8455618 - Attachment is obsolete: true
Attachment #8456144 - Flags: review?(jon) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
appmaker's update over at https://github.com/mozilla-appmaker/appmaker/pull/1865 fails Travis, as well as local dev npm install, so reopened for the moment, some more fixes required.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Mike "Pomax" Kamermans [:pomax] from comment #14)
> appmaker's update over at
> https://github.com/mozilla-appmaker/appmaker/pull/1865 fails Travis, as well
> as local dev npm install, so reopened for the moment, some more fixes
> required.

It was a weird network problem with the webmaker-download-locales script that seems to have fixed itself. I also realized that appmaker commits bower modules, so I did that too
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Blocks: 1046408
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: