{"__v":0,"_id":"57d5202a642d570e00ebd5ec","category":{"project":"54861bb654b3ce0b00367292","version":"57b96d6b1d08500e00bf81d1","_id":"57d51ad68191880e008bb51b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-09-11T08:50:30.403Z","from_sync":false,"order":3,"slug":"android-essentials-kit","title":"Android / Essentials KIt"},"parentDoc":null,"project":"54861bb654b3ce0b00367292","user":"548d74b716fc980b00e2a786","version":{"__v":7,"_id":"57b96d6b1d08500e00bf81d1","project":"54861bb654b3ce0b00367292","createdAt":"2016-08-21T08:59:23.326Z","releaseDate":"2016-08-21T08:59:23.326Z","categories":["57b96d6b1d08500e00bf81d2","57b96d6b1d08500e00bf81d3","57b96d6b1d08500e00bf81d4","57b96d6b1d08500e00bf81d5","57b96d6b1d08500e00bf81d6","57b96d6b1d08500e00bf81d7","57b96d6b1d08500e00bf81d8","57b96d6b1d08500e00bf81d9","57b96d6b1d08500e00bf81da","57b96d6b1d08500e00bf81db","57b96d6b1d08500e00bf81dc","57b97748306b9b0e001dd53f","57d12c6c1227b40e0044908a","57d51ad68191880e008bb51b","57d52b5cf350090e00fe073e","57d5468a17b492170053a3f0","57df9df05927cb0e002bce1e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"","version_clean":"4.0.0","version":"4.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-09-11T09:13:14.517Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"3rd Party analytics\"\n}\n[/block]\nYou can send events to 3rd party analytics platforms and see the whole user journey combined ( interaction with elasticode experiences and your user flow ), more about 3rd party analytics and how to use it VIA our dashboard can be found <a href=\"http://helpdesk.elasticode.com/articles/3158-3rd-party-analytics\" target=\"_blank\">here</a>\n\n\nSending information for any third party is pretty easy, you just build a small wrapper that streams out the relevant event title once triggered.\nHere is an example, \nLet's say i use mixpanel, then i would add this functionality: \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"// Add the following code before calling elasticode.ready()\\nelasticode.setThirdPartyAnalytics(\\\"Mixpanel\\\", new ElasticodeBlock() {\\n\\t:::at:::Override\\n  public void perform(String eventName) {\\n\\t\\tmixpanel.track(eventName, new JSONObject());                \\n\\t}\\n});\",\n      \"language\": \"java\"\n    }\n  ]\n}\n[/block]\nSo, we simply added the \"tracking\" functionality of mixpanel and relayed the event name once a button is clicked on an experience \n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/3bb21ef-Screen_Shot_2016-09-07_at_9.42.00_AM.png\",\n        \"Screen Shot 2016-09-07 at 9.42.00 AM.png\",\n        878,\n        650,\n        \"#437eb4\"\n      ]\n    }\n  ]\n}\n[/block]\n* In the example above, we added a number of options to relay event reporting from numerous services\n\nYou can add any type of logic ( even alert event to your own severs ) and just channel it VIA this functionality.","excerpt":"","slug":"extra-setup-3rd-party-analytics-1","type":"basic","title":"Extra setup / 3rd party analytics"}

Extra setup / 3rd party analytics


[block:api-header] { "type": "basic", "title": "3rd Party analytics" } [/block] You can send events to 3rd party analytics platforms and see the whole user journey combined ( interaction with elasticode experiences and your user flow ), more about 3rd party analytics and how to use it VIA our dashboard can be found <a href="http://helpdesk.elasticode.com/articles/3158-3rd-party-analytics" target="_blank">here</a> Sending information for any third party is pretty easy, you just build a small wrapper that streams out the relevant event title once triggered. Here is an example, Let's say i use mixpanel, then i would add this functionality: [block:code] { "codes": [ { "code": "// Add the following code before calling elasticode.ready()\nelasticode.setThirdPartyAnalytics(\"Mixpanel\", new ElasticodeBlock() {\n\t@Override\n public void perform(String eventName) {\n\t\tmixpanel.track(eventName, new JSONObject()); \n\t}\n});", "language": "java" } ] } [/block] So, we simply added the "tracking" functionality of mixpanel and relayed the event name once a button is clicked on an experience [block:image] { "images": [ { "image": [ "https://files.readme.io/3bb21ef-Screen_Shot_2016-09-07_at_9.42.00_AM.png", "Screen Shot 2016-09-07 at 9.42.00 AM.png", 878, 650, "#437eb4" ] } ] } [/block] * In the example above, we added a number of options to relay event reporting from numerous services You can add any type of logic ( even alert event to your own severs ) and just channel it VIA this functionality.