https://github.com/fullstorydev/integration-examples
A collection of code samples, integrations, and best practices provided by FullStory solutions engineering
https://github.com/fullstorydev/integration-examples
Last synced: about 1 year ago
JSON representation
A collection of code samples, integrations, and best practices provided by FullStory solutions engineering
- Host: GitHub
- URL: https://github.com/fullstorydev/integration-examples
- Owner: fullstorydev
- License: mit
- Created: 2020-11-12T19:29:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-22T23:46:04.000Z (almost 3 years ago)
- Last Synced: 2023-08-05T19:11:29.389Z (almost 3 years ago)
- Language: JavaScript
- Size: 291 KB
- Stars: 4
- Watchers: 10
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FullStory Integration Samples
This project contains a collection of code samples, integrations, and best practices provided by FullStory. Examples are written in JavaScript and support [browser compatibility consistent with FullStory recording](https://help.fullstory.com/hc/en-us/articles/360020624594-What-browsers-are-currently-supported-by-FullStory-).
## Using Samples
Compiled samples can be found in the `dist` folder. Each sample is packaged as an [IIFE](https://developer.mozilla.org/en-US/docs/Glossary/IIFE), which can deployed through a tag manager or simply re-used within your project.
## Building Samples
If you'd like to modify a sample or build your own, follow these steps:
1. Install [Node.js](https://nodejs.org) as needed.
2. Change directory to this project's root folder.
3. Run `npm install`.
4. Code your integration as a new JavaScript file in the `src` folder.
5. Run `npm run build`.
The `dist` folder will contain a compiled file that has the same name as the one in your `src` folder.