PHPackages                             silverware/google - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. silverware/google

ActiveSilverstripe-vendormodule

silverware/google
=================

SilverWare Google Module.

1.4.0(7y ago)015321BSD-3-ClausePHPPHP &gt;=5.6.0

Since Jun 19Pushed 7y ago2 watchersCompare

[ Source](https://github.com/praxisnetau/silverware-google)[ Packagist](https://packagist.org/packages/silverware/google)[ Docs](https://github.com/praxisnetau/silverware-google)[ RSS](/packages/silverware-google/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (8)Dependencies (2)Versions (9)Used By (1)

SilverWare Google Module
========================

[](#silverware-google-module)

[![Latest Stable Version](https://camo.githubusercontent.com/d9ca7c72f89d16b122d5b7c12c2d00841b6fb40ebf10fa326538c7472bce9828/68747470733a2f2f706f7365722e707567782e6f72672f73696c766572776172652f676f6f676c652f762f737461626c65)](https://packagist.org/packages/silverware/google)[![Latest Unstable Version](https://camo.githubusercontent.com/47b4be46c2baad4fb35c42dd87b1f3d9b1f29ca005d75b75e0e250e233ec2a3e/68747470733a2f2f706f7365722e707567782e6f72672f73696c766572776172652f676f6f676c652f762f756e737461626c65)](https://packagist.org/packages/silverware/google)[![License](https://camo.githubusercontent.com/23caf4cf823d63fce653063fc686f2c1172c98a7687e936236414182cf28b65a/68747470733a2f2f706f7365722e707567782e6f72672f73696c766572776172652f676f6f676c652f6c6963656e7365)](https://packagist.org/packages/silverware/google)

Provides Google Analytics integration, Google site verification, and a [Google+ sharing button](https://developers.google.com/+/web/share/) for use with [SilverWare](https://github.com/praxisnetau/silverware).

Contents
--------

[](#contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Issues](#issues)
- [Contribution](#contribution)
- [Maintainers](#maintainers)
- [License](#license)

Requirements
------------

[](#requirements)

- [SilverWare](https://github.com/praxisnetau/silverware)
- [SilverWare Social Module](https://github.com/praxisnetau/silverware-social)

Installation
------------

[](#installation)

Installation is via [Composer](https://getcomposer.org):

```
$ composer require silverware/google

```

Configuration
-------------

[](#configuration)

As with all SilverStripe modules, configuration is via YAML. Extensions are applied to `Page` and `ContentController` for Google integration. An extension is also applied to site configuration which adds a tab for Google settings to the SilverWare Services tab.

### Google API Language

[](#google-api-language)

By default, the Google API will automatically detect the appropriate language to use for buttons and widgets based on the user locale. However, if you would like to force the API to use a particular language, you can do so using site configuration. Go to Settings &gt; SilverWare &gt; Services &gt; Google &gt; Google API, and select the desired language from the dropdown field.

Usage
-----

[](#usage)

### Google Sharing Button

[](#google-sharing-button)

[![Google Sharing Button](https://camo.githubusercontent.com/9fd1d60039fb09ce20cb48958e6aa173476731b7107972b480ca04a16491cd10/687474703a2f2f692e696d6775722e636f6d2f4d4c62356e56662e706e67)](https://camo.githubusercontent.com/9fd1d60039fb09ce20cb48958e6aa173476731b7107972b480ca04a16491cd10/687474703a2f2f692e696d6775722e636f6d2f4d4c62356e56662e706e67)

Provided is a `GoogleSharingButton` which is used with the `SharingComponent`from the [SilverWare Social Module](https://github.com/praxisnetau/silverware-social). Simply add this button as a child of `SharingComponent` using the site tree, and your pages will now be able to be shared via Google+.

For more information, see the [Google documentation](https://developers.google.com/+/web/share/).

### Google Analytics

[](#google-analytics)

This module provides automatic integration with Google Analytics to measure page views and statistics within your SilverWare app. To do this, you will first need to create a [Google Analytics tracking ID](https://support.google.com/analytics/answer/1008080).

After you have a tracking ID, simply paste the ID into the Google Analytics section of site configuration, and check the "Enabled" box:

[![Google Analytics](https://camo.githubusercontent.com/18160a36934a45a90af46c604af6b8c2004a352dfbc1b4ff12940f317d3f16e4/687474703a2f2f692e696d6775722e636f6d2f4c753748506f392e706e67)](https://camo.githubusercontent.com/18160a36934a45a90af46c604af6b8c2004a352dfbc1b4ff12940f317d3f16e4/687474703a2f2f692e696d6775722e636f6d2f4c753748506f392e706e67)

After saving the settings, you can verify tracking is working by using the [Real-Time](https://support.google.com/analytics/answer/1638635) feature in your Google Analytics account.

### Google Site Verification

[](#google-site-verification)

Some Google features (such as [Search Console](https://www.google.com/webmasters/tools)) require [verification of site ownership](https://support.google.com/webmasters/answer/35179). Google performs this check by looking for a verification code within the source of the website.

After adding your site as a property to Search Console, Google will ask that you verify ownership. You should see two tabs, "Recommended method" and "Alternate methods":

1. Click the "Alternate methods" tab.
2. Click on "HTML tag" from the methods that appear.
3. Copy the meta tag code that appears, and paste it into the "Verification code" field in site configuration.
4. Save the site configuration.

It does not matter if you paste the entire meta tag HTML, as it will be detected and only the verification code will remain after saving.

Issues
------

[](#issues)

Please use the [GitHub issue tracker](https://github.com/praxisnetau/silverware-google/issues) for bug reports and feature requests.

Contribution
------------

[](#contribution)

Your contributions are gladly welcomed to help make this project better. Please see [contributing](CONTRIBUTING.md) for more information.

Maintainers
-----------

[](#maintainers)

[![Colin Tucker](https://avatars3.githubusercontent.com/u/1853705?s=144)](https://github.com/colintucker)[![Praxis Interactive](https://avatars2.githubusercontent.com/u/1782612?s=144)](https://www.praxis.net.au)[Colin Tucker](https://github.com/colintucker)[Praxis Interactive](https://www.praxis.net.au)License
-------

[](#license)

[BSD-3-Clause](LICENSE.md) © Praxis Interactive

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~51 days

Total

8

Last Release

2895d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5d47a59cd183aa3f599c2b66dfce7c79c249c2eacb749f0ac8c38c4ca273d14?d=identicon)[PraxisNetAu](/maintainers/PraxisNetAu)

---

Top Contributors

[![colintucker](https://avatars.githubusercontent.com/u/1853705?v=4)](https://github.com/colintucker "colintucker (15 commits)")

---

Tags

googlesilverstripe-4silverwaresocialgooglesilverstripesocialsilverware

### Embed Badge

![Health badge](/badges/silverware-google/health.svg)

```
[![Health](https://phpackages.com/badges/silverware-google/health.svg)](https://phpackages.com/packages/silverware-google)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
