Can we track both free trials and purchases with our click tracking software and advertising channels? (SOLVED)

Is this possible now?

Hi!

Just to clarify, are you asking about tracking ad conversions or a similar process? If so, you can check out this video on ad conversion tracking: Ad Tracking in Pickaxe

If you were referring to something else, could you please provide a bit more detail? In most cases, similar results can be achieved by implementing a setup like the ad conversion tracking process, using our Website Code Injection feature. Please let us know more about what you’d like to accomplish, and we’ll be happy to assist you further.

1 Like

Hi @danny_support , thanks for the tutorial video, I am sure that will help a lot of people. Yes, I know how to set up tracking for sales in the website code injection, but I’m unsure of how to also track free trial submissions simultaneously within the code injector.

Do you have any idea if this can be accomplished yet? Or should I create another tracking pixel focused on leads, based on your example, and place that in the website code injection as well? I’m a bit confused about where to paste the code.

Normally, conversions for a lead on my website would occur on the thank-you page after the opt-in page. If someone buys from the sales page, another pixel would fire the conversion pixel for sales, which is located after the checkout page.

I am trying to determine if the website code injector can distinguish between ā€œsalesā€ and ā€œleadā€ pixels to ensure they only fire when a free trial signs up for a lead and when someone pays a subscription fee, as sales. Does that make sense?

@danny_support following up on this since being able to track both leads and sales for my ad campaigns would really help.

Hi @rainmaker,

I’m actively investigating this and appreciate your patience and understanding in the meantime.

1 Like

Hi @rainmaker,
I ran several tests on our end and consulted with our engineering team.

For tracking leads and sign-ups:
You should place your conversion tracking code in the Footer section within the Website Code Injection settings. This will enable your tracking pixel to fire when users complete the sign-up process.

For tracking purchases of paid products:
Add your conversion tracking code to the Confirmation Page Header section of the Website Code Injection. This ensures your pixel is triggered when a user reaches the confirmation page after a successful purchase.

Regarding tracking free products:
When users purchase free products, they are granted access immediately and are not redirected to a confirmation page. Because of this, standard confirmation page tracking will not capture these events. To address this, you can use a custom script that specifically targets the ā€œNextā€ and ā€œCheckoutā€ buttons used in free product purchases. Here is an example you can adapt for your own conversion ID:

<script>
function gtag_report_conversion(url) {
  var callback = function () {
    if (typeof(url) != 'undefined') {
      window.location = url;
    }
  };
  gtag('event', 'conversion', {
    'send_to': 'AW-XXXXX/XXXXX',
    'value': 1.0,
    'currency': 'USD',
    'event_callback': callback
  });
  return false;
}

function attachConversionToNextOrCheckout() {
  var buttons = document.querySelectorAll('button.text-white.bg-c-blue');
  buttons.forEach(function(btn) {
    // Attach only to "Next" or "Checkout" buttons
    var buttonText = btn.textContent.trim().toLowerCase();
    if (
      (buttonText === "next" || buttonText === "checkout") &&
      !btn.dataset.conversionAttached
    ) {
      btn.addEventListener('click', function(e) {
        gtag_report_conversion();
      });
      btn.dataset.conversionAttached = "true";
    }
  });
}

// Attach on load and watch for DOM changes
document.addEventListener("DOMContentLoaded", function() {
  attachConversionToNextOrCheckout();
  const observer = new MutationObserver(function() {
    attachConversionToNextOrCheckout();
  });
  observer.observe(document.body, { childList: true, subtree: true });
});
</script>

Please be sure to update the ā€˜send_to’ field in the script with your unique Google Ads conversion ID. You should place this script in the Footer section of your Website Code Injection, not in the Confirmation Page Header or Footer. If you already have a script for tracking sign-ups, it is perfectly fine to include a second script tag for tracking free product purchases or other conversion events.

1 Like

Wow, thanks @danny_support for the thorough answer! You definitely should get a raise for this one! Appreciate it and keep up the good work. I only needed the leads and sales answer, but thanks for going the extra mile regarding free products as well!

2 Likes

Hi Danny, I’ve just been tracking sales but when I try to also track leads from your directions above one of the codes disappears. I can’t have both codes on the page at the same time.

Also, I can’t remember if I have asked but how do we track different product sales at different values? Is this possible?

Actually I did ask the question on this thread but maybe you have that feature available today you didn’t have before? - More complex Ad Tracking Solution? How to track sales of multiple products at different price points?

Hi @rainmaker ,
I’ve replied to you here:

Let’s continue the conversation in that thread.

Hmm, For some reason this isn’t working. I am able to track visitors that click a button on my site and go to the sales page of my studio showing an action taking place but the free trial signup I’m tracking with my cod in the footer and set to engagements also fires when it shouldn’t since that would require a free trial sign up. Anyone else having issues with this and any solution?

Following up on this. I sent an email as well. The free trial pixel shouldn’t be firing when people haven’t signed up yet for the free trial. It fires when people land on the studio page.

Hi @rainmaker,
I’ve responded to your email, but I’m sharing the response here as well in case it helps other users:

The free‑trial pixel is firing early because it’s placed in the global Footer, which executes on every Studio page load. Since Pickaxe does not currently generate a dedicated confirmation page for free‑trial sign‑ups, there isn’t a native event tied exclusively to completed registrations.

Many analytics platforms, including Google Tag Manager, support event‑based triggers such as , specific button clicks, element visibility, DOM interactions. If your tracking provider offers similar functionality, you can configure the goal to fire only when the sign‑up form is submitted. If your platform supports only page‑load‑based firing, then a dedicated confirmation page or unique URL path would be required.

If that type of confirmation page would be valuable for your workflow, please feel free to create a feature request so other users can add their support. This helps our team understand demand and prioritize future updates.

1 Like

Yes, my analytics platform can do event-based triggers, but I don’t see how I can edit my Pickaxe signup forms to even add my click tracking code/event-based trigger to the submit button. From what I am seeing, this is going to require a feature request for a dedicated form submit confirmation page, unless I am missing something?

Hi @rainmaker,

Pickaxe’s signup flow does not use a traditional HTML form element, so tools that rely specifically on form-submission triggers will not detect the event. I apologize for mentioning that approach earlier.

The method that does work is using an Element Visibility trigger. After a user completes signup, Pickaxe displays a new header element with the ID account-menu. This element appears only after a user is authenticated, making it a consistent and trackable indicator of a completed signup.

I tested this approach using Google Tag Manager, and the tag fires only after the signup is successful. By configuring an Element Visibility trigger that activates when account-menu becomes visible, you can accurately track the event without modifying the signup flow itself. Here is a short video demonstration of the setup in action: Watch 2025-12-10 16-51-43 | Streamable

If your analytics platform supports a visibility or DOM-based trigger similar to GTM’s, you should be able to use the same method. If it does not support selector-based tracking, then waiting for the confirmation-page feature request you opened would indeed be the appropriate path forward.

Thank you again for raising the feature request and for continuing to share valuable feedback.

1 Like

Thanks for getting back to me so quickly, Danny! Unfortunately, my analytics platform doesn’t have this capability, which would require the free trial confirmation page feature. For now, I can still run paid ads and see ā€œactionsā€ being fired when they hit my studio page, and although I can’t see ā€œengagementsā€ fire, meaning they filled out a free trial form, I still get emails of people who signed up. It’s just harder to see if they came from organic or paid traffic, so I have a leak in my funnels right now. Not a dealbreaker, but it is always great to be able to see everything in your funnel being attributed to the correct traffic source. Thanks for the thorough walkthrough! I look forward to the feature request being implemented when the team is able to get to it.

Anyone else who would like to vote on this, the link is here - Dedicated form submit confirmation page = Able to track Free Trial Signups