Stripe Pricing Table

You use Stripe Payment Table on your website

Ayo AbdulLast Updated June 26, 2025

Step 1: Tracking Clicks

Insert the following script in your website's <head> tag to start tracking clicks:

Normal Method

<script 
  src="https://pushlapgrowth.com/affiliate-tracker.js" 
  data-affiliate 
  data-program-id="YOUR_AFFILIATE_PROGRAM_ID" 
  async>
</script>

Using Google Tag Manager

<script>
  var pushLap = document.createElement('script');
  pushLap.src = "https://pushlapgrowth.com/affiliate-tracker.js";
  pushLap.setAttribute('data-affiliate', '');
  pushLap.setAttribute('data-program-id', 'YOUR_AFFILIATE_PROGRAM_ID');
  document.head.appendChild(pushLap);
</script>

Step 2: Connect Stripe

To proceed, connect your Stripe account by going to Dashboard → Integrations → Connect payment processor → Stripe. (Please complete the whole stripe connection flow to have your affiliate program connected to your stripe account)

Step 3: Send Affiliate Data to Stripe

Insert this code in your website's <head> tag on all pages where you have stripe payment links. This code will send the affiliate data to stripe.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
  setTimeout(function() {
    $('a[href^="https://buy.stripe.com/"]').each(function() {
      const oldUrl = $(this).attr("href");
      const affiliateId = window.affiliateId;
      if(!oldUrl.includes("client_reference_id")) {
        const newUrl = oldUrl + "?client_reference_id=" + affiliateId;
        $(this).attr("href", newUrl);
      }
    });
    $("[pricing-table-id]").each(function() {
      $(this).attr("client-reference-id", window.affiliateId);
    });
    $("[buy-button-id]").each(function() {
      $(this).attr("client-reference-id", window.affiliateId);
    });
  }, 2000);
});
</script>

Summary

By following these steps, you can successfully integrate Stripe with Push Lap Growth for accurate affiliate tracking.

Did this answer your question?
© 2025 Push Lap Growth - Track, Manage and Find Affiliates