Skip to main content
Hero AI Pixel Installation

Learn how to setup Cometly tracking Hero AI landing pages for the the ClickBank and BuyGoods integration.

Updated over 3 weeks ago

This article will show you how to setup Hero AI landing pages with ClickBank and BuyGoods tracking. Applying the instructions below will set up tracking for all landing pages within the site group within Hero AI. That means any landing page that you build within the site group will automatically have the codes applied.

Important: If you want to track BuyGoods and ClickBank at the same time, you will have to have a different site group within Hero AI as adding the codes below will apply the codes to all landing pages within the selected Hero AI site group.


1. Add Meta Pixel Code

Navigate to Pixel Code and add your Meta pixel.


2. Add code to landing page

Navigate to Site Settings within your Hero AI site group.

In the Header Code area, paste the Cometly Pixel.

  • You can retrieve the Cometly Pixel from within your Cometly account by navigating to the left menu and clicking Space Setup. Then on the Space Setup page, click Install & Verify Cometly Pixel. Please note that you only need to copy the pixel, you do not need to verify the pixel.

In the Footer Code area, place the following code depending on the integration you are using (either ClickBank or BuyGoods).
​

ClickBank: (Add to footer)

<script src="https://app.cometly.com/j"></script>

BuyGoods: (Add to footer)

<script src="https://app.cometly.com/affiliate/buygoods"></script>
  • If you are adding the code above to BuyGoods, add this additional code as well.

BuyGoods Conversion API Code: (Only add if you are using BuyGoods)

<script type="text/javascript" src="https://buygoods.com/js/facebook_link_manager.js"></script>

Click Save Changes.

Did this answer your question?