sign_up Event
The sign_up
event is used to track when a user completes a registration or sign-up flow. This is a key conversion event and often a primary goal in SaaS, subscription, and ecommerce businesses.
The sign_up model
This model captures user registration information, the method of sign-up, and any user identifiers used for attribution or remarketing.
Properties
- Name
event
- Type
- string
- Description
Must be set to
sign_up
.
- Name
method
- Type
- string
- Description
The method used to sign up (e.g.,
email
,google
,facebook
).
- Name
user_id
- Type
- string
- Description
Unique identifier for the newly registered user.
- Name
session_id
- Type
- string
- Description
Unique identifier for the user's current session.
- Name
user_data.email_hash
- Type
- string
- Description
Hashed email (SHA-256, lowercase, trimmed).
- Name
user_data.phone_hash
- Type
- string
- Description
Hashed phone (SHA-256, lowercase, trimmed).
Push event to the dataLayer
Here is an example of how to structure and push the sign_up
event to the dataLayer:
dataLayer.push example
dataLayer.push({
event: 'sign_up',
method: 'email',
user_id: 'abcd1234-efgh-5678-ijkl-0987654321zx',
session_id: 'session-xyz',
user_data: {
email_hash: 'abc123examplehashedemail0987',
phone_hash: 'def456examplehashedphone6543'
}
});
Best Practices
- Fire the event only once the sign-up is confirmed.
- Normalize and hash emails and phone numbers before sending.
- Include the
method
for better segmentation and performance reporting. - Match this event with conversions in GA4, Meta Pixel, and similar platforms.
Use Cases
The sign_up
event is used for:
- Conversion tracking for lead generation and SaaS funnels
- Optimizing signup flows
- Building remarketing audiences
- Cross-channel performance measurement