Set up conversion tracking with Converly
Tracking only works when THREE things are all true. A flow is published, the destination platform is connected (for server side platforms), and the Converly snippet is installed on the website. Never end this workflow without all three handled or handed to the user.
Steps
Understand the goal. Ask which form tool the site uses (Typeform, Webflow forms, Gravity Forms and so on) and which ad platform conversions should go to, unless the user already said.
Check the destination. Call
list_destinations. If the target platform isn't connected and it is a server side platform (its entry inlist_destination_typeshas a non emptyconnection_types), callconnect_destination. Share the link it returns, explain the account owner must open it in their browser and authorize, and ask them to tell you when they've finished. Then confirm withcheck_handoff_status. Browser side pixel platforms (emptyconnection_types) need no connection step.Build the flow. Call
list_trigger_typesfor the trigger id andlist_action_typesfor the exact action config the destination needs. Create withcreate_flow, then runvalidate_flowand fix any problems it reports.Publish. Call
publish_flow. Read its result carefully. Ifinstall_status.detectionis "never_seen", the loader has never phoned home from the site. That usually means the snippet still needs to be installed, so offer it. The check is quick to settle: the loader phones home when a page loads, so once the snippet is in, ask the user to open any page of their site and checkget_install_statusagain. Detection flips to "confirmed" within moments. If it stays "never_seen" after a page load, the snippet is not live yet (site builders need a republish). Two setups never send the phone-home signal: sites using the Converly Webflow app, and visitors with privacy signals or unconsented cookie banners. For those, a real form submission appearing inlist_eventsis the proof instead.Get the snippet installed. Call
get_install_snippetand give the user the script tag. Tell them to add it to their site's head section, or through their website platform's custom code setting. This step needs the user to act. Do not skip it and do not suggest testing before it is done.Verify. Once the snippet is in place, ask the user to open any page of their site, then check
get_install_status. "confirmed" proves the loader is running (andorigin_authorized: falsemeans the site domain is wrong, fix it withupdate_site). Then suggest a real form submission and checklist_eventsfor the captured conversion andget_event_detailfor the per destination delivery result. Only the submission proves the form itself gets detected.send_test_eventcan fire a test conversion to a connected destination without a form submission.
Cautions
- If a write is refused for billing, the account has no active trial or subscription. Tell the user to sort out their subscription in Converly, then continue.
- Never guess ids. Sites, flows, destinations and events all come from the list tools with prefixed ids.