Lead Generation
Step-by-Step Guide to Adding Lead Generation Features in playgen.io
Setting Up Lead Generation Features
Lead generation features allow you to capture valuable user information by gating certain game content behind a login or sign-up requirement. This is similar to implementing paywalls or login walls, but with the goal of driving user registration and collecting leads. playgen.io provides the flexibility to integrate your own lead generation system, or you can use our built-in solution if needed.
Step 1: Choose Which Features to Gate for Lead Generation
Decide which features or content you want to gate as lead generation opportunities. Common choices include:
- Leaderboard Access: Require users to sign up or log in before they can view the leaderboard.
- Archive Content: Restrict access to past games or exclusive content until users provide their information.
- Advanced Stats and Analytics: Limit detailed analytics to registered users only.
These gated features encourage users to register and become part of your audience, supporting long-term engagement and marketing initiatives.
Step 2: Enable Gating for Lead Generation
In the Admin Portal:
- Go to the Game Settings section.
- Select the feature you wish to gate, such as Leaderboard or Archive.
- Enable the Gated option for each feature you want to use for lead generation.
With this enabled, users will trigger a request event when they attempt to access the gated feature, allowing you to prompt them to sign up or log in.
Step 3: Listen for Request Events in Your Application
When a user tries to access a gated feature, playgen.io will send a request event (e.g., PLAYGEN_REQUEST_LEADERBOARD
or PLAYGEN_REQUEST_ARCHIVE
) to your application. Set up an event listener to capture and respond to these events.
Example Event Listener
Add the following code to your application to listen for lead generation request events: