You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.txt
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,46 @@
1
1
== Changelog ==
2
2
3
+
= 1.165.0 =
4
+
5
+
**Added**
6
+
7
+
* Add support for using Sign in with Google for WordPress user comments. See [#11478](https://github.com/google/site-kit-wp/issues/11478).
8
+
* Add new “Enable Sign in with Google for user comments” Sign in with Google setting to Site Health. See [#11477](https://github.com/google/site-kit-wp/issues/11477).
9
+
* Add the "Show next to comments" toggle to the Sign in with Google setup form. See [#11476](https://github.com/google/site-kit-wp/issues/11476).
10
+
* Add developer documentation to the Sign in with Google action. See [#11446](https://github.com/google/site-kit-wp/issues/11446).
11
+
12
+
**Enhanced**
13
+
14
+
* Implement GA4 tracking events for Enhanced Conversions notifications. See [#11644](https://github.com/google/site-kit-wp/issues/11644).
15
+
* Decouple Enhanced Conversions from the Ads module; send user data when any gtag-using service is connected (Ads, Analytics, or Tag Manager). See [#11600](https://github.com/google/site-kit-wp/issues/11600).
16
+
* Add feature metrics tracking for SiwG and Enhanced Conversions. See [#11572](https://github.com/google/site-kit-wp/issues/11572).
17
+
* Synchronise audiences and custom dimensions on the Key Metrics setup screen. See [#11386](https://github.com/google/site-kit-wp/issues/11386).
18
+
* Automatically set up Audience Segmentation when landing on the dashboard in the new Analytics setup flow. See [#11385](https://github.com/google/site-kit-wp/issues/11385).
19
+
* Add redirection to Key Metrics setup after successful Analytics account creation as part of the new setup flow. See [#11381](https://github.com/google/site-kit-wp/issues/11381).
20
+
* Display the progress indicator on the Key Metrics setup screen when it's navigated to in the new setup flow. See [#11380](https://github.com/google/site-kit-wp/issues/11380).
21
+
* Add "Exit setup" button to the splash screen header when `setupFlowRefresh` feature flag is enabled. See [#11337](https://github.com/google/site-kit-wp/issues/11337).
22
+
* Add info tooltip below the Sign in with Google CTA on the splash screen to explain why Google account connection is required. See [#11335](https://github.com/google/site-kit-wp/issues/11335).
23
+
* Add a "Recommended" badge below the Analytics checkbox on the new splash screen. See [#11334](https://github.com/google/site-kit-wp/issues/11334).
24
+
* Create setup email reports notice component. See [#11144](https://github.com/google/site-kit-wp/issues/11144).
25
+
* Add PUE settings section to the Admin settings screen. See [#11141](https://github.com/google/site-kit-wp/issues/11141).
26
+
* Add Enhanced Conversions notification components for Ads and Analytics modules. See [#11018](https://github.com/google/site-kit-wp/issues/11018).
27
+
* Fix bug that caused Sign in with Google button not to redirect the user to the page they signed in from. See [#10487](https://github.com/google/site-kit-wp/issues/10487).
28
+
* Set a max-width on the Sign in with Google button. See [#10476](https://github.com/google/site-kit-wp/issues/10476).
29
+
* Add support for block styling and custom HTML classes for the Sign in with Google block. See [#10475](https://github.com/google/site-kit-wp/issues/10475).
30
+
* Add support for Sign in with Google button using a shortcode (`site_kit_sign_in_with_google`). See [#10150](https://github.com/google/site-kit-wp/issues/10150).
31
+
32
+
**Changed**
33
+
34
+
* Display warning when incompatible plugin/other issues are detected after Sign in with Google is set up. See [#11457](https://github.com/google/site-kit-wp/issues/11457).
35
+
36
+
**Fixed**
37
+
38
+
* Prevent empty fields being sent in user data for Enhanced Conversion events. See [#11626](https://github.com/google/site-kit-wp/issues/11626).
39
+
* Fix bug that could cause Sign in with Google client ID not to be persisted. See [#11611](https://github.com/google/site-kit-wp/issues/11611).
40
+
* Fix inconsistent plugin conversion tracking label in the Ads settings view. See [#11588](https://github.com/google/site-kit-wp/issues/11588).
41
+
* Fix phone number classification in Enhanced Conversions to disregard false positives. See [#11484](https://github.com/google/site-kit-wp/issues/11484).
42
+
* Fix visual bug in visitor group slide-over panel. See [#10991](https://github.com/google/site-kit-wp/issues/10991).
Copy file name to clipboardExpand all lines: docs/Sign-in-with-Google-for-third-party-plugins.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Sign in with Google for Third-Party Plugins & Themes
2
2
3
-
Starting from **Site Kit n.e.x.t (or later)**, Site Kit supports rendering a Sign in with Google button using [WordPress PHP actions](https://developer.wordpress.org/plugins/hooks/actions/) and [WordPress shortcodes](https://codex.wordpress.org/Shortcode).
3
+
Starting from **Site Kit 1.165.0 (or later)**, Site Kit supports rendering a Sign in with Google button using [WordPress PHP actions](https://developer.wordpress.org/plugins/hooks/actions/) and [WordPress shortcodes](https://codex.wordpress.org/Shortcode).
4
4
5
5
Use this documentation to integrate the Sign in with Google button provided by Site Kit into your WordPress plugin, theme, or site code directly.
6
6
@@ -14,11 +14,11 @@ Site Kit provides a PHP action, Gutenberg block, and a shortcode that allow thir
14
14
15
15
The Sign in with Google action and shortcode are ideal for:
16
16
17
-
- Adding Google authentication to custom login forms
18
-
- Integrating Google Sign-In into membership plugins
19
-
- Providing alternative authentication methods in custom user interfaces
20
-
- Enhancing WooCommerce or other e-commerce login experiences
21
-
- Embedding the button in page content, widgets, or page builders (using the shortcode)
17
+
-Adding Google authentication to custom login forms
18
+
-Integrating Google Sign-In into membership plugins
19
+
-Providing alternative authentication methods in custom user interfaces
20
+
-Enhancing WooCommerce or other e-commerce login experiences
21
+
-Embedding the button in page content, widgets, or page builders (using the shortcode)
The action accepts an optional `array` of the following parameters as its only argument:
32
32
33
-
| Argument | Type | Description | Values |
34
-
|----------|------|-------------|---------|
35
-
|`class`|`string` or `array`| Additional CSS classes to add to the button container (`'googlesitekit-sign-in-with-google__frontend-output-button'` is always present and cannot be removed.) |`string` or `array` of `string`|
36
-
|`text`|`string`| Button text variation |`'continue_with'`, `'signin'`, `'signin_with'`, `'signup_with'`|
|`class`|`string` or `array`| Additional CSS classes to add to the button container (`'googlesitekit-sign-in-with-google__frontend-output-button'` is always present and cannot be removed.) |`string` or `array` of `string`|
36
+
|`text`|`string`| Button text variation |`'continue_with'`, `'signin'`, `'signin_with'`, `'signup_with'`|
37
+
|`theme`|`string`| Button color theme|`'outline'` (light), `'filled_blue'` (neutral), `'filled_black'` (dark) |
**Returns:** The action returns no value as it outputs HTML directly (`void`).
41
41
@@ -76,26 +76,26 @@ The shortcode accepts the same customization attributes as the PHP action:
76
76
77
77
**Shortcode Attributes:**
78
78
79
-
-`class` - Additional CSS class(es) to add to the button container
80
-
-`shape` - Button shape (see options in "parameters" above)
81
-
-`text` - Button text variation (see options in "parameters" above)
82
-
-`theme` - Button color theme (see options in "parameters" above)
79
+
-`class` - Additional CSS class(es) to add to the button container
80
+
-`shape` - Button shape (see options in "parameters" above)
81
+
-`text` - Button text variation (see options in "parameters" above)
82
+
-`theme` - Button color theme (see options in "parameters" above)
83
83
84
84
The shortcode is useful for:
85
85
86
-
- Adding the button via the WordPress block editor (in text mode)
87
-
- Including the button in widgets that support shortcodes
88
-
- Embedding the button in page builders
89
-
- Any context where using the Gutenberg block/PHP code directly is not possible
86
+
-Adding the button via the WordPress block editor (in text mode)
87
+
-Including the button in widgets that support shortcodes
88
+
-Embedding the button in page builders
89
+
-Any context where using the Gutenberg block/PHP code directly is not possible
90
90
91
91
## Behavior When Not Connected
92
92
93
93
You can use the PHP action or Shortcode even if Sign in with Google is not connected. If Site Kit cannot render a Sign in with Google button for any reason, no button will be output and no error/warning will be displayed.
94
94
95
95
The Sign in with Google button will **NOT** render in the following scenarios:
96
96
97
-
- Sign in with Google is not connected in Site Kit
98
-
- Your site is not using HTTPS/SSL (Sign in with Google requires HTTPS for security)
97
+
-Sign in with Google is not connected in Site Kit
98
+
-Your site is not using HTTPS/SSL (Sign in with Google requires HTTPS for security)
99
99
100
100
## Examples
101
101
@@ -145,15 +145,15 @@ The **button container** can be styled using CSS. The default class is always pr
**Note:** The button itself is rendered by Google's JavaScript and follows Google's design guidelines. The styling you apply affects only the container `div`.
154
154
155
155
## Additional Resources
156
156
157
-
-[Site Kit Sign in with Google Documentation](https://sitekit.withgoogle.com/documentation/supported-services/sign-in-with-google) - Check if you can't get a button to appear
158
-
-[Google Identity Services Documentation](https://developers.google.com/identity/gsi/web) - Includes styling examples, etc.
159
-
-[Site Kit Support](https://github.com/google/site-kit-wp/issues) - Report issues or ask questions
157
+
-[Site Kit Sign in with Google Documentation](https://sitekit.withgoogle.com/documentation/supported-services/sign-in-with-google) - Check if you can't get a button to appear
158
+
-[Google Identity Services Documentation](https://developers.google.com/identity/gsi/web) - Includes styling examples, etc.
159
+
-[Site Kit Support](https://github.com/google/site-kit-wp/issues) - Report issues or ask questions
0 commit comments