{"id":13745877,"url":"https://github.com/develodesign/vsf-intercom","last_synced_at":"2025-06-13T03:36:15.363Z","repository":{"id":75176026,"uuid":"181435973","full_name":"develodesign/vsf-intercom","owner":"develodesign","description":"Intercom integration for Vue Storefront","archived":false,"fork":false,"pushed_at":"2019-04-15T09:14:17.000Z","size":1413,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T16:33:34.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/develodesign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-04-15T07:35:11.000Z","updated_at":"2020-05-25T08:51:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"4826dffe-be40-4dc9-aebf-3a8d30f87600","html_url":"https://github.com/develodesign/vsf-intercom","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/develodesign%2Fvsf-intercom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develodesign%2Fvsf-intercom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develodesign%2Fvsf-intercom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develodesign%2Fvsf-intercom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/develodesign","download_url":"https://codeload.github.com/develodesign/vsf-intercom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225950708,"owners_count":17550311,"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":"2024-08-03T06:00:39.996Z","updated_at":"2024-11-22T19:17:41.982Z","avatar_url":"https://github.com/develodesign.png","language":"TypeScript","funding_links":[],"categories":["Resources for Vue Storefront 1","Resources for Vue Storefront"],"sub_categories":["Official Resources - v1","External Resources"],"readme":"# Vue Storefront Intercom module\n[Intercom](https://www.intercom.com) integration for [vue-storefront](https://github.com/DivanteLtd/vue-storefront), by [Develo Design](https://www.develodesign.co.uk).\n\u003cbr /\u003eIntercom account required (free tier is available)\n\u003cbr /\u003e\u003cbr /\u003e\nIntergration with the Intercom customer messaging platform for your Vue Storefront, this Intercom module is configured to update Intercom with the customers current route, this allows you to accurately help your customer, knowing what page they are asking questions on from inside Intercom.\n\u003cbr /\u003e\u003cbr /\u003e\n![Demo](docs/demo.png)\n\n## Installation:\n\n### 1. Clone the repository\n\nClone the vsf-intercom repository into your VSF installation.\n```shell\n$ git clone git@github.com:develodesign/vsf-intercom.git vue-storefront/src/modules/intercom\n```\n\n### 2. Add the module config to your local VSF configuration file.\nAdd the following JSON config snippet into your desired config, eg. `config/local.json`\n```json\n\"intercom\": {\n  \"app_id\": false\n}\n```\nReplace the `app_id` parameter with the App ID provided by Intercom. You can find your Intercom App ID here: https://www.intercom.com/help/faqs-and-troubleshooting/getting-set-up/where-can-i-find-my-workspace-id-app-id. Setting `app_id` to `false` will disable the intercom module at runtime.\n\u003cbr /\u003e\nValid app_id example: `\"app_id\": \"e8y21262\"`\n\n### 3. Register the Intercom module\nOpen up your `../vue-storefront/src/modules/index.ts` and add the following code. Adding it inside this file the registers the module so it can be used in your Vue Storefront.\n\u003cbr /\u003e\n```js\nimport { Intercom } from './intercom'\n...\nexport const registerModules: VueStorefrontModule[] = [\n...\nIntercom\n...\n]\n```\n### 3. Enjoy!\nThats it! It's easy, plug and play! If you havn't got an Intercom account already, you can create one here, there is free tier that you can use to get started: https://www.intercom.com/pricing\n\n## Customization\n#### Replacing the Intercom Script.\nIf you need to change the Intercom script that is loaded on the page, open up the `./intercom/hooks/afterRegistration.ts` file. On line 39 you'll find the script provided from Intercom, you can swap this out or extend it as required.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelodesign%2Fvsf-intercom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelodesign%2Fvsf-intercom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelodesign%2Fvsf-intercom/lists"}