Skip to main content

Conversion Tracking

SplitHub tracks conversions by creating an ID for each user involved in a test. This ID links the user with future conversions. Additionally, SplitHub records the time before conversion and scroll depth on the page.

Data Collection and Privacy​

  • Impressions: SplitHub saves information only about impressions and does not collect any user data not related to the test.
  • User Privacy: When a test is not active, requests to the database are blocked, ensuring that data is saved only for users involved in the test.

Firing Conversion Events​

Adding Conversion Script to Thank You Page​

Add the following conversion script to your thank you page:

<!-- SplitHub Conversion -->
<script type="text/javascript">
splithub.conversion({
website_id: 'YOUR_WEBSITE_ID'
});
</script>
<!-- End SplitHub Conversion -->

Triggering Conversion Events with Google Tag Manager​

  1. Create a New Tag in Google Tag Manager:

    • Go to your GTM dashboard.
    • Click on Tags and then New.
    • Choose Tag Configuration and select Custom HTML.
  2. Add the Conversion Script:

    • Copy and paste the SplitHub conversion script into the Custom HTML field:
    <!-- SplitHub Conversion -->
    <script type="text/javascript">
    splithub.conversion({
    website_id: 'YOUR_WEBSITE_ID'
    });
    </script>
    <!-- End SplitHub Conversion -->
  3. Set Up the Trigger:

    • Click on Triggering and choose the appropriate trigger for your conversion event (e.g., Page View, Click, Form Submission).
    • Configure the trigger based on your specific needs (e.g., URL contains "thank-you").
  4. Save and Publish:

    • Save the tag and publish your GTM container.