Quick start with Mega

Use a TEST project to walk through event tracking: sign in, create a project, submit a tracking plan, and see your first event pass validation.

The screenshots use demo data. Follow the numbered markers and select an image to open it at full size.

1. Sign in and choose a subject

Open the Mega sign-in address provided by your administrator. Enter the tenant ID, account, and password your administrator gave you, then select Open Console. Confirm you are signed in to the tenant you intend to set up.

Mega sign-in form
① Enter the tenant ID, ② the account, and ③ the password. ④ Select Open Console.

Open Subject Management in the sidebar and use an existing, enabled user subject. If the business area has no subject yet, select New Subject and enter its name and business description. If your account lacks permission, ask a tenant administrator to make the change.

Enabled subjects in Mega
① Open Subject Management. ② Verify that your subject is enabled. This example uses Demo Users.

2. Create a project and define a test event

Go to Tracking and Events → Project Settings → New Project. Enter a stable project code and a recognizable project name, then create the project and generate its keys. Store both full source keys (TEST and PROD) securely. This walkthrough uses only the TEST key.

Mega project settings
① Open Tracking and Events. ② Choose Project Settings. ③ Select New Project.
New project form in Mega
① Enter a project code such as demo_web. ② Enter a name. ③ Select Create and generate keys.

Under Edit Settings, add the test site’s origin to the TEST allowlist, for example https://test.example.com (no path). Then, in Event Definitions, select the project and create an event with the code demo_click. Fill in the name, subject, owner, and trigger (a click on the test button). Add a string field named button_id, then save the event and check its version.

Edit Settings on the Mega project list
① Select Edit Settings on the row for the project you created.
Mega TEST environment settings
① Enter the allowed origin in the TEST panel. ② Save the TEST settings.
Event Definitions in Mega
① Open Event Definitions. ② Choose the project you created. ③ Select New Event.
Mega event definition form
① Enter demo_click. ② Choose a subject and fill in the remaining required fields. ③ Add the string field button_id. ④ Save the event.

3. Submit the plan and set up the test page

Go to Tracking Plans → New Plan. Enter a code, name, business scenario, and activation criteria. Select your event, check its pinned version, and set the minimum sample count to 1. Save the plan, then select Submit for validation.

Tracking Plans in Mega
① Open Tracking Plans. ② Select New Plan.
Required events on the Mega plan form
Fill in the plan details, then ① select demo_click, ② set the minimum sample count to 1, and ③ save.
Submit-for-validation action in the Mega plan list
① Select Submit for validation on the plan you saved, then confirm.

In Integration Guide, select TEST and confirm that a Manifest version appears. Have the test page owner add the SDK setup and event call from the guide, using its project ID and the full TEST key. When the test button is clicked, the page should send demo_click with button_id set to start.

TEST integration guide and SDK setup in Mega
① Open Integration Guide. ② Choose TEST. ③ Check the Manifest version. ④ Copy the SDK setup example. If no version appears, refresh and select the project and TEST again.

4. Verify your first event

In Realtime Validation, select the same project, enter the full test page URL, set the collection environment to TEST, and select Start Validation. Then open the test page and click the test button. Confirm that the event code appears with the status VALID.

Mega Realtime Validation launch form
① Open Realtime Validation and check the project. ② Enter the full test page URL. ③ Choose TEST. ④ Select Start Validation.

Realtime Validation shows only events received after you start listening. If nothing appears, trigger the event again and check the project ID, TEST key, allowed origin, and TEST Manifest. If the event appears but fails, use the result details to fix the fields and retry. Once you see VALID, the walkthrough is complete.

Mega test event results
Click the test button on your test page. ① Check that demo_click shows VALID in the results.