Hi there !
I have the exact same problematic.
We want to track the fact that the user has successfully confirmed his email after inscription.
I identified the /confirm/
page being the page where the user is directed after his email confirmation, so i can add code like this one in the HEAD section :
if (document.location.pathname.indexOf("/confirm/") === 0) {
fbq("track", "CompleteRegistration");
}
But it appears to be a very brittle approach as i don't know if the confirmation was really successfull.
So, is your commit a way to know that the registration was successfull via the registered
param ?
And.. is there a standard way in the admin panel to add custom code at the end of the page and preferrably after jQuery is loaded to inspect the page content ?