Understanding user interactions, such as sign-ups for different membership plans, is crucial for assessing website performance and optimizing user engagement. Integrating BD websites with Google Analytics 4 (GA4) enables effective tracking of membership plan sign-ups. Here’s a detailed guide on how to set up this tracking.


Part 1: Set Up Tracking on The Brilliant Directories Website


1. Create a New Custom Widget

Begin by accessing the BD website dashboard and creating a new custom widget.


2. Name the Widget

Assign a simple nickname to the widget, such as "Track Sign Ups - Membership Plan Name," to facilitate identification.


3. Insert the Tracking Code

Paste the following code into the widget’s code area on the HTML tab:


<script>
gtag("event", "bronze_plan_sign_up", {
method: "sign_up"
});
</script>

This code configures a custom event in GA4 to be triggered whenever a sign-up for the specified membership plan occurs.


IMPORTANT: Replace bronze_plan_sign_up with the name of the membership plan you're tracking. 

  • NO SPACES
  • NO SYMBOLS
  • USE UNDERSCORES _
  • If there are any spaces or symbols, the tracking will not work
  • Example change: premium_plan_sign_up


 


4. Save Changes

Ensure that the widget is saved to apply the changes.


5. Edit the Membership Plan

Go to Finance > Membership Plans, edit the plan that will have the tracking code, find the "Successful Sign Up / Upgrade Conversion Tracking Code Widget" setting in the first tab of the page, and select the widget created for the tracking code.


Part 2: Set Up Key Event to Track in Google Analytics 4 (GA4)


1. Copy the Event Name

Use the exact event name from the inserted code, for example, bronze_plan_sign_up. 


2. Access GA4 Admin Settings

Navigate to Google Analytics for the website and click on the ADMIN blue icon located at the bottom-left of the page.

3. Navigate to Key Events

Find the DATA DISPLAY section in the sidebar, and click on KEY EVENTS.

4. Create a New Key Event

Click on NEW KEY EVENT and enter the copied event name, such as bronze_plan_sign_up


IMPORTANT: The KEY EVENT name MUST MATCH EXACTLY the event name defined in the tracking code in the widget. 


 

5. Save the Key Event

Click SAVE to finalize the event setup.


Events can be viewed under Reports > User Engagement & Retention > Events.





After adding a new event in GA4, it typically takes about 24 to 48 hours for the event to appear in the Events report. This delay is due to the time required for data processing and reporting updates within Google Analytics 4.


To see the new event sooner, checking the Realtime report might provide immediate insights, though the full data and detailed reports will still be updated within the 24 to 48-hour time-frame.




With the tracking for membership plan sign-ups configured, monitoring these events directly in Google Analytics 4 becomes possible. 


For different membership plans, the process can be repeated with unique event names for each plan.


By following these instructions, valuable insights into user engagement with various membership plans can be obtained, enabling data-driven decisions to enhance website performance.