Introduction
The PerfectGym platform is entirely browser-based; with the internal applications for staff/employee use requiring Google Chrome to operate. The external ClientPortal2 application is browser agnostic, but will load best on Google Chrome, Firefox and Edge. Older browsers not supported worldwide (such as IE9) will still load ClientPortal2, but it may appear as less visually appealing. Please see below for links to each application, in addition to ‘arguments’ that can be appended to the ClientPortal2 application to invoke different modes, and URL arguments to force a certain product/membership selection/behaviour.
This will only work on the client portal. It will not work on Reception tablet mode or Kiosk mode.
Instruction
- We can use a parameter to control which category of group class is shown in the CP schedule.
- See: https://presentation.perfectgym.pl/ClientPortal2/#/Classes/1/List?categoryId=1
- It is also possible to pass parameters to put the client not to the first, but to another step of CP registration process.
- To skip the front page only, use https://presentation.perfectgym.pl/ClientPortal2/#Registration
Available parameters
- clubId - ID of the club to be selected (member won't be able to change that).
- cityId - ID of the city to be selected (member won't be able to change that).
- paymentPlanId - ID of the payment plan to be selected (member won't be able to change that), can't be mixed with productId, requires clubId.
- productId - ID of the product to be selected (member won't be able to change that), can't be mixed with paymentPlanId, requires clubId.
- addonId - ID of the addon to be selected. You need to specify paymentPlanId as well. You can add it multiple times in the URL (multiple addons).
- trainingModel - member's predefined training model. Possible values are WithCommitment, PayAsYouGo, and FreeOffer. If the value is FreeOffer, the step with a payment plan or a product choosing is skipped and the user goes directly to the personal data step.
- redirectUrl - URL to redirect to after finishing the registration process. When using this parameter, remember always to encode the URL. Otherwise, it may not work as expected. See https://www.w3schools.com/tags/ref_urlencode.asp as a reference.
IDs are PGM system IDs and not the club numbers. It is not always easy to find them, but if you go to the Clubs product price list from the Clubs page, you should have the ClubId in URL. It could be also found by the Support Team in the database, or by the client by using API (this is the most recommended option).
Hints
How to find ClubId?
If you would like to search for your ClubId, go to Clubs -> List of clubs, then click on the three dots icon next to Club that you would like to check, and click on the Panels option. You will be redirected to the Panels page. There, pay attention to the page address bar. At the end of page address you should see this: Fid=XX, where XX is your ClubId.
Don't confuse this with the Club number which appears on the left of your club name in the List of clubs tab.
How to find paymentPlanId?
The best way to search for paymentPlanId is to generate a Payment Plans report in PGM. To do that, go to Reports -> All, type "Payment Plan" in search box, then select the report and click on XLS button to generate it. The report will show you a list of all configured payment plans and their paymentPlanIds will be listed in column A named "Id".