To integrate Clickbank email attribution into your confirmation page, follow these steps.

Part 1: Capture the Hop

  1. Go into your AEvent Timeline and click on Settings.

  2. Click on the Registration heading, scroll to the bottom and click “Add Custom Form Field”.

  3. In Field Name, type in hop.

  4. Under Form Type, select query.

  5. Click Create.

Part 2: Add to Confirmation Page

  1. For this step, you will use the code below these instructions. In the code, you will need to replace the VENDOR_ID with your Clickbank Vendor ID.

  2. Copy the entire code.

  3. Go into Clickfunnels to your Confirmation Page.

  4. Add a Custom Javascript / HTML element anywhere on the page.

  5. Click on “Open Code Editor” and paste in the code.

  6. Close and Save.

Custom Code to Paste Into Confirmation Page HTML Element

<div id="ae_holder" style="display:none;">https://ea.clickbank.net/?vendor=YOUR_VENDOR_ID&affiliate={{!subscriber-hop}}&custemail={{!email}}</div><div id="aecb_hardcode"></div>

<script type="text/javascript">

$( document ).ready(function() {

  jQuery(function() {

      function checkFlag() {

          var checkit=jQuery("#ae_holder").text();

          //console.log("Test: "+checkit.includes('{{'));

          if(checkit.includes('{{') == true) {

            window.setTimeout(checkFlag, 500);

          } else {

            //console.log("Test Passed: "+checkit);

            jQuery("#aecb_hardcode").html('<img src="'+checkit+'" style="height:0px;width:0px;">');

          }

      }

      checkFlag();

  });

});

</script>

(make sure to change YOUR_VENDOR_ID to your Clickbank Vendor ID)

Did this answer your question?