Meta · Track an eventStep 1 of 3

Track CompleteRegistration

The CompleteRegistration event fires when a visitor finishes creating an account on your site. Use this for SaaS sign-ups, membership signups, or any flow where account creation is the conversion goal.

Example of a post-signup welcome page
CompleteRegistration fires on the page right after a successful signup.

1. Copy the snippet

Option A — pbq (recommended)

welcome.html
<!-- Place inside the <body> of your post-signup page
     (e.g. /welcome, /onboarding), AFTER the AdsPing script in <head>. -->
<script>
  pbq('track', 'CompleteRegistration', {
    content_name: 'Free account',
    status: true,
    value: 0,
    currency: 'USD'
  });
</script>

Option B — dataLayer

welcome.html
<!-- Place inside the <body> of your post-signup page
     (e.g. /welcome, /onboarding), AFTER the AdsPing script in <head>. -->
<script>
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({
    event: 'sign_up',
    method: 'email',
    value: 0,
    currency: 'USD'
  });
</script>

2. Where to paste it

Paste it inside the <body> of your post-signup landing page (e.g. /welcome, /onboarding, /getting-started). A user only lands here after the signup succeeded — perfect place to fire the event.

Code editor showing CompleteRegistration on a welcome page

3. Test it

Sign up with a test email. After landing on your welcome page, check Recent Events in AdsPing — a CompleteRegistration row should appear within 10 seconds.

AdsPing Recent Events showing a CompleteRegistration event

✓ CompleteRegistration is live.

Meta will now optimize your ads toward visitors most likely to sign up.