{"id":28565305,"url":"https://github.com/countly/countly-banking-demo","last_synced_at":"2025-06-10T14:14:35.893Z","repository":{"id":146649726,"uuid":"327392407","full_name":"Countly/countly-banking-demo","owner":"Countly","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-06T10:43:25.000Z","size":6673,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-06T11:38:56.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/Countly.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-06T18:07:26.000Z","updated_at":"2024-05-28T05:54:10.000Z","dependencies_parsed_at":"2023-11-09T12:05:00.540Z","dependency_job_id":"d8cde6b9-f30a-49d1-80a9-11f9af8ee4ef","html_url":"https://github.com/Countly/countly-banking-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-banking-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-banking-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-banking-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-banking-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Countly","download_url":"https://codeload.github.com/Countly/countly-banking-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Countly%2Fcountly-banking-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259090407,"owners_count":22803677,"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":[],"created_at":"2025-06-10T14:14:35.256Z","updated_at":"2025-06-10T14:14:35.879Z","avatar_url":"https://github.com/Countly.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Banking Demo\n\n  \n\n## Login\n\n  \n\nWhen user click login button make API call and after that change device id with customer ID;\n\n  \n\n[https://support.count.ly/hc/en-us/articles/360037441932-Web-analytics-JavaScript-#changing-device-id](https://support.count.ly/hc/en-us/articles/360037441932-Web-analytics-JavaScript-#changing-device-id)\n\n  \n  \n\nThere are 2 option here :\n\n  \n\n1 - Merge prelogin and current user profile in Countly.\n\n  \n\nCountly.q.push(['change_id', \"customerID\"],true);\n\n  \n\n2 - Create new profile with ID\n\n  \n\nCountly.q.push(['change_id', \"customerID\"]);\n\n  \n  \n\nNote : ID stores in local storage of browser. You can check easily.\n\n![local storage](https://i.hizliresim.com/Rxn3f9.png)\n\n  \n\nAnd after change id user :\n\n  \n\n![user profile after change id](https://i.hizliresim.com/XGUqdQ.png)\n\n## Custom Event\n\nCustom event sample for transfering money with duration\n    \nStart transfer event for calculating duration. (ex: start event when user enter transfer page)\n\n    Countly.start_event(\"Transfer\");\n\n\nEnd transfer event. (ex: after user sent money)\n\n    Countly.end_event(\n\t\t  { \n\t      \"key\": \"Transfer\",\n\t      \"sum\": 50,\n\t      \"segmentation\": { \n\t\t       \"type\": \"EFT\"\n\t\t  } \n\t});\n\t       \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcountly%2Fcountly-banking-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcountly%2Fcountly-banking-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcountly%2Fcountly-banking-demo/lists"}