Skip to main content

API: Custom Conversion Tracking

Stefan Schindler avatar
Written by Stefan Schindler
Updated over 2 months ago

How to Use Custom Conversion Tracking via API

If you've enabled custom conversion tracking for your landing page, you can now manually track conversions using a simple API call. This article will guide you through the process of sending the necessary data for conversion tracking.

Step-by-Step Guide

  1. Ensure Custom Conversion Tracking is Activated

    • Navigate to the settings for the landing page you want to track.

  2. Use the Code Snippet for Conversion Tracking

    • If custom conversion tracking is enabled, you will find a code snippet specifically for tracking conversions.

    • This snippet will already include the correct Landing page ID and read the variant ID from the meta tags of the rendered landing page.

  3. Confirm Tracking is Working

    • After sending the request, check the conversion tracking data in the dashboard to ensure the conversion is recorded correctly.

How to Track Conversions via Third-Party Pages

If you’re tracking conversions that happen on third-party pages (e.g., after a user clicks a link from your landing page), you can use the cb_vid parameter, which is automatically appended to all links on your landing page. This parameter contains the variant ID needed for conversion tracking. The URL for the request is still the one that you find in the snippet.

Tips:

  • Ensure you use the correct landing page ID and variant ID in the request for accurate tracking.

This method gives you full control over the conversion tracking process, allowing you to track conversions even outside of automatic tracking events like sign-ups.

Did this answer your question?