A Practical Guide to Full Attribution Tracking - From Click to Your CRM
Discover how to build a complete attribution and user journey tracking system using GA4, Google Tag Manager, and HubSpot without expensive SaaS tools.

Keeping customers with recurring subscriptions or product renewals is quite critical for sustainable revenue growth. One tactic is to offer targeted pricing discounts that can nudge customers into renewing their products—without sacrificing your overall revenue.
In this post, we’ll explain the reasoning behind using discounts to boost renewals, detail the underlying model, and walk through a simple JavaScript solution that processes a CSV file to determine optimal discount levels.
Businesses often struggle with renewals. Even when customers are satisfied, friction in the renewal process or a perceived high price can lead to churn. A well-calibrated discount strategy can:
The idea is simple: for each user, determine the maximum discount you can offer without hurting your baseline revenue expectations. Consider these inputs:
Expected Revenue Without Discount
If a customer has a base renewal probability of p%, then the expected revenue from that customer will be:
Expected Revenue = (p/100) x Standard Price
Revenue With a Discount
Offering a discount d% reduces the price to:
New Price = Standard Price x (1−d/100)
We assume that if the discount is sufficient to convert a customer (i.e., the customer renews), you at least want the discounted price to be in line with or better than the expected revenue.
Maximum Allowable Discount
To ensure that offering a discount is beneficial, the discount should be capped by the gap between a perfect renewal probability (100%) and the current probability p. In other words:
d ≤ 100−p
If a user has a 90% chance to renew, you can offer at most a 10% discount. On the other hand, if a user has only a 40% chance, you can offer up to 60%, but in practice, you might choose a proposed discount (say, 30%) if that’s known to convert more renewals.

As shown above, a customer with an 80% renewal probability can only be discounted by 20%, while a customer with a 40% chance can receive the full 30% discount, lowering the price accordingly.
If you want to test this out with your own file, use the file upload below—it will generate a new file with the calculations.
user_id, base_renewal_probability, and standard_price) and click the "Process CSV" buttonUsing targeted discounts based on a customer’s renewal probability offers several benefits:
Note: You will need to build a renewal probability model beforehand to score your users and then apply the appropriate discounts.
A strategic pricing discount model can be a powerful tool to increase renewal rates without sacrificing overall revenue. By using data and a simple model, you can tailor discounts to individual customer segments, encouraging renewals and boosting long-term growth.
Discover how to build a complete attribution and user journey tracking system using GA4, Google Tag Manager, and HubSpot without expensive SaaS tools.

If you need to create an intelligent auto-reply with specific conditions—like restricting replies to certain domains, or controlling when the auto-responder fires—this script will do the job perfectly.

Keeping customers with recurring subscriptions or product renewals is quite critical for sustainable revenue growth. One tactic is to offer targeted pricing discounts that can nudge customers into renewing their products—without sacrificing your overall revenue.

AI-driven search engines like ChatGPT and Google Gemini are changing how content ranks in 2025. To optimize for AI-powered search, content must be conversational, structured in a Q&A format, and utilize long-tail keywords. Implementing FAQ schema and structured data improves discoverability, while authority and freshness enhance ranking. As AI search evolves, businesses must adapt their content strategies to stay competitive.

Managing multiple Google Calendars can be a hassle, especially when juggling clients, businesses, or teams that need visibility into your availability. While paid tools exist, there’s a free and easy way to sync your calendars automatically using Google Apps Script. In this guide, I'll walk you through setting up a two-way calendar sync that updates events in real time—without the need for third-party software.