{"id":1215,"date":"2016-09-12T14:54:18","date_gmt":"2016-09-12T14:54:18","guid":{"rendered":"https:\/\/gosqeng.test\/?p=1215"},"modified":"2019-11-28T11:24:29","modified_gmt":"2019-11-28T11:24:29","slug":"updated-ruby-gem","status":"publish","type":"post","link":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem","title":{"rendered":"Updated Ruby gem"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/\/static.gosquared.com\/images\/liquidicity\/16_09_12_ruby_01.png\" alt=\"GoSquared and the new updated Ruby gem\"\/><\/p>\n<p>We want to make it easy for you to understand and connect with your users. Part of that means making it easy to get set up with GoSquared in the first place.<\/p>\n<p>So we\u2019ve made a significant update to the <a href=\"https:\/\/github.com\/gosquared\/ruby-client\">GoSquared Ruby gem<\/a> which enables you to easily add analytics and live chat to your app.<\/p>\n<p>Now when you install our Ruby gem, you\u2019ll have the option to auto-generate and inject your GoSquared JavaScript snippet across all of your Rails views. You\u2019ll then not only have access to real-time analytics across all pages in your web app but you\u2019ll also be set up to use the all-new <a href=\"https:\/\/www.gosquared.com\/software\/chat\/\">GoSquared Live Chat<\/a> too.<\/p>\n<p>Once you\u2019ve bundled the gem, all you have to do is <a href=\"https:\/\/github.com\/gosquared\/ruby-client#quickly-install-analytics-and-chat\">use our generator<\/a> and pass in your site token to auto-generate your GoSquared configuration file, then you\u2019re ready to go! (if you don\u2019t have a GoSquared account yet, <a href=\"https:\/\/www.gosquared.com\/join\/\">get started with a free trial<\/a> and grab your site token.)<\/p>\n<p>In addition to this, you\u2019ll still have access to GoSquared\u2019s Tracking and Reporting APIs from within your Rails app.<\/p>\n<p>The GoSquared Tracking API enables you to track events for the actions users perform in your app. Identify users with the Tracking API so you can tie events and other properties to a specific user.<\/p>\n<p>Using the Reporting API will allow you to fetch your data from your GoSquared account.<\/p>\n<p>The GoSquared Reporting API is split into the following key sections:<\/p>\n<ul>\n<li>Now \u2013 real-time concurrent overview of website and app visitors.<\/li>\n<li>Trends \u2013 historical overview of visitors, including ecommerce metrics.<\/li>\n<li>People \u2013 the centralised store of your user data.<\/li>\n<li>Account \u2013 programmatically manage your GoSquared account.<\/li>\n<\/ul>\n<p>All this functionality is packaged up into one Ruby gem that you can grab now on <a href=\"https:\/\/github.com\/gosquared\/ruby-client\">Git<\/a><a href=\"https:\/\/github.com\/gosquared\/ruby-client\">H<\/a><a href=\"https:\/\/github.com\/gosquared\/ruby-client\">ub<\/a> or install via <a href=\"https:\/\/rubygems.org\/gems\/gosquared\">RubyGems<\/a> with <code>gem install gosquared<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We want to make it easy for you to understand and connect with your users. Part of that means making&#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":[96,101,563,1212,930],"class_list":["post-1215","post","type-post","status-publish","format-standard","hentry","category-engineering","tag-analytics","tag-api","tag-live-chat","tag-ruby","tag-update"],"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>Updated Ruby gem - GoSquared Blog<\/title>\n<meta name=\"description\" content=\"Everything you need to know about our latest update to the GoSquared Ruby gem which enables you to easily add analytics and live chat to your app.\" \/>\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\/updated-ruby-gem\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Updated Ruby gem\" \/>\n<meta property=\"og:description\" content=\"Everything you need to know about our latest update to the GoSquared Ruby gem which enables you to easily add analytics and live chat to your app.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.gosquared.com\/blog\/updated-ruby-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-09-12T14:54:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-11-28T11:24:29+00:00\" \/>\n<meta property=\"og:image\" content=\"\/\/static.gosquared.com\/images\/liquidicity\/16_09_12_ruby_01.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/static.gosquared.com\/images\/liquidicity\/16_09_12_ruby_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\/updated-ruby-gem#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#webpage\",\"url\":\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem\",\"name\":\"Updated Ruby gem - GoSquared Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#primaryimage\"},\"datePublished\":\"2016-09-12T14:54:18+00:00\",\"dateModified\":\"2019-11-28T11:24:29+00:00\",\"description\":\"Everything you need to know about our latest update to the GoSquared Ruby gem which enables you to easily add analytics and live chat to your app.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.gosquared.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Updated Ruby gem\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#webpage\"},\"author\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/c5fbe35e2c32f13a6e05136b474f43b4\"},\"headline\":\"Updated Ruby gem\",\"datePublished\":\"2016-09-12T14:54:18+00:00\",\"dateModified\":\"2019-11-28T11:24:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#webpage\"},\"wordCount\":306,\"publisher\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#primaryimage\"},\"thumbnailUrl\":\"\",\"keywords\":[\"Analytics\",\"API\",\"Live Chat\",\"Ruby\",\"Update\"],\"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":"Updated Ruby gem - GoSquared Blog","description":"Everything you need to know about our latest update to the GoSquared Ruby gem which enables you to easily add analytics and live chat to your app.","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\/updated-ruby-gem","og_locale":"en_US","og_type":"article","og_title":"Updated Ruby gem","og_description":"Everything you need to know about our latest update to the GoSquared Ruby gem which enables you to easily add analytics and live chat to your app.","og_url":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem","og_site_name":"GoSquared Blog","article_publisher":"https:\/\/www.facebook.com\/GoSquared","article_published_time":"2016-09-12T14:54:18+00:00","article_modified_time":"2019-11-28T11:24:29+00:00","og_image":[{"url":"\/\/static.gosquared.com\/images\/liquidicity\/16_09_12_ruby_01.png"}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/static.gosquared.com\/images\/liquidicity\/16_09_12_ruby_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\/updated-ruby-gem#primaryimage","url":"","contentUrl":""},{"@type":"WebPage","@id":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#webpage","url":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem","name":"Updated Ruby gem - GoSquared Blog","isPartOf":{"@id":"https:\/\/www.gosquared.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#primaryimage"},"datePublished":"2016-09-12T14:54:18+00:00","dateModified":"2019-11-28T11:24:29+00:00","description":"Everything you need to know about our latest update to the GoSquared Ruby gem which enables you to easily add analytics and live chat to your app.","breadcrumb":{"@id":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.gosquared.com\/blog\/updated-ruby-gem"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.gosquared.com\/blog"},{"@type":"ListItem","position":2,"name":"Updated Ruby gem"}]},{"@type":"Article","@id":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#article","isPartOf":{"@id":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#webpage"},"author":{"@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/c5fbe35e2c32f13a6e05136b474f43b4"},"headline":"Updated Ruby gem","datePublished":"2016-09-12T14:54:18+00:00","dateModified":"2019-11-28T11:24:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#webpage"},"wordCount":306,"publisher":{"@id":"https:\/\/www.gosquared.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.gosquared.com\/blog\/updated-ruby-gem#primaryimage"},"thumbnailUrl":"","keywords":["Analytics","API","Live Chat","Ruby","Update"],"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":"Easily add analytics and live chat to your Ruby app","_links":{"self":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/posts\/1215","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=1215"}],"version-history":[{"count":0,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/posts\/1215\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/media?parent=1215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/categories?post=1215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/tags?post=1215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}