Overview
Call-to-Action (CTA) buttons allow you to direct participants from your 9Pic gallery to external pages, such as event registration, feedback forms, or merch stores. You can configure where these buttons appear and how they look, and even pass participant details (like BIB numbers) to your external page for a seamless transition.Configuration Options
When setting up a CTA in the Advanced tab of your event settings, you have the following options:Target URL
The destination URL where users will be sent when they click the button.[!TIP] Always use a full URL includinghttps://(e.g.,https://example.com/register).
Button Text
The text displayed on the button (e.g., “Register for 2025”, “Get Your Certificate”).Display Locations
Select one or both locations for the button to appear:- Search Bar: Appears prominently near the photo search area.
- Search Results: Appears at the top of the gallery once a user has searched for their photos.
Button Style
Choose a visual style that matches your branding:- Default: Solid primary color.
- Outline: Bordered button.
- Secondary: Subtle background color.
- Ghost/Link: Minimalist styles.
Organizer Integration (Advanced)
When a participant clicks your CTA button, 9Pic automatically appends several query parameters to your Target URL. This information allows you to build custom flows, personalize landing pages, or track referrals.Passed Parameters
| Parameter | Type | Description |
|---|---|---|
ref | String (Base64) | The full URL of the gallery page the user was viewing. |
eventId | String | The unique ID of your event. |
bibNumber | String | (If searched) The BIB number the user entered to find their photos. |
selfieRequestId | String | (If searched) The unique ID for their selfie search request. |
How to use the ref parameter
The ref parameter is Base64 encoded to prevent URL character conflicts. To use it, you must decode it on your destination page.
Example (JavaScript):
Use Case Example: Personalized Registration
If you want to pre-fill a registration form for next year’s event using the participant’s BIB number:- Configure CTA: Set Target URL to
https://my-race.com/register-2025. - User Flow: Participant searches for BIB 529 in their 9Pic gallery.
- Redirection: Clicking the CTA takes them to:
https://my-race.com/register-2025?ref=...&eventId=123&bibNumber=529 - Your Page: Your website reads
bibNumber=529and automatically looks up the participant’s name to welcome them.