{"id":1236,"date":"2016-11-09T14:58:23","date_gmt":"2016-11-09T14:58:23","guid":{"rendered":"https:\/\/gosqeng.test\/?p=1236"},"modified":"2019-11-28T11:23:08","modified_gmt":"2019-11-28T11:23:08","slug":"gosquared-rails-gem","status":"publish","type":"post","link":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem","title":{"rendered":"GoSquared Rails Gem"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/static.gosquared.com\/images\/liquidicity\/16_11_09_rails_01.png\"\/><\/p>\n<p>After recently publishing our <a href=\"https:\/\/github.com\/gosquared\/ruby-client\" target=\"_blank\" rel=\"noopener noreferrer\">GoSquared Ruby Gem<\/a> for interacting with the GoSquared Tracking and Reporting APIs, we\u2019ve been really pleased with the feedback from our Ruby customers, who are now able to easily start integrating server-side event tracking and reporting into their apps and websites.<\/p>\n<p>We decided to extend our Ruby support even further a by creating a specific Ruby on Rails Gem for assisting with the initial setup of GoSquared within a Rails application. We\u2019re thrilled to release the beta of our GoSquared Rails Gem on <a href=\"https:\/\/rubygems.org\/gems\/gosquared-rails\" target=\"_blank\" rel=\"noopener noreferrer\">RubyGems<\/a> and <a href=\"https:\/\/github.com\/gosquared\/gosquared-rails\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub<\/a>.<\/p>\n<p>As soon as you set up our GoSquared Rails gem, you\u2019ll automatically have our JavaScript Snippet injected across your Rails views, enabling real-time analytics tracking on your site. You\u2019ll also now have the ability to <a href=\"https:\/\/github.com\/gosquared\/gosquared-rails\/blob\/master\/README.md?#configuration\" target=\"_blank\" rel=\"noopener noreferrer\">configure your analytics tracking<\/a> directly within your Rails app.<\/p>\n<p>With our JavaScript Snippet installed, you\u2019ll also be set up to make use of GoSquared <a href=\"https:\/\/www.gosquared.com\/software\/chat\/\">Live Chat<\/a> straight away. All you need to do is toggle Live Chat on in your Project Settings.<\/p>\n<p>We\u2019re pleased to announce that we\u2019ve also included a helper for <a href=\"https:\/\/github.com\/gosquared\/gosquared-rails\/blob\/master\/README.md#installation-of-people\" target=\"_blank\" rel=\"noopener noreferrer\">GoSquared People<\/a>. If you have a user system in your app, you will now be able to inject our <a href=\"https:\/\/www.gosquared.com\/docs\/api\/javascript-tracking-code\/identify-users\/\" target=\"_blank\" rel=\"noopener noreferrer\">Identify<\/a> method that references your \u201ccurrent user\u201d object directly from your controllers, so you\u2019ll be seeing your users in GoSquared in no time.<\/p>\n<p>Once you have the basics set up, you can start to track properties about your users in GoSquared People. For example, if you had a paid app, you could track the subscription plan each customer is on. If you had a photo app, you could track a count of the number of photos a user has uploaded.<\/p>\n<p>If you have a Rails app, and you\u2019ve been holding off on trying GoSquared, there\u2019s never been a better time.<\/p>\n<p>Get started with GoSquared Analytics, Live Chat, and People CRM in a flash \u2013 go check out the GoSquared Rails gem on <a href=\"https:\/\/rubygems.org\/gems\/gosquared-rails\" target=\"_blank\" rel=\"noopener noreferrer\">RubyGems<\/a> and <a href=\"https:\/\/github.com\/gosquared\/gosquared-rails\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub<\/a> now!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After recently publishing our GoSquared Ruby Gem for interacting with the GoSquared Tracking and Reporting APIs, we\u2019ve been really pleased&#8230;<\/p>\n","protected":false},"author":25,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1452],"tags":[482,563,1172,707,1216],"class_list":["post-1236","post","type-post","status-publish","format-standard","hentry","category-engineering","tag-integration","tag-live-chat","tag-people","tag-plugin","tag-ruby-on-rails"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v18.6 (Yoast SEO v19.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>GoSquared Rails Gem - GoSquared Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GoSquared Rails Gem\" \/>\n<meta property=\"og:description\" content=\"After recently publishing our GoSquared Ruby Gem for interacting with the GoSquared Tracking and Reporting APIs, we\u2019ve been really pleased...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem\" \/>\n<meta property=\"og:site_name\" content=\"GoSquared Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GoSquared\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-09T14:58:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-11-28T11:23:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/static.gosquared.com\/images\/liquidicity\/16_11_09_rails_01.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/static.gosquared.com\/images\/liquidicity\/16_11_09_rails_twitter_01@2x.png\" \/>\n<meta name=\"twitter:creator\" content=\"@Russellvaughan\" \/>\n<meta name=\"twitter:site\" content=\"@GoSquared\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Russell Vaughan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#organization\",\"name\":\"GoSquared\",\"url\":\"https:\/\/www.gosquared.com\/blog\/\",\"sameAs\":[\"https:\/\/instagram.com\/gosquaredteam\",\"https:\/\/www.linkedin.com\/company\/go-squared-ltd.\",\"https:\/\/www.facebook.com\/GoSquared\",\"https:\/\/twitter.com\/GoSquared\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.gosquared.com\/blog\/wp-content\/uploads\/2015\/07\/gosquared.png\",\"contentUrl\":\"https:\/\/www.gosquared.com\/blog\/wp-content\/uploads\/2015\/07\/gosquared.png\",\"width\":1270,\"height\":250,\"caption\":\"GoSquared\"},\"image\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#website\",\"url\":\"https:\/\/www.gosquared.com\/blog\/\",\"name\":\"GoSquared Blog\",\"description\":\"Turn visitors into customers.\",\"publisher\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.gosquared.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#webpage\",\"url\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem\",\"name\":\"GoSquared Rails Gem - GoSquared Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#primaryimage\"},\"datePublished\":\"2016-11-09T14:58:23+00:00\",\"dateModified\":\"2019-11-28T11:23:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.gosquared.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GoSquared Rails Gem\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#webpage\"},\"author\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/c5fbe35e2c32f13a6e05136b474f43b4\"},\"headline\":\"GoSquared Rails Gem\",\"datePublished\":\"2016-11-09T14:58:23+00:00\",\"dateModified\":\"2019-11-28T11:23:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#webpage\"},\"wordCount\":335,\"publisher\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#primaryimage\"},\"thumbnailUrl\":\"\",\"keywords\":[\"Integration\",\"Live Chat\",\"People\",\"Plugin\",\"Ruby on Rails\"],\"articleSection\":[\"Engineering\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/c5fbe35e2c32f13a6e05136b474f43b4\",\"name\":\"Russell Vaughan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/822f03d63c83bea45c7827659fab4514c085e2647cc4d6145ead087e3cec4a56?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/822f03d63c83bea45c7827659fab4514c085e2647cc4d6145ead087e3cec4a56?s=96&d=mm&r=g\",\"caption\":\"Russell Vaughan\"},\"description\":\"Russell is a sales engineer at GoSquared, focused on helping new customers get up and running with the GoSquared platform.\",\"sameAs\":[\"https:\/\/gosquared.com\",\"https:\/\/twitter.com\/Russellvaughan\"],\"url\":\"https:\/\/www.gosquared.com\/blog\/author\/russell\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"GoSquared Rails Gem - GoSquared Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem","og_locale":"en_US","og_type":"article","og_title":"GoSquared Rails Gem","og_description":"After recently publishing our GoSquared Ruby Gem for interacting with the GoSquared Tracking and Reporting APIs, we\u2019ve been really pleased...","og_url":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem","og_site_name":"GoSquared Blog","article_publisher":"https:\/\/www.facebook.com\/GoSquared","article_published_time":"2016-11-09T14:58:23+00:00","article_modified_time":"2019-11-28T11:23:08+00:00","og_image":[{"url":"https:\/\/static.gosquared.com\/images\/liquidicity\/16_11_09_rails_01.png"}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/static.gosquared.com\/images\/liquidicity\/16_11_09_rails_twitter_01@2x.png","twitter_creator":"@Russellvaughan","twitter_site":"@GoSquared","twitter_misc":{"Written by":"Russell Vaughan","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.gosquared.com\/blog\/#organization","name":"GoSquared","url":"https:\/\/www.gosquared.com\/blog\/","sameAs":["https:\/\/instagram.com\/gosquaredteam","https:\/\/www.linkedin.com\/company\/go-squared-ltd.","https:\/\/www.facebook.com\/GoSquared","https:\/\/twitter.com\/GoSquared"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.gosquared.com\/blog\/wp-content\/uploads\/2015\/07\/gosquared.png","contentUrl":"https:\/\/www.gosquared.com\/blog\/wp-content\/uploads\/2015\/07\/gosquared.png","width":1270,"height":250,"caption":"GoSquared"},"image":{"@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/www.gosquared.com\/blog\/#website","url":"https:\/\/www.gosquared.com\/blog\/","name":"GoSquared Blog","description":"Turn visitors into customers.","publisher":{"@id":"https:\/\/www.gosquared.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.gosquared.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#primaryimage","url":"","contentUrl":""},{"@type":"WebPage","@id":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#webpage","url":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem","name":"GoSquared Rails Gem - GoSquared Blog","isPartOf":{"@id":"https:\/\/www.gosquared.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#primaryimage"},"datePublished":"2016-11-09T14:58:23+00:00","dateModified":"2019-11-28T11:23:08+00:00","breadcrumb":{"@id":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.gosquared.com\/blog"},{"@type":"ListItem","position":2,"name":"GoSquared Rails Gem"}]},{"@type":"Article","@id":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#article","isPartOf":{"@id":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#webpage"},"author":{"@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/c5fbe35e2c32f13a6e05136b474f43b4"},"headline":"GoSquared Rails Gem","datePublished":"2016-11-09T14:58:23+00:00","dateModified":"2019-11-28T11:23:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#webpage"},"wordCount":335,"publisher":{"@id":"https:\/\/www.gosquared.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.gosquared.com\/blog\/gosquared-rails-gem#primaryimage"},"thumbnailUrl":"","keywords":["Integration","Live Chat","People","Plugin","Ruby on Rails"],"articleSection":["Engineering"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/c5fbe35e2c32f13a6e05136b474f43b4","name":"Russell Vaughan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/822f03d63c83bea45c7827659fab4514c085e2647cc4d6145ead087e3cec4a56?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/822f03d63c83bea45c7827659fab4514c085e2647cc4d6145ead087e3cec4a56?s=96&d=mm&r=g","caption":"Russell Vaughan"},"description":"Russell is a sales engineer at GoSquared, focused on helping new customers get up and running with the GoSquared platform.","sameAs":["https:\/\/gosquared.com","https:\/\/twitter.com\/Russellvaughan"],"url":"https:\/\/www.gosquared.com\/blog\/author\/russell"}]}},"wps_subtitle":"Set up GoSquared with your Rails app in an instant","_links":{"self":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/posts\/1236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/comments?post=1236"}],"version-history":[{"count":0,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/posts\/1236\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/media?parent=1236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/categories?post=1236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/tags?post=1236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}