spree_google_analytics 1.0.0 → 1.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c60f82dafa6c0ddced33284212aab54aaee082b7f2099cfd864e709774b3a54
4
- data.tar.gz: a0fa0447fa1a82e9ddf06c4b1eb9153bc72e92206dd5a085c2d6f3f1334320c9
3
+ metadata.gz: 073d2aa4a4a2b50971122cb0abd0b9808fb7f78acc541145c2e195ce58e4778f
4
+ data.tar.gz: aa0bedfcafb490342aa0db3e9f4d5a41408929ad092ae35324235f6c34f94df9
5
5
  SHA512:
6
- metadata.gz: 4e7f62f44a99df591d50f0f77fec46088f47bc64e598567beb94a661949527d2c8a839c5311635d8a2bffbd70a47be02e4223bb3baf0643de25710abffc1a151
7
- data.tar.gz: 84ed673c296694e8cfe422fcd99413ce4547db6d62a0ba7853f988a473b94ff270be41b173b943f0ce5a63923caac14dca73f32beb67482be2e20a7c02f119e3
6
+ metadata.gz: 38e7822a559720b891aeb09957ff38e41cd8cf7a4e060d84a9b8fd366f12f8273068a2d5071d72d3bd63e46a3a0aa5a4ee648042487b5232ad0f44b4348293c9
7
+ data.tar.gz: 9485726d7f81a77c0165f1bd1fde3994501e06b271179c661b54cb411ad06b4a5927b6805413d2bdf94395cd1c70d11dca2c5580c50d0f5caa40e1f4c17735a0
data/README.md CHANGED
@@ -1,6 +1,31 @@
1
- # Spree Google analytics
1
+ # Google Analytics 4 integration for Spree Commerce
2
2
 
3
- This is a Google analytics extension for [Spree Commerce](https://spreecommerce.org), an open source e-commerce platform built with Ruby on Rails.
3
+ This is a Google Analytics 4 extension for [Spree Commerce](https://spreecommerce.org) - the [open-source eCommerce platform](https://spreecommerce.org) for [Rails](https://spreecommerce.org/category/ruby-on-rails/).
4
+
5
+ This [Google Analytics 4 integration for Spree Commerce](https://spreecommerce.org/docs/integrations/analytics/google-analytics) allows you to track user behavior, sales performance, and marketing effectiveness across your store.
6
+
7
+ With minimal setup required, you can gain valuable insights into how visitors interact with your site, which can help you make informed decisions to improve conversions, user experience, and overall business strategy.
8
+
9
+ > [!NOTE]
10
+ > To set up the Google Analytics integration, you must have a Google Analytics account and an associated property.
11
+
12
+ ## Event Tracking
13
+
14
+ By default, the following events will be tracked in Google Analytics 4:
15
+ - page_view
16
+ - first_visit
17
+ - session_start
18
+ - user_engagement
19
+ - search
20
+ - add_payment_info
21
+ - add_shipping_info
22
+ - add_to_cart
23
+ - add_to_wishlist
24
+ - begin_checkout
25
+ - purchase
26
+ - remove_from_cart
27
+ - view_cart
28
+ - view_item
4
29
 
5
30
  ## Installation
6
31
 
@@ -20,6 +45,10 @@ This is a Google analytics extension for [Spree Commerce](https://spreecommerce.
20
45
 
21
46
  If your server was running, restart it so that it can find the assets properly.
22
47
 
48
+ ## Setup
49
+
50
+ Please follow [our setup guide](https://spreecommerce.org/docs/integrations/analytics/google-analytics) to start tracking all events in Google Analytics dashboard.
51
+
23
52
  ## Developing
24
53
 
25
54
  1. Create a dummy app
@@ -59,3 +88,15 @@ If you'd like to contribute, please take a look at the
59
88
  pull request.
60
89
 
61
90
  Copyright (c) 2025 [name of extension creator], released under the New BSD License
91
+
92
+ ## Join the Community
93
+
94
+ [Join our Slack](https://slack.spreecommerce.org) to meet other 6k+ community members and get some support.
95
+
96
+ ## Need more support?
97
+
98
+ [Contact us](https://spreecommerce.org/contact/) for enterprise support and custom development services. We offer:
99
+ * migrations and upgrades,
100
+ * delivering your Spree application,
101
+ * optimizing your Spree stack.
102
+
@@ -1,16 +1,15 @@
1
- <div class="col-12 col-md-6 p-0">
2
- <div class="card mb-4">
3
- <div class="card-body">
4
- <% if @integration.persisted? %>
5
- <div class="alert alert-warning">
6
- <%= Spree.t('admin.integrations.google_analytics.reports_warning') %>
7
- </div>
8
- <% end %>
1
+ <div class="card mb-4">
2
+ <div class="card-body">
3
+ <% if @integration.persisted? %>
4
+ <div class="alert alert-warning">
5
+ <%= Spree.t('admin.integrations.google_analytics.reports_warning') %>
6
+ </div>
7
+ <% end %>
9
8
 
10
- <%= preference_field(@integration, form, 'measurement_id', i18n_scope: 'admin.integrations.google_analytics') %>
11
- <p class="mb-0 mt-2">
12
- <%= external_link_to 'Where to find my Measurement ID?', 'https://support.google.com/analytics/answer/12270356' %>
13
- </p>
14
- </div>
9
+ <%= preference_field(@integration, form, 'measurement_id', i18n_scope: 'admin.integrations.google_analytics') %>
10
+ <p class="mb-0 mt-2">
11
+ <%= external_link_to 'Where to find my Measurement ID?', 'https://support.google.com/analytics/answer/12270356' %>
12
+ </p>
15
13
  </div>
16
14
  </div>
15
+
@@ -1,5 +1,5 @@
1
1
  module SpreeGoogleAnalytics
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
 
4
4
  def gem_version
5
5
  Gem::Version.new(VERSION)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_google_analytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vendo Connect Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-20 00:00:00.000000000 Z
11
+ date: 2025-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree