@embedreach/components 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20730,12 +20730,11 @@ const defaultPlatformData = {
20730
20730
  clicks: 1e3,
20731
20731
  impressions: 75e3,
20732
20732
  measured_conversions: 150,
20733
- // Increased for better conversion rate
20734
20733
  measured_revenue: 18e3,
20735
- // Increased for ~12x ROAS
20736
20734
  new_leads: 600,
20735
+ new_customers: 850,
20736
+ customer_ltv: 30100,
20737
20737
  roas: 12,
20738
- // Updated ROAS
20739
20738
  cost_per_click: 1.5,
20740
20739
  click_through_rate: 0.0133,
20741
20740
  date_range: { start: "2024-01-01", end: "2024-01-30" },
@@ -20751,6 +20750,8 @@ const defaultPlatformData = {
20751
20750
  measured_conversions: 150,
20752
20751
  measured_revenue: 18e3,
20753
20752
  new_leads: 600,
20753
+ new_customers: 850,
20754
+ customer_ltv: 30100,
20754
20755
  roas: 12,
20755
20756
  cost_per_click: 1.5,
20756
20757
  click_through_rate: 0.0133,
@@ -20766,10 +20767,10 @@ const defaultPlatformData = {
20766
20767
  impressions: 8e4,
20767
20768
  measured_conversions: 80,
20768
20769
  measured_revenue: 7200,
20769
- // Increased for 9x ROAS
20770
20770
  new_leads: 400,
20771
+ new_customers: 650,
20772
+ customer_ltv: 8500,
20771
20773
  roas: 9,
20772
- // Updated ROAS
20773
20774
  cost_per_click: 0.4,
20774
20775
  click_through_rate: 0.025,
20775
20776
  date_range: { start: "2024-01-01", end: "2024-01-30" },
@@ -20785,6 +20786,8 @@ const defaultPlatformData = {
20785
20786
  measured_conversions: 80,
20786
20787
  measured_revenue: 7200,
20787
20788
  new_leads: 400,
20789
+ new_customers: 650,
20790
+ customer_ltv: 8500,
20788
20791
  roas: 9,
20789
20792
  cost_per_click: 0.4,
20790
20793
  click_through_rate: 0.025,
@@ -20796,19 +20799,14 @@ const defaultPlatformData = {
20796
20799
  all: {
20797
20800
  business_id: sandboxBusinessId,
20798
20801
  ads_spend: 1500 + 800,
20799
- // 2300
20800
20802
  clicks: 1e3 + 2e3,
20801
- // 3000
20802
20803
  impressions: 75e3 + 8e4,
20803
- // 155000
20804
20804
  measured_conversions: 150 + 80,
20805
- // 230
20806
20805
  measured_revenue: 18e3 + 7200,
20807
- // 25200
20808
20806
  new_leads: 600 + 400,
20809
- // 1000
20807
+ new_customers: 850 + 650,
20808
+ customer_ltv: (850 * 30100 + 650 * 8500) / (850 + 650),
20810
20809
  roas: (18e3 + 7200) / (1500 + 800),
20811
- // ~11.0
20812
20810
  cost_per_click: (1500 + 800) / (1e3 + 2e3),
20813
20811
  click_through_rate: (1e3 + 2e3) / (75e3 + 8e4),
20814
20812
  date_range: { start: "2024-01-01", end: "2024-01-30" },
@@ -20820,84 +20818,72 @@ const defaultPlatformData = {
20820
20818
  baseEndDate: "2025-05-29",
20821
20819
  totalCount: 657,
20822
20820
  totalAmount: 76e3,
20823
- // Updated from 67309.88
20824
20821
  sourceBreakdown: [
20825
20822
  {
20826
20823
  primary_source: "unknown",
20827
20824
  source_type: "unknown",
20828
20825
  count: 528,
20829
20826
  amount: 52475.61
20830
- // Scaled and adjusted from 46475.13
20831
20827
  },
20832
20828
  {
20833
20829
  primary_source: "direct",
20834
20830
  source_type: "direct",
20835
20831
  count: 86,
20836
20832
  amount: 13014.7
20837
- // Scaled from 11526.84
20838
20833
  },
20839
20834
  {
20840
20835
  primary_source: "Google Ads",
20841
20836
  source_type: "paid",
20842
20837
  count: 58,
20843
20838
  amount: 5608.6
20844
- // Scaled from 4967.21
20845
20839
  },
20846
20840
  {
20847
20841
  primary_source: "Google Organic Search",
20848
20842
  source_type: "organic_search",
20849
20843
  count: 19,
20850
20844
  amount: 2525.65
20851
- // Scaled from 2236.8
20852
20845
  },
20853
20846
  {
20854
20847
  primary_source: "Yahoo Organic",
20855
20848
  source_type: "organic_search",
20856
20849
  count: 3,
20857
20850
  amount: 945.05
20858
- // Scaled from 837
20859
20851
  },
20860
20852
  {
20861
20853
  primary_source: "Facebook Organic",
20862
20854
  source_type: "social",
20863
20855
  count: 8,
20864
20856
  amount: 399.65
20865
- // Scaled from 354
20866
20857
  },
20867
20858
  {
20868
20859
  primary_source: "unknown",
20869
20860
  source_type: "social",
20870
20861
  count: 1,
20871
20862
  amount: 278.89
20872
- // Scaled from 247
20873
20863
  },
20874
20864
  {
20875
20865
  primary_source: "Facebook Ads",
20876
20866
  source_type: "paid",
20877
20867
  count: 3,
20878
20868
  amount: 239.25
20879
- // Scaled from 211.9
20880
20869
  },
20881
20870
  {
20882
20871
  primary_source: "android-app:",
20883
20872
  source_type: "referral",
20884
20873
  count: 2,
20885
20874
  amount: 185.17
20886
- // Scaled from 164
20887
20875
  },
20888
20876
  {
20889
20877
  primary_source: "Bing Organic",
20890
20878
  source_type: "organic_search",
20891
20879
  count: 4,
20892
20880
  amount: 180.65
20893
- // Scaled from 160
20894
20881
  },
20895
20882
  {
20896
20883
  primary_source: "duckduckgo.com",
20897
20884
  source_type: "referral",
20898
20885
  count: 1,
20899
20886
  amount: 146.78
20900
- // Scaled from 130
20901
20887
  }
20902
20888
  ]
20903
20889
  },