{"id":16071713,"url":"https://github.com/ioquatix/utopia-analytics","last_synced_at":"2025-04-05T10:26:27.308Z","repository":{"id":7926588,"uuid":"9314266","full_name":"ioquatix/utopia-analytics","owner":"ioquatix","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-05T04:33:55.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T21:19:22.458Z","etag":null,"topics":["google-analytics","ruby","utopia"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ioquatix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-09T06:02:47.000Z","updated_at":"2017-06-18T21:29:17.000Z","dependencies_parsed_at":"2022-09-10T11:21:13.060Z","dependency_job_id":null,"html_url":"https://github.com/ioquatix/utopia-analytics","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioquatix%2Futopia-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioquatix%2Futopia-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioquatix%2Futopia-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioquatix%2Futopia-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ioquatix","download_url":"https://codeload.github.com/ioquatix/utopia-analytics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247321316,"owners_count":20919966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-analytics","ruby","utopia"],"created_at":"2024-10-09T07:41:53.361Z","updated_at":"2025-04-05T10:26:27.281Z","avatar_url":"https://github.com/ioquatix.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utopia::Analytics\n\nProvides a [Utopia] namespace for integrating with analytics services, currently including: Google Analytics.\n\n[![Build Status](https://secure.travis-ci.org/ioquatix/utopia-analytics.svg)](http://travis-ci.org/ioquatix/utopia-analytics)\n[![Code Climate](https://codeclimate.com/github/ioquatix/utopia-analytics.svg)](https://codeclimate.com/github/ioquatix/utopia-analytics)\n[![Coverage Status](https://coveralls.io/repos/ioquatix/utopia-analytics/badge.svg)](https://coveralls.io/r/ioquatix/utopia-analytics)\n\n[Utopia]: http://www.codeotaku.com/projects/utopia\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'utopia-analytics'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install utopia-analytics\n\n## Usage\n\nFirst make sure to add the `\u003canalytics:...\u003e` namespace to `Utopia::Content` in your rackup file along with all the other tags you wish to use:\n\n```ruby\nrequire 'utopia/analytics'\n...\n\nuse Utopia::Content,\n\tnamespaces: {\n\t\t...\n\t\t'analytics' =\u003e Utopia::Analytics,\n\t\t...\n\t}\n```\n\nYou might want to combine this tag with the `\u003cenvironment\u003e` tag to ensure that Google Analytics is only tracked in production. Simply set the `id` attribute to whatever you have been provided by Google Analytics:\n\n\t\u003cutopia:environment only=\"production\"\u003e\n\t\t\u003canalytics:google id=\"UA-XXXXXXX-XX\" /\u003e\n\t\u003c/utopia:environment\u003e\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nReleased under the MIT license.\n\nCopyright, 2017, by [Samuel G. D. Williams](http://www.codeotaku.com/samuel-williams).\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioquatix%2Futopia-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fioquatix%2Futopia-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioquatix%2Futopia-analytics/lists"}