| @@ -1,5 +1,7 @@ | ||
| 1 | 1 | const BASE_CHECKOUT = 'https://discoplugin.com/checkout/?add-to-cart='; |
| 2 | +const CHECKOUT_UTM = | |
| 3 | + '&utm_source=disco-plugin&utm_medium=in-plugin&utm_campaign=pro-plan-page&utm_content=checkout-button'; | |
| 2 | 4 | |
| 3 | 5 | const pricingPlans = [ |
| 4 | 6 | { |
| 5 | 7 | name: '1 Site', |
| @@ -9,10 +11,10 @@ | ||
| 9 | 11 | lifetimePrice: 106, |
| 10 | 12 | originalLifetime: 265, |
| 11 | 13 | popular: false, |
| 12 | 14 | checkoutUrl: { |
| 13 | - yearly: BASE_CHECKOUT + '893', | |
| 14 | - lifetime: BASE_CHECKOUT + '896', | |
| 15 | + yearly: BASE_CHECKOUT + '893' + CHECKOUT_UTM, | |
| 16 | + lifetime: BASE_CHECKOUT + '896' + CHECKOUT_UTM, | |
| 15 | 17 | }, |
| 16 | 18 | features: [ |
| 17 | 19 | '5 Discount types', |
| 18 | 20 | 'All Product-level Rules', |
| @@ -34,10 +36,10 @@ | ||
| 34 | 36 | lifetimePrice: 153, |
| 35 | 37 | originalLifetime: 383, |
| 36 | 38 | popular: true, |
| 37 | 39 | checkoutUrl: { |
| 38 | - yearly: BASE_CHECKOUT + '894', | |
| 39 | - lifetime: BASE_CHECKOUT + '897', | |
| 40 | + yearly: BASE_CHECKOUT + '894' + CHECKOUT_UTM, | |
| 41 | + lifetime: BASE_CHECKOUT + '897' + CHECKOUT_UTM, | |
| 40 | 42 | }, |
| 41 | 43 | features: [ |
| 42 | 44 | '5 Site licenses', |
| 43 | 45 | 'All Pro features included', |
| @@ -61,10 +63,10 @@ | ||
| 61 | 63 | lifetimePrice: 199, |
| 62 | 64 | originalLifetime: 498, |
| 63 | 65 | popular: false, |
| 64 | 66 | checkoutUrl: { |
| 65 | - yearly: BASE_CHECKOUT + '895', | |
| 66 | - lifetime: BASE_CHECKOUT + '898', | |
| 67 | + yearly: BASE_CHECKOUT + '895' + CHECKOUT_UTM, | |
| 68 | + lifetime: BASE_CHECKOUT + '898' + CHECKOUT_UTM, | |
| 67 | 69 | }, |
| 68 | 70 | features: [ |
| 69 | 71 | '10 Site licenses', |
| 70 | 72 | 'All Pro features included', |