Widget Configuration
Required Attributes
- Target URL: The target URL determines the navigation path to Opportunity Details and is required. When a specific Opportunity is selected, the ID is appended to this path.
- Attribute: target or targeturl
- Valid Value: relative or fully qualified URL
- Example:
targeturl="https://example-church.com/opportunity-details"
Recommended URLs
The easiest way to set up interaction between the finder and detail is to use query string parameters to identify Opportunities. To use this method, specify a target URL (with or without a trailing slash). The Opportunity Finder Widget will append a query string and an Opportunity ID to the target URL. For example, for the target URL "/opportunity-details" the link to Opportunity 25 would look like this:
https://example-church.com/opportunity-details?id=25
Advanced Routing Options
If you prefer to use more advanced routing, you can use different URLs. This may be an option if the query string method does not integrate well with your CMS. In this case, you must:
- Define a route in your website to support the ID.
- Use a target URL with or without a trailing slash.
For the target URL "/opportunity-details/" the link to Opportunity 25 would look like this:
https://example-church.com/opportunity-details/25
Configure Your Widget
Fill out the Widget Configurator below, copy your generated widget code, and paste it into your website. For more information about the filter parameters, see Filtering Opportunity Finder