Generate Browser JavaScript Snippets
growsurf_client_snippetsGenerate Markdown browser JavaScript and CSS examples for GrowSurf referral tracking, embeddable elements, and window setup, with placement guidance.
Instructions
Generate Markdown browser JavaScript and CSS examples for referral tracking, embeddable elements, and the GrowSurf Window, with placement guidance. Does not install code or change a program. Use growsurf_embeddable_element_snippet for one HTML element, growsurf_grsf_config_snippet for window.grsfConfig, or growsurf_api_library_snippets for backend REST code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| programType | No | both | |
| singlePageApp | No | ||
| referralTrigger | No | signup_plus_qualifying_action | |
| includeUnreadBadge | No | ||
| includeGrowSurfWindow | No | ||
| participantAuthEnabled | No | ||
| includeEmbeddableElements | No | ||
| includeEventSubscriptions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | No | The generated guidance as a markdown document. |