You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: Readme.md
+24-6Lines changed: 24 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ For our mobile and server-side data collection libraries, check out our [librari
14
14
Analytics helps you measure your users, product, and business. It unlocks insights into your app's funnel, core business metrics, and whether you have product-market fit.
15
15
16
16
## How to get started
17
-
1.**Collect analytics data** from your app(s).
17
+
18
+
1.**Collect analytics data** from your app(s). Get started through Segment with our [Analytics.js Quickstart][].
18
19
- The top 200 Segment companies collect data from 5+ source types (web, mobile, server, CRM, etc.).
19
20
2.**Send the data to analytics tools** (for example, Google Analytics, Amplitude, Mixpanel).
20
21
- Over 250+ Segment companies send data to eight categories of destinations such as analytics tools, warehouses, email marketing and remarketing systems, session recording, and more.
@@ -24,6 +25,7 @@ Analytics helps you measure your users, product, and business. It unlocks insigh
24
25
[Segment](https://segment.com) collects analytics data and allows you to send it to more than 250 apps (such as Google Analytics, Mixpanel, Optimizely, Facebook Ads, Slack, Sentry) just by flipping a switch. You only need one Segment code snippet, and you can turn integrations on and off at will, with no additional code. [Sign up with Segment today](https://app.segment.com/signup).
25
26
26
27
### Why?
28
+
27
29
1.**Power all your analytics apps with the same data**. Instead of writing code to integrate all of your tools individually, send data to Segment, once.
28
30
29
31
2.**Install tracking for the last time**. We're the last integration you'll ever need to write. You only need to instrument Segment once. Reduce all of your tracking code and advertising tags into a single set of API calls.
@@ -43,9 +45,11 @@ Analytics helps you measure your users, product, and business. It unlocks insigh
If you are part of a newstartup (<$5M raised, <2 years since founding), we just launched a newstartup program foryou. You can get a Segment Team plan (up to <b>$25,000 value</b>in Segment credits) for free up to 2 years — <a href="https://segment.com/startups/">apply here</a>!
50
54
51
55
## Documentation
@@ -58,21 +62,31 @@ For more detail on the Analytics.js API, check out the [Analytics.js Library Ref
58
62
59
63
Analytics.jsfor Platforms is a version ofanalytics.js built specifically for website creation and e-commerce platforms to give their customers one-click enablement of Google Analytics, Facebook Pixel, Google Adwords, and Segment. For more information, you can check out the [docs forAnalytics.jsfor Platforms](https://segment.com/docs/guides/partners/analyticsjs-for-platforms/). Segment hosts this version of the library for free use on its CDN.
60
64
61
-
## Contributing
65
+
## Using this Repo
66
+
67
+
This repository houses a pre-built, open-source version ofanalytics.js. If you'd like to use Analytics.js outside of Segment but don't need to customize your build, pre-built [unminified][] or [minified][] versions ofanalytics.js found in the root ofthisrepository. Once you've done that, you'll want to mimic the Segment snippet on your website by stubbing out its methods on the `window` and downloading your built version of the script asynchronously. For an example of doing that and initializing your integrations with options, [see here](https://gist.github.com/cyberwombat/11008970).
62
68
63
-
This repository houses a pre-built, open-source version ofanalytics.js. The core logic ofanalytics.js is broken out into individual repositories:
69
+
If you're looking to produce a custom build of Analytics.js with just the plugins you need, see [the wiki page for building a custom distribution][].
70
+
71
+
## Contributing to Analytics.js and its Ecosystem of Integration Plugins
72
+
73
+
The core logic of analytics.js is broken out into individual repositories:
64
74
65
75
- To report an issue with analytics.js itself, head over to [analytics.js-core][], where the core analytics.js logic is maintained.
66
-
- To report an issue with an integration. head over to the [analytics.js-integrations][] organization, where we keep each integration in its own repository.
76
+
- To report an issue with an integration plugin. head over to the [analytics.js-integrations][] organization, where we keep each integration plugin in its own repository.
77
+
- **To build a custom integration plugin for analytics.js, check out the [wiki][]. To distribute your plugin as a component of an integration in our [catalog][], check out our [partner docs].**
67
78
68
79
If you're not sure where to open an issue, feel free to open an issue against this repository or [contact us](https://segment.com/contact) and we'll help point you in the right direction.
0 commit comments