Set up the FastSpring Cometly integration: pass the comet_token into your FastSpring checkout so each purchase is tied to the ad behind it.
If your checkout is powered by FastSpring, you can track purchases in Cometly by passing the Cometly comet_token into your FastSpring checkout form. The comet_token is a unique identifier that the Cometly pixel (the tracking script on your website) creates for each visitor. This FastSpring Cometly integration then uses a webhook, a message FastSpring sends to Cometly after each sale, to deliver the purchase with that token attached.Cometly then attributes each purchase back to the original visitor and ad click. That lets you see which campaign, ad set and ad produced each FastSpring sale, instead of only seeing that a sale happened.Before you start
The Cometly pixel is installed on the page that loads your FastSpring checkout. See Install the Cometly pixel.
You can edit the JavaScript on that page.
To learn more about the token itself, see Comet Token.
1. Load the Cometly pixel before the FastSpring form script
Make sure the Cometly tracking script loads before the FastSpring checkout form script. This makes the window.cometToken() function available when FastSpring initializes.Here is an example of the correct order. Use your own pixel snippet (copy it in Cometly from Setup, step Install the Cometly pixel) and your own FastSpring storefront:
<!-- Cometly pixel: paste your own snippet here --><script src="https://js.comet-serve.com/script.js?uid=YOUR_PIXEL_ID"></script><script id="fsc-api" src="https://sbl.onfastspring.com/sbl/1.0.5/fastspring-builder.min.js" type="text/javascript" data-storefront="yourstore.onfastspring.com/your-storefront" data-continuous="true" data-data-callback="fsUpdateBadge" data-error-callback="fsError"></script>
Always keep the Cometly script above the FastSpring script on your page.
2. Locate the existing FastSpring callback
In your site’s JavaScript, find the callback function named in data-data-callback. In this example it is called fsUpdateBadge, and it runs when the checkout form is ready. Yours may look similar to this:
// FastSpring callbackfunction fsUpdateBadge(data) { (function () { function getCookie(name) { let match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); if (match) return match[2]; return ""; } // Push tags once per session if (!sessionStorage.getItem('fsTagsPushed')) { console.log("Pushing tags..."); fastspring.builder.push({ tags: { _fbp: getCookie('_fbp'), _fbc: getCookie('_fbc'), _ttp: getCookie('_ttp'), ttclid: getCookie('ttclid') } }); sessionStorage.setItem('fsTagsPushed', '1'); } })();}
This example sends various cookie tags (such as Facebook and TikTok parameters) to FastSpring once per session.
3. Update the callback to include the Comet Token
Next, change the callback so that it also pushes the Cometly token (comet_token) to the FastSpring form.Here is the updated version of the example:
// FastSpring callbackfunction fsUpdateBadge(data) { // -- START -- Pushes comet_token to the FastSpring form fastspring.builder.push({ tags: { comet_token: window.cometToken() } }); // -- END -- Pushes comet_token to the FastSpring form (function () { function getCookie(name) { let match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); if (match) return match[2]; return ""; } // Push tags once per session if (!sessionStorage.getItem('fsTagsPushed')) { console.log("Pushing tags..."); fastspring.builder.push({ tags: { _fbp: getCookie('_fbp'), _fbc: getCookie('_fbc'), _ttp: getCookie('_ttp'), ttclid: getCookie('ttclid') } }); sessionStorage.setItem('fsTagsPushed', '1'); } })();}
What changed:
The new block at the top pushes the comet_token into FastSpring as a custom tag.
Each FastSpring transaction now includes the unique visitor token generated by Cometly.
4. Verify the token in FastSpring webhooks
After a purchase is completed, the comet_token appears in your FastSpring webhook payload under the tags object.This confirms that the token passes through the checkout and is available for attribution.
5. Connect FastSpring webhooks to Cometly
Finally, send your FastSpring webhook data to Cometly.
In Cometly, click Events Manager in the sidebar, then click Create Event. Under App / Integration, select Webhooks, pick your Purchase event and click Create.
Copy the URL under Your webhook URL and add it as a webhook in FastSpring.
Follow the Cometly Webhooks guide to check for data, map the fields and activate the webhook.
In the mapping step, map the tags.comet_token field from the payload to Cometly’s Comet Token field.
Once this is configured, Cometly can track your purchases through FastSpring.
Check it worked
Complete a test purchase through your FastSpring checkout after the webhook is activated. In Cometly, click Events Manager in the sidebar, then open the Events Log tab: the purchase appears there within 60 seconds, with SUCCESS in the Details column and the comet_token in its data.
Frequently asked questions
How long does it take for a FastSpring purchase to show up in Cometly?
The purchase shows in the Events Log within 60 seconds of FastSpring sending the webhook. It can take up to 15 minutes to appear in the reporting areas, such as the Report Builder or Ads Manager.
Why is my FastSpring test purchase not showing in Cometly reports?
Test data sent before the webhook was activated is not processed and does not appear in your reports. Activate the webhook first, then make a new test purchase. If it is still missing, open the Events Log tab in Events Manager and check the Details column for an error message.
What happens if a FastSpring purchase arrives without the comet_token?
Cometly still accepts an event that has an email address, because an email is enough to identify the person. The comet_token is what links the purchase to the visitor’s browser session, so leaving it out makes attribution less accurate.
Still have questions or need a hand? We’re happy to help. Reach our team at support@cometly.com.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cometly Docs","description":"Cometly documentation: set up ad tracking and attribution, connect your ad platforms and tools, send conversions back with the Conversion API, and build on the Cometly API and MCP server.","colors":{"primary":"#0086FF","light":"#0086FF","dark":"#0086FF"},"logo":{"light":"https://mintcdn.com/cometly/hnuCBvleNSBDJAON/logo/light.svg?fit=max\u0026auto=format\u0026n=hnuCBvleNSBDJAON\u0026q=85\u0026s=1b725e99cd933554c9ab680583d1b779","dark":"https://mintcdn.com/cometly/hnuCBvleNSBDJAON/logo/dark.svg?fit=max\u0026auto=format\u0026n=hnuCBvleNSBDJAON\u0026q=85\u0026s=5b27a31c96508945608d23fa3394eafc"},"favicon":"https://mintcdn.com/cometly/hnuCBvleNSBDJAON/favicon.svg?fit=max\u0026auto=format\u0026n=hnuCBvleNSBDJAON\u0026q=85\u0026s=676feb9017410d273527df10995ef763","api":{"playground":{},"mdx":{"auth":{"method":"bearer"},"server":"https://app.cometly.com"}},"navbar":{"links":[{"href":"mailto:support@cometly.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.cometly.com"}},"seo":{"metatags":{"og:site_name":"Cometly Docs","og:locale":"en_US","twitter:card":"summary_large_image"},"indexing":"navigable"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cometly","hasAudioNarration":false,"actualSubdomain":"cometly","customDomains":["docs.cometly.com"],"gitSource":{"type":"github","owner":"cometly","repo":"app","deployBranch":"main","contentDirectory":"publicApiDocs/V1","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afe1ed3e5481c801f76013c","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"Integrations","count":137},{"language":"default","tag":"Guides","count":70},{"language":"default","tag":"Integrations by platform","count":68},{"language":"default","tag":"MCP","count":58},{"language":"default","tag":"Troubleshooting","count":50},{"language":"default","tag":"Tools","count":49},{"language":"default","tag":"Developers \u0026 API","count":44},{"language":"default","tag":"Getting Started","count":38},{"language":"default","tag":"Settings","count":23},{"language":"default","tag":"Events","count":22}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@cometly.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".card-group .card{transition:background-color 150ms ease, border-color 150ms ease}.card-group .card:hover{background-color:#f6f7f8!important}.dark .card-group .card:hover{background-color:rgba(255, 255, 255, 0.04)!important}.start-cards .card-group .card{position:relative;isolation:isolate;background-color:#ffffff!important;background-image:radial-gradient(110% 60% at 50% 115%, rgba(0, 134, 255, 0.05) 0%, transparent 70%),\n linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%)!important;border-color:#e4e7ec!important;box-shadow:0 1px 2px rgba(16, 24, 40, 0.04);transition:border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease}.start-cards .card-group .card::before{content:\"\";position:absolute;inset:auto 0 0 0;height:85%;z-index:-1;pointer-events:none;background-image:repeating-linear-gradient(90deg, rgba(100, 116, 139, 0.15) 0, rgba(100, 116, 139, 0.15) 1px, transparent 1px, transparent 26px),\n repeating-linear-gradient(90deg, transparent 0, transparent 13px, rgba(100, 116, 139, 0.08) 13px, rgba(100, 116, 139, 0.08) 14px, transparent 14px, transparent 26px);-webkit-mask-image:linear-gradient(to top, #000 0%, transparent 90%);mask-image:linear-gradient(to top, #000 0%, transparent 90%);opacity:0.8;transition:opacity 200ms ease}.start-cards .card-group .card:hover{background-color:#ffffff!important;border-color:rgba(0, 134, 255, 0.45)!important;box-shadow:0 12px 28px -16px rgba(0, 134, 255, 0.35), 0 1px 2px rgba(16, 24, 40, 0.05);transform:translateY(-1px)}.start-cards .card-group .card:hover::before{opacity:1}.start-cards [data-component-part=\"card-image\"]{display:block;width:100%;height:auto;margin:0!important;border-bottom:1px solid #eceef2}.start-cards [data-component-part=\"card-icon\"]{display:flex;align-items:center;justify-content:center;width:2.5rem!important;height:2.5rem!important;border-radius:0.75rem;background:linear-gradient(135deg, #46a9ff 0%, #0086ff 55%, #0068d6 100%);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -6px rgba(0, 134, 255, 0.65)}.start-cards [data-component-part=\"card-icon\"]>svg{width:1.25rem!important;height:1.25rem!important;background-color:#ffffff!important}.dark .start-cards .card-group .card,.dark .start-cards .card-group .card:hover{background-color:rgba(255, 255, 255, 0.02)!important;background-image:radial-gradient(110% 60% at 50% 115%, rgba(0, 134, 255, 0.14) 0%, transparent 70%)!important;border-color:rgba(255, 255, 255, 0.12)!important}.dark .start-cards .card-group .card:hover{border-color:rgba(70, 169, 255, 0.6)!important}.dark .start-cards .card-group .card::before{background-image:repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.2) 0, rgba(148, 163, 184, 0.2) 1px, transparent 1px, transparent 26px),\n repeating-linear-gradient(90deg, transparent 0, transparent 13px, rgba(148, 163, 184, 0.1) 13px, rgba(148, 163, 184, 0.1) 14px, transparent 14px, transparent 26px)}.dark .start-cards [data-component-part=\"card-image\"]{border-bottom-color:rgba(255, 255, 255, 0.08)}.logo-tile{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2.5rem;height:2.5rem;border-radius:0.75rem;border:1px solid #e5e7eb;background:#ffffff;overflow:hidden}.logo-tile img{width:1.375rem!important;height:1.375rem!important;max-width:none!important;margin:0!important;border-radius:0!important;object-fit:contain;pointer-events:none}.logo-tile-sm{width:2rem;height:2rem;border-radius:0.5rem}.logo-tile-sm img{width:1.125rem!important;height:1.125rem!important}.logo-tile-letter{font-size:0.8125rem;font-weight:600;color:#6b7280;background:#f9fafb}.dark .logo-tile{border-color:rgba(255, 255, 255, 0.12)}.logo-row{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;margin-top:0.875rem}.logo-more{margin-left:0.25rem;font-size:0.8125rem;font-weight:500;color:#6b7280;white-space:nowrap}.dark .logo-more{color:#9ca3af}.integration-grid{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.25rem 0.75rem;margin:1rem 0 0.5rem}@media (min-width: 640px){.integration-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (min-width: 1024px){.integration-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}}.integration-grid a{display:flex;align-items:center;gap:0.625rem;padding:0.375rem 0.5rem;border-radius:0.625rem;border:0!important;font-size:0.875rem;font-weight:500!important;line-height:1.3;color:inherit!important;text-decoration:none!important;transition:background-color 150ms ease}.integration-grid a:hover{background-color:#f6f7f8}.dark .integration-grid a:hover{background-color:rgba(255, 255, 255, 0.04)}.dark li>a img[src^=\"/images/logos/\"]{background:#ffffff!important;border-radius:0.25rem;padding:1px}"}],"page":{"pagePath":"integrations/platforms/fastspring","slug":"/integrations/platforms/fastspring","pageMetadata":{"title":"FastSpring integration","sidebarTitle":"FastSpring","description":"Set up the FastSpring Cometly integration: pass the comet_token into your FastSpring checkout so each purchase is tied to the ad behind it.","og:title":"FastSpring Integration for Cometly: Track Purchases","icon":"/images/logos/fastspring.png","href":"/integrations/platforms/fastspring"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Set up the FastSpring Cometly integration: pass the comet_token into your FastSpring checkout so each purchase is tied to the ad behind it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`If your checkout is powered by `,_jsx(_components.strong,{children:`FastSpring`}),`, you can track purchases in Cometly by passing the Cometly `,_jsx(_components.code,{children:`comet_token`}),` into your FastSpring checkout form. The `,_jsx(_components.code,{children:`comet_token`}),` is a unique identifier that the Cometly pixel (the tracking script on your website) creates for each visitor. This FastSpring Cometly integration then uses a webhook, a message FastSpring sends to Cometly after each sale, to deliver the purchase with that token attached.`]}),`\n`,_jsx(_components.p,{children:`Cometly then attributes each purchase back to the original visitor and ad click. That lets you see which campaign, ad set and ad produced each FastSpring sale, instead of only seeing that a sale happened.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Before you start`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The Cometly pixel is installed on the page that loads your FastSpring checkout. See `,_jsx(_components.a,{href:`/getting-started/install-pixel`,children:`Install the Cometly pixel`}),`.`]}),`\n`,_jsx(_components.li,{children:`You can edit the JavaScript on that page.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`To learn more about the token itself, see `,_jsx(_components.a,{href:`/concepts/comet-token`,children:`Comet Token`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-load-the-cometly-pixel-before-the-fastspring-form-script`,children:`1. Load the Cometly pixel before the FastSpring form script`}),`\n`,_jsxs(_components.p,{children:[`Make sure the `,_jsx(_components.strong,{children:`Cometly tracking script`}),` loads `,_jsx(_components.strong,{children:`before`}),` the FastSpring checkout form script. This makes the `,_jsx(_components.code,{children:`window.cometToken()`}),` function available when FastSpring initializes.`]}),`\n`,_jsxs(_components.p,{children:[`Here is an example of the correct order. Use your own pixel snippet (copy it in Cometly from `,_jsx(_components.strong,{children:`Setup`}),`, step `,_jsx(_components.strong,{children:`Install the Cometly pixel`}),`) and your own FastSpring storefront:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`\u003c!-- Cometly pixel: paste your own snippet here -->`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` src`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://js.comet-serve.com/script.js?uid=YOUR_PIXEL_ID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fsc-api\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` src`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://sbl.onfastspring.com/sbl/1.0.5/fastspring-builder.min.js\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text/javascript\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` data-storefront`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"yourstore.onfastspring.com/your-storefront\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` data-continuous`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` data-data-callback`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fsUpdateBadge\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` data-error-callback`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fsError\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Always keep the Cometly script above the FastSpring script on your page.`})}),`\n`,_jsx(Heading,{level:`2`,id:`2-locate-the-existing-fastspring-callback`,children:`2. Locate the existing FastSpring callback`}),`\n`,_jsxs(_components.p,{children:[`In your site’s JavaScript, find the callback function named in `,_jsx(_components.code,{children:`data-data-callback`}),`. In this example it is called `,_jsx(_components.code,{children:`fsUpdateBadge`}),`, and it runs when the checkout form is ready. Yours may look similar to this:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// FastSpring callback`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fsUpdateBadge`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` match`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`match`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` RegExp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'(^| )'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '=([^;]+)'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`match`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` match`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Push tags once per session`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sessionStorage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getItem`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'fsTagsPushed'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pushing tags...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fastspring`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`builder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` tags:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` _fbp:`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'_fbp'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` _fbc:`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'_fbc'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` _ttp:`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'_ttp'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ttclid:`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'ttclid'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sessionStorage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItem`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'fsTagsPushed'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'1'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This example sends various cookie tags (such as Facebook and TikTok parameters) to FastSpring once per session.`}),`\n`,_jsx(Heading,{level:`2`,id:`3-update-the-callback-to-include-the-comet-token`,children:`3. Update the callback to include the Comet Token`}),`\n`,_jsxs(_components.p,{children:[`Next, change the callback so that it also pushes the `,_jsx(_components.strong,{children:`Cometly token`}),` (`,_jsx(_components.code,{children:`comet_token`}),`) to the FastSpring form.`]}),`\n`,_jsx(_components.p,{children:`Here is the updated version of the example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`32`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// FastSpring callback`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fsUpdateBadge`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // -- START -- Pushes comet_token to the FastSpring form`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fastspring`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`builder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` tags:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` comet_token:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` window`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`cometToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // -- END -- Pushes comet_token to the FastSpring form`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` match`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`match`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` RegExp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'(^| )'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '=([^;]+)'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`match`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` match`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Push tags once per session`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sessionStorage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getItem`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'fsTagsPushed'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pushing tags...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fastspring`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`builder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`push`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` tags:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` _fbp:`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'_fbp'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` _fbc:`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'_fbc'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` _ttp:`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'_ttp'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ttclid:`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCookie`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'ttclid'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sessionStorage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItem`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'fsTagsPushed'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'1'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })();`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`What changed:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The new block at the top pushes the `,_jsx(_components.code,{children:`comet_token`}),` into FastSpring as a custom tag.`]}),`\n`,_jsx(_components.li,{children:`Each FastSpring transaction now includes the unique visitor token generated by Cometly.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`4-verify-the-token-in-fastspring-webhooks`,children:`4. Verify the token in FastSpring webhooks`}),`\n`,_jsxs(_components.p,{children:[`After a purchase is completed, the `,_jsx(_components.code,{children:`comet_token`}),` appears in your FastSpring `,_jsx(_components.strong,{children:`webhook payload`}),` under the `,_jsx(_components.code,{children:`tags`}),` object.`]}),`\n`,_jsx(_components.p,{children:`This confirms that the token passes through the checkout and is available for attribution.`}),`\n`,_jsx(Heading,{level:`2`,id:`5-connect-fastspring-webhooks-to-cometly`,children:`5. Connect FastSpring webhooks to Cometly`}),`\n`,_jsx(_components.p,{children:`Finally, send your FastSpring webhook data to Cometly.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In Cometly, click `,_jsx(_components.strong,{children:`Events Manager`}),` in the sidebar, then click `,_jsx(_components.strong,{children:`Create Event`}),`. Under `,_jsx(_components.strong,{children:`App / Integration`}),`, select `,_jsx(_components.strong,{children:`Webhooks`}),`, pick your `,_jsx(_components.strong,{children:`Purchase`}),` event and click `,_jsx(_components.strong,{children:`Create`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Copy the URL under `,_jsx(_components.strong,{children:`Your webhook URL`}),` and add it as a webhook in FastSpring.`]}),`\n`,_jsxs(_components.li,{children:[`Follow the `,_jsx(_components.a,{href:`/integrations/webhooks`,children:`Cometly Webhooks guide`}),` to check for data, map the fields and activate the webhook.`]}),`\n`,_jsxs(_components.li,{children:[`In the mapping step, map the `,_jsx(_components.code,{children:`tags.comet_token`}),` field from the payload to Cometly’s `,_jsx(_components.strong,{children:`Comet Token`}),` field.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Once this is configured, Cometly can track your purchases through FastSpring.`}),`\n`,_jsx(Heading,{level:`2`,id:`check-it-worked`,children:`Check it worked`}),`\n`,_jsxs(_components.p,{children:[`Complete a test purchase through your FastSpring checkout after the webhook is activated. In Cometly, click `,_jsx(_components.strong,{children:`Events Manager`}),` in the sidebar, then open the `,_jsx(_components.strong,{children:`Events Log`}),` tab: the purchase appears there within 60 seconds, with `,_jsx(_components.strong,{children:`SUCCESS`}),` in the `,_jsx(_components.strong,{children:`Details`}),` column and the `,_jsx(_components.code,{children:`comet_token`}),` in its data.`]}),`\n`,_jsx(Heading,{level:`2`,id:`frequently-asked-questions`,children:`Frequently asked questions`}),`\n`,_jsx(Heading,{level:`3`,id:`how-long-does-it-take-for-a-fastspring-purchase-to-show-up-in-cometly`,children:`How long does it take for a FastSpring purchase to show up in Cometly?`}),`\n`,_jsx(_components.p,{children:`The purchase shows in the Events Log within 60 seconds of FastSpring sending the webhook. It can take up to 15 minutes to appear in the reporting areas, such as the Report Builder or Ads Manager.`}),`\n`,_jsx(Heading,{level:`3`,id:`why-is-my-fastspring-test-purchase-not-showing-in-cometly-reports`,children:`Why is my FastSpring test purchase not showing in Cometly reports?`}),`\n`,_jsxs(_components.p,{children:[`Test data sent before the webhook was activated is not processed and does not appear in your reports. Activate the webhook first, then make a new test purchase. If it is still missing, open the `,_jsx(_components.strong,{children:`Events Log`}),` tab in `,_jsx(_components.strong,{children:`Events Manager`}),` and check the `,_jsx(_components.strong,{children:`Details`}),` column for an error message.`]}),`\n`,_jsx(Heading,{level:`3`,id:`what-happens-if-a-fastspring-purchase-arrives-without-the-comet_token`,children:`What happens if a FastSpring purchase arrives without the comet_token?`}),`\n`,_jsxs(_components.p,{children:[`Cometly still accepts an event that has an email address, because an email is enough to identify the person. The `,_jsx(_components.code,{children:`comet_token`}),` is what links the purchase to the visitor’s browser session, so leaving it out makes attribution less accurate.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/integrations/webhooks`,children:`Map fields, add filters and activate your webhook`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/support/troubleshooting/general/event-log`,children:`Use the Events Log to check incoming events`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/concepts/comet-token`,children:`Learn more ways to use the comet_token`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/guides/events/how-events-work`,children:`Learn how events work in Cometly`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Still have questions or need a hand? We’re happy to help. Reach our team at `,_jsx(_components.a,{href:`mailto:support@cometly.com`,children:`support@cometly.com`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"FastSpring integration","sidebarTitle":"FastSpring","description":"Set up the FastSpring Cometly integration: pass the comet_token into your FastSpring checkout so each purchase is tied to the ad behind it.","og:title":"FastSpring Integration for Cometly: Track Purchases","icon":"/images/logos/fastspring.png","href":"/integrations/platforms/fastspring"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Load the Cometly pixel before the FastSpring form script","slug":"1-load-the-cometly-pixel-before-the-fastspring-form-script","depth":2,"children":[]},{"title":"2. Locate the existing FastSpring callback","slug":"2-locate-the-existing-fastspring-callback","depth":2,"children":[]},{"title":"3. Update the callback to include the Comet Token","slug":"3-update-the-callback-to-include-the-comet-token","depth":2,"children":[]},{"title":"4. Verify the token in FastSpring webhooks","slug":"4-verify-the-token-in-fastspring-webhooks","depth":2,"children":[]},{"title":"5. Connect FastSpring webhooks to Cometly","slug":"5-connect-fastspring-webhooks-to-cometly","depth":2,"children":[]},{"title":"Check it worked","slug":"check-it-worked","depth":2,"children":[]},{"title":"Frequently asked questions","slug":"frequently-asked-questions","depth":2,"children":[{"title":"How long does it take for a FastSpring purchase to show up in Cometly?","slug":"how-long-does-it-take-for-a-fastspring-purchase-to-show-up-in-cometly","depth":3,"children":[]},{"title":"Why is my FastSpring test purchase not showing in Cometly reports?","slug":"why-is-my-fastspring-test-purchase-not-showing-in-cometly-reports","depth":3,"children":[]},{"title":"What happens if a FastSpring purchase arrives without the comet_token?","slug":"what-happens-if-a-fastspring-purchase-arrives-without-the-comet_token","depth":3,"children":[]}]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cometly/3e5ee102dead7316/cometly.js"],"subdomain":"cometly","siteName":"Cometly Docs","title":"FastSpring Integration for Cometly: Track Purchases","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T21:55:49.877Z","originalFileLocation":"integrations/platforms/fastspring.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Set up the FastSpring Cometly integration: pass the comet_token into your FastSpring checkout so each purchase is tied to the ad behind it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cometly Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"FastSpring Integration for Cometly: Track Purchases\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set up the FastSpring Cometly integration: pass the comet_token into your FastSpring checkout so each purchase is tied to the ad behind it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cometly Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cometly.com/integrations/platforms/fastspring\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cometly.mintlify.site/_mintlify/api/og/v2?division=Integrations+by+platform\u0026amp;title=FastSpring+integration\u0026amp;description=Set+up+the+FastSpring+Cometly+integration%3A+pass+the+comet_token+into+your+FastSpring+checkout+so+each+purchase+is+tied+to+the+ad+behind+it.\u0026amp;theme=4b81b0d192612debf11d7771\u0026amp;signature=1b9ca7cd4bcf7772d7e6d277403309a3f4f704f2c424ad856ec01c5ce3f6e184\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"FastSpring Integration for Cometly: Track Purchases\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set up the FastSpring Cometly integration: pass the comet_token into your FastSpring checkout so each purchase is tied to the ad behind it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cometly.mintlify.site/_mintlify/api/og/v2?division=Integrations+by+platform\u0026amp;title=FastSpring+integration\u0026amp;description=Set+up+the+FastSpring+Cometly+integration%3A+pass+the+comet_token+into+your+FastSpring+checkout+so+each+purchase+is+tied+to+the+ad+behind+it.\u0026amp;theme=4b81b0d192612debf11d7771\u0026amp;signature=1b9ca7cd4bcf7772d7e6d277403309a3f4f704f2c424ad856ec01c5ce3f6e184\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cometly Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0086FF\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cometly.com/integrations/platforms/fastspring\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/platforms/fastspring.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cometly.com/#organization\",\"name\":\"Cometly Docs\",\"url\":\"https://docs.cometly.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cometly/hnuCBvleNSBDJAON/logo/light.svg?fit=max\u0026auto=format\u0026n=hnuCBvleNSBDJAON\u0026q=85\u0026s=1b725e99cd933554c9ab680583d1b779\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cometly.com#website\",\"name\":\"Cometly Docs\",\"url\":\"https://docs.cometly.com\",\"publisher\":{\"@id\":\"https://docs.cometly.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cometly.com/integrations/platforms/fastspring#webpage\",\"url\":\"https://docs.cometly.com/integrations/platforms/fastspring\",\"name\":\"FastSpring integration\",\"description\":\"Set up the FastSpring Cometly integration: pass the comet_token into your FastSpring checkout so each purchase is tied to the ad behind it.\",\"dateModified\":\"2026-11-18T21:55:49.877Z\",\"isPartOf\":{\"@id\":\"https://docs.cometly.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cometly.com/integrations/platforms/fastspring#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cometly.com/integrations/platforms/fastspring#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations by platform\",\"item\":\"https://docs.cometly.com/integrations/platforms/acuity-scheduling\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FastSpring integration\",\"item\":\"https://docs.cometly.com/integrations/platforms/fastspring\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cometly.com/integrations/platforms/fastspring#article\",\"headline\":\"FastSpring integration\",\"name\":\"FastSpring integration\",\"description\":\"Set up the FastSpring Cometly integration: pass the comet_token into your FastSpring checkout so each purchase is tied to the ad behind it.\",\"url\":\"https://docs.cometly.com/integrations/platforms/fastspring\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cometly.com/integrations/platforms/fastspring#webpage\"},\"dateModified\":\"2026-11-18T21:55:49.877Z\",\"publisher\":{\"@id\":\"https://docs.cometly.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cometly.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cometly Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cometly Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/integrations/platforms/fastspring.md","siteName":"Cometly Docs","nav":{"global":null,"tabs":[{"tab":"Getting Started","icon":"rocket","pages":[{"title":"Getting Started","href":""}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/guides/overview"}]},{"tab":"Integrations","icon":"plug","groups":[{"group":"Overview","pages":[{"title":"Integrations","sidebarTitle":"Overview","icon":"table-cells-large","href":"/integrations/overview"},{"title":"Slack and email report notifications","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/slack.svg","href":"/integrations/slack-and-email-notifications"}]},{"group":"Ad platforms","pages":[{"title":"Meta Ads integration","sidebarTitle":"Meta Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/meta.svg","href":"/integrations/ad-platforms/meta"},{"title":"Google Ads integration","sidebarTitle":"Google Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/google.svg","href":"/integrations/ad-platforms/google"},{"title":"TikTok Ads integration","sidebarTitle":"TikTok Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/tiktok.svg","href":"/integrations/ad-platforms/tiktok"},{"title":"LinkedIn Ads integration","sidebarTitle":"LinkedIn Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/linkedin.svg","href":"/integrations/ad-platforms/linkedin"},{"title":"Microsoft Ads integration","sidebarTitle":"Microsoft Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/microsoft.svg","href":"/integrations/ad-platforms/microsoft"},{"title":"AdRoll Ads integration","sidebarTitle":"AdRoll Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/ad-roll.svg","href":"/integrations/ad-platforms/ad-roll"},{"title":"Reddit Ads integration","sidebarTitle":"Reddit Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/reddit.svg","href":"/integrations/ad-platforms/reddit"},{"title":"X Ads integration","sidebarTitle":"X Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/x.svg","href":"/integrations/ad-platforms/x"},{"title":"Whop Ads integration","sidebarTitle":"Whop Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/whop.svg","href":"/integrations/ad-platforms/whop"},{"title":"Taboola Ads integration","sidebarTitle":"Taboola","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/taboola.svg","href":"/integrations/ad-platforms/taboola"},{"title":"ChatGPT Ads integration","sidebarTitle":"ChatGPT Ads","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/chatgpt.svg","href":"/integrations/ad-platforms/chatgpt-ads"}]},{"group":"Send events from any platform","pages":[{"title":"Zapier","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/zapier.svg","href":"/integrations/zapier"},{"title":"Webhooks","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/webhooks.svg","href":"/integrations/webhooks"},{"title":"Cometly API integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/cometly.svg","href":"/integrations/api"}]},{"group":"Integrations by platform","pages":[{"title":"Acuity Scheduling integration","sidebarTitle":"Acuity Scheduling","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/acuity-scheduling.png","href":"/integrations/platforms/acuity-scheduling"},{"title":"Attio integration","sidebarTitle":"Attio","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/attio.svg","href":"/integrations/platforms/attio"},{"title":"Authorize.net integration","sidebarTitle":"Authorize.net","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/authorize-net.svg","href":"/integrations/platforms/authorize-net"},{"title":"BigCommerce integration","sidebarTitle":"BigCommerce","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/bigcommerce.svg","href":"/integrations/platforms/bigcommerce"},{"title":"BuyGoods integration","sidebarTitle":"BuyGoods","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/buygoods.png","href":"/integrations/platforms/buygoods"},{"title":"Cal.com integration","sidebarTitle":"Cal.com","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/cal-com.png","href":"/integrations/platforms/cal-com"},{"title":"Calendly integration","sidebarTitle":"Calendly","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/calendly.png","href":"/integrations/platforms/calendly"},{"title":"CallTrackingMetrics integration","sidebarTitle":"CallTrackingMetrics","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/calltrackingmetrics.svg","href":"/integrations/platforms/calltrackingmetrics"},{"title":"Chargebee integration","sidebarTitle":"Chargebee","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/chargebee.svg","href":"/integrations/platforms/chargebee"},{"title":"Checkout Champ integration","sidebarTitle":"Checkout Champ","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/checkout-champ.png","href":"/integrations/platforms/checkout-champ"},{"title":"ClickBank integration","sidebarTitle":"ClickBank","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/clickbank.svg","href":"/integrations/platforms/clickbank"},{"title":"ClickFunnels integration","sidebarTitle":"ClickFunnels","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/clickfunnels.svg","href":"/integrations/platforms/clickfunnels"},{"title":"ClickFunnels Classic integration","sidebarTitle":"ClickFunnels Classic","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/clickfunnels-classic.svg","href":"/integrations/platforms/clickfunnels-classic"},{"title":"Close integration","sidebarTitle":"Close","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/close.svg","href":"/integrations/platforms/close"},{"title":"Cognito Forms integration","sidebarTitle":"Cognito Forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/cognito-forms.svg","href":"/integrations/platforms/cognito-forms"},{"title":"Cvent integration","sidebarTitle":"Cvent","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/cvent.png","href":"/integrations/platforms/cvent"},{"title":"Docusign integration","sidebarTitle":"Docusign","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/docusign.png","href":"/integrations/platforms/docusign"},{"title":"Drift integration","sidebarTitle":"Drift","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/drift.png","href":"/integrations/platforms/drift"},{"title":"FareHarbor integration","sidebarTitle":"FareHarbor","description":"Set up the FareHarbor Cometly integration to tie each booking and its revenue back to the ad or source that produced it, using Zapier.","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/fareharbor.png","href":"/integrations/platforms/fareharbor"},{"title":"FastSpring integration","sidebarTitle":"FastSpring","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/fastspring.png","href":"/integrations/platforms/fastspring"},{"title":"Formstack integration","sidebarTitle":"Formstack","description":"Set up the Formstack Cometly integration with a webhook, so each form submission becomes an event you can trace back to the ad that produced it.","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/formstack.webp","href":"/integrations/platforms/formstack"},{"title":"Freshworks CRM integration","sidebarTitle":"Freshworks CRM","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/freshworks-crm.svg","href":"/integrations/platforms/freshworks-crm"},{"title":"Funnelish integration","sidebarTitle":"Funnelish","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/funnelish.svg","href":"/integrations/platforms/funnelish"},{"title":"Gravity Forms integration","sidebarTitle":"Gravity Forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/gravity-forms.svg","href":"/integrations/platforms/gravity-forms"},{"title":"GrowRamp integration","sidebarTitle":"GrowRamp","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/growramp.png","href":"/integrations/platforms/growramp"},{"title":"Help Scout integration","sidebarTitle":"Help Scout","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/help-scout.svg","href":"/integrations/platforms/help-scout"},{"title":"HighLevel integration","sidebarTitle":"HighLevel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/highlevel.svg","href":"/integrations/platforms/highlevel"},{"title":"HubSpot integration","sidebarTitle":"HubSpot","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/hubspot.svg","href":"/integrations/platforms/hubspot"},{"title":"iClosed integration","sidebarTitle":"iClosed","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/iclosed.png","href":"/integrations/platforms/iclosed"},{"title":"Instapage integration","sidebarTitle":"Instapage","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/instapage.svg","href":"/integrations/platforms/instapage"},{"title":"Intercom integration","sidebarTitle":"Intercom","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/intercom.svg","href":"/integrations/platforms/intercom"},{"title":"Jotform integration","sidebarTitle":"Jotform","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/jotform.svg","href":"/integrations/platforms/jotform"},{"title":"Kajabi integration","sidebarTitle":"Kajabi","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/kajabi.svg","href":"/integrations/platforms/kajabi"},{"title":"Keap integration","sidebarTitle":"Keap","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/keap.svg","href":"/integrations/platforms/keap"},{"title":"Kit (formerly ConvertKit) integration","sidebarTitle":"Kit (ConvertKit)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/kit.svg","href":"/integrations/platforms/kit"},{"title":"Klaviyo integration","sidebarTitle":"Klaviyo","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/klaviyo.png","href":"/integrations/platforms/klaviyo"},{"title":"Leadpages integration","sidebarTitle":"Leadpages","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/leadpages.png","href":"/integrations/platforms/leadpages"},{"title":"LiveChat integration","sidebarTitle":"LiveChat","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/livechat.svg","href":"/integrations/platforms/livechat"},{"title":"Magento integration","sidebarTitle":"Magento","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/magento.svg","href":"/integrations/platforms/magento"},{"title":"Make integration","sidebarTitle":"Make","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/make.svg","href":"/integrations/platforms/make"},{"title":"MarketCall integration","sidebarTitle":"MarketCall","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/marketcall.svg","href":"/integrations/platforms/marketcall"},{"title":"Maxweb integration","sidebarTitle":"Maxweb","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/maxweb.svg","href":"/integrations/platforms/maxweb"},{"title":"Monday.com integration","sidebarTitle":"Monday.com","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/monday.svg","href":"/integrations/platforms/monday"},{"title":"Nimbata integration","sidebarTitle":"Nimbata","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/nimbata.svg","href":"/integrations/platforms/nimbata"},{"title":"Ontraport integration","sidebarTitle":"Ontraport","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/ontraport.svg","href":"/integrations/platforms/ontraport"},{"title":"Orbit CRM integration","sidebarTitle":"Orbit CRM","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/orbit.svg","href":"/integrations/platforms/orbit"},{"title":"Paddle integration","sidebarTitle":"Paddle","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/paddle.svg","href":"/integrations/platforms/paddle"},{"title":"PandaDoc integration","sidebarTitle":"PandaDoc","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/pandadoc.png","href":"/integrations/platforms/pandadoc"},{"title":"Paperform integration","sidebarTitle":"Paperform","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/paperform.png","href":"/integrations/platforms/paperform"},{"title":"Pipedrive integration","sidebarTitle":"Pipedrive","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/pipedrive.svg","href":"/integrations/platforms/pipedrive"},{"title":"Salesforce integration","sidebarTitle":"Salesforce","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/salesforce.svg","href":"/integrations/platforms/salesforce"},{"title":"SamCart integration","sidebarTitle":"SamCart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/samcart.webp","href":"/integrations/platforms/samcart"},{"title":"Shopify integration","sidebarTitle":"Shopify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/shopify.svg","href":"/integrations/platforms/shopify"},{"title":"Squarespace integration","sidebarTitle":"Squarespace","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/squarespace.svg","href":"/integrations/platforms/squarespace"},{"title":"Stealth Seminar integration","sidebarTitle":"Stealth Seminar","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/stealth-seminars.svg","href":"/integrations/platforms/stealth-seminar"},{"title":"Stripe integration","sidebarTitle":"Stripe","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/stripe.svg","href":"/integrations/platforms/stripe"},{"title":"ThriveCart integration","sidebarTitle":"ThriveCart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/thrivecart.svg","href":"/integrations/platforms/thrivecart"},{"title":"Typeform integration","sidebarTitle":"Typeform","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/typeform.svg","href":"/integrations/platforms/typeform"},{"title":"Unbounce integration","sidebarTitle":"Unbounce","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/unbounce.svg","href":"/integrations/platforms/unbounce"},{"title":"Universe.com ticket purchase tracking","sidebarTitle":"Universe.com","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/universe.png","href":"/integrations/platforms/universe"},{"title":"Webflow integration","sidebarTitle":"Webflow","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/webflow.svg","href":"/integrations/platforms/webflow"},{"title":"WebinarFuel integration","sidebarTitle":"WebinarFuel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/webinarfuel.png","href":"/integrations/platforms/webinarfuel"},{"title":"WebinarJam / EverWebinar integration","sidebarTitle":"WebinarJam / EverWebinar","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/webinarjam.png","href":"/integrations/platforms/webinarjam-everwebinar"},{"title":"Wix integration","sidebarTitle":"Wix","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/wix.svg","href":"/integrations/platforms/wix"},{"title":"WooCommerce integration","sidebarTitle":"WooCommerce","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/woocommerce.svg","href":"/integrations/platforms/woocommerce"},{"title":"Zendesk Chat integration","sidebarTitle":"Zendesk Chat","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/zendesk-chat.svg","href":"/integrations/platforms/zendesk-chat"},{"title":"Zendesk Sell integration","sidebarTitle":"Zendesk Sell","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/zendesk-sell.svg","href":"/integrations/platforms/zendesk-sell"},{"title":"Zoho integration","sidebarTitle":"Zoho","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/zoho-forms.png","href":"/integrations/platforms/zoho"}]},{"group":"Advanced integration guides","pages":[{"title":"Send ClickFunnels events with webhooks","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/clickfunnels.svg","href":"/integrations/guides/clickfunnels-webhooks"},{"title":"Send HighLevel events with webhooks","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/highlevel.svg","href":"/integrations/guides/highlevel-webhooks"},{"title":"Track ClickFunnels purchases paid with Stripe","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/clickfunnels.svg","href":"/integrations/guides/clickfunnels-with-stripe"},{"title":"Set the Meta Event Source URL for multiple funnels","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/meta.svg","href":"/integrations/guides/meta-event-source-url-multiple-domains"},{"title":"Track CallRail calls","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/callrail.svg","href":"/integrations/guides/callrail"},{"title":"Send HubSpot events with workflow webhooks","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/hubspot.svg","href":"/integrations/guides/hubspot-webhooks"},{"title":"Set up Salesforce with Zapier","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/salesforce.svg","href":"/integrations/guides/salesforce-zapier"},{"title":"Stripe first-time vs. recurring payments (Zapier)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/stripe.svg","href":"/integrations/guides/stripe-first-vs-recurring-payments-zapier"},{"title":"Stripe webhooks and Zapier","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/stripe.svg","href":"/integrations/guides/stripe-webhooks"},{"title":"Track first-time purchases in Shopify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/shopify.svg","href":"/integrations/guides/shopify-first-time-purchases"},{"title":"Track sign-ups with Auth0","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/auth0.png","href":"/integrations/guides/auth0-sign-ups"},{"title":"Send HubSpot deals with Zapier","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/hubspot.svg","href":"/integrations/guides/hubspot-deals-zapier"}]},{"group":"Pixel installation by platform","pages":[{"title":"ClickFunnels pixel installation","sidebarTitle":"ClickFunnels","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/clickfunnels.svg","href":"/integrations/pixel/clickfunnels"},{"title":"ClickFunnels Classic pixel installation","sidebarTitle":"ClickFunnels Classic","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/clickfunnels-classic.svg","href":"/integrations/pixel/clickfunnels-classic"},{"title":"Convertri pixel installation","sidebarTitle":"Convertri","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/convertri.png","href":"/integrations/pixel/convertri"},{"title":"Framer pixel installation","sidebarTitle":"Framer","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/framer.png","href":"/integrations/pixel/framer"},{"title":"Funnelish pixel installation","sidebarTitle":"Funnelish","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/funnelish.svg","href":"/integrations/pixel/funnelish"},{"title":"GoHighLevel pixel installation","sidebarTitle":"GoHighLevel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/highlevel.svg","href":"/integrations/pixel/gohighlevel"},{"title":"Google Tag Manager pixel installation","sidebarTitle":"Google Tag Manager","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/google-tag-manager.svg","href":"/integrations/pixel/google-tag-manager"},{"title":"Hero AI pixel installation","sidebarTitle":"Hero AI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/hero-ai.png","href":"/integrations/pixel/hero-ai"},{"title":"Instapage pixel installation","sidebarTitle":"Instapage","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/instapage.svg","href":"/integrations/pixel/instapage"},{"title":"Kajabi pixel installation","sidebarTitle":"Kajabi","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/kajabi.svg","href":"/integrations/pixel/kajabi"},{"title":"Leadpages pixel installation","sidebarTitle":"Leadpages","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/leadpages.png","href":"/integrations/pixel/leadpages"},{"title":"Shopify pixel installation","sidebarTitle":"Shopify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/shopify.svg","href":"/integrations/pixel/shopify"},{"title":"Webflow pixel installation","sidebarTitle":"Webflow","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/webflow.svg","href":"/integrations/pixel/webflow"},{"title":"WordPress pixel installation","sidebarTitle":"WordPress","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/wordpress.png","href":"/integrations/pixel/wordpress"},{"title":"Zipify OCU (Shopify app) pixel installation","sidebarTitle":"Zipify OCU","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/zipify-ocu.png","href":"/integrations/pixel/zipify-ocu"}]},{"group":"Form tracking by platform","pages":[{"title":"Cognito Forms form tracking","sidebarTitle":"Cognito Forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/cognito-forms.svg","href":"/integrations/forms/cognito-forms"},{"title":"Formstack form tracking","sidebarTitle":"Formstack","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/formstack.webp","href":"/integrations/forms/formstack"},{"title":"GoHighLevel form tracking","sidebarTitle":"GoHighLevel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/highlevel.svg","href":"/integrations/forms/gohighlevel"},{"title":"Gravity Forms form tracking","sidebarTitle":"Gravity Forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/gravity-forms.svg","href":"/integrations/forms/gravity-forms"},{"title":"HubSpot form tracking (new forms)","sidebarTitle":"HubSpot forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/hubspot.svg","href":"/integrations/forms/hubspot"},{"title":"HubSpot marketing forms (legacy forms)","sidebarTitle":"HubSpot legacy forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/hubspot.svg","href":"/integrations/forms/hubspot-legacy-forms"},{"title":"Jotform form tracking","sidebarTitle":"Jotform","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/jotform.svg","href":"/integrations/forms/jotform"},{"title":"LinkedIn Lead Gen Form tracking","sidebarTitle":"LinkedIn lead forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/linkedin.svg","href":"/integrations/forms/linkedin-lead-forms"},{"title":"Meta lead form tracking","sidebarTitle":"Meta lead forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/meta.svg","href":"/integrations/forms/meta-lead-forms"},{"title":"Paperform form tracking","sidebarTitle":"Paperform","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/paperform.png","href":"/integrations/forms/paperform"},{"title":"Stealth Seminar form tracking","sidebarTitle":"Stealth Seminar","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/stealth-seminars.svg","href":"/integrations/forms/stealth-seminar"},{"title":"Typeform form tracking","sidebarTitle":"Typeform","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/typeform.svg","href":"/integrations/forms/typeform"},{"title":"WebinarJam and EverWebinar form tracking","sidebarTitle":"WebinarJam / EverWebinar","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/webinarjam.png","href":"/integrations/forms/webinarjam-everwebinar"},{"title":"Zoho Forms form tracking","sidebarTitle":"Zoho Forms","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometly/images/logos/zoho-forms.png","href":"/integrations/forms/zoho-forms"}]}]},{"tab":"Troubleshooting","icon":"wrench","pages":[{"title":"Troubleshooting","href":"/support/troubleshooting/overview"}]},{"tab":"Developers \u0026 API","icon":"code","pages":[{"title":"Developers \u0026 API","href":"/api-reference/overview"}]},{"tab":"MCP","icon":"robot","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"Help \u0026 Support","icon":"headset","pages":[{"title":"Help \u0026 Support","href":"/support/contact"}]}]},"basePath":"","title":"FastSpring Integration for Cometly: Track Purchases","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":[],"chunks":[]}