Module 7 · In Studio · challenge 2 of 2 in this lesson

A new OpenedShop step sits between SurvivedDrill and FirstPurchase

A test in Studio grades it and prints a pass code.

Open

Level 3, Professional

Challenge

Add an OpenedShop funnel step. The test is challenges/analytics-funnel.luau and the written solution is challenges/solutions/analytics-funnel.md. Run it from a bindable in the server script, as the challenges README shows.

Start from
The game at milestone m12 (download)
Grade it
To grade work from an earlier milestone, apply your challenge changes to a checkout based on m14-ship, which includes the Course Runner. In Studio, press Play, then run game.ServerScriptService.RunGameTests:Invoke("analytics-funnel", "analytics-opened-shop") in the server command bar. Copy the pass code from Output.

Done means

  • A new OpenedShop step sits between SurvivedDrill and FirstPurchase
  • It is logged once per player when the shop opens, and steps after it are renumbered
  • challenges/analytics-funnel.luau prints TEST PASS for every check

The Course Runner prints this code when the test passes.