Questions tagged [segment-io]

Segment.io is a single, simple integration that gives you access to 70+ analytics and marketing tools with the flick of a switch

65 questions
11
votes
2 answers

Why does the Segment.io loader script push method names/args onto a queue which seemingly gets overwritten?

I've been dissecting the following code snippet, which is used to asynchronously load the Segment.io analytics wrapper script: // Create a queue, but don't obliterate an existing one! var analytics = analytics || []; // Define a method that will…
Mark Bell
  • 28,985
  • 26
  • 118
  • 145
9
votes
1 answer

How do I connect Segment.io server and client side events to the same anonymous user?

I'm working on implementing the Segment analytics hub on an existing .NET e-commerce application for use with Mixpanel, among a few other services. I understand the API docs in general for both Analytics.js and the Segment .NET API, but I am…
Donald
  • 1,120
  • 12
  • 21
9
votes
1 answer

segment.io javascript publish fails with a CORS error

I'm encountering a cross origin resource sharing (CORS) error when I try to load a webpage with the sample "getting started" javascript code from the segment.io website. Below is the html itself. I haven't set any headers on my play 2.1.3 server…
pck.atl
  • 133
  • 2
  • 5
9
votes
1 answer

Documentation Analytics.js Segment.io

The people at Segment.io did a great job in building analytics.js, making it easy to load lots of javascript snippets (Intercom, GA, Kissmetrics, and so on) via one single open-source javascript library. Repository:…
Robin
  • 443
  • 5
  • 18
8
votes
2 answers

Using Segment IO in Chrome Extension

I can't seem to get Segment to work despite following these instructions: https://segment.com/docs/platforms/chrome-extension/ When I run analytics.track, I don't see any network requests for the tracking pixels but I don't see any error either. The…
6
votes
2 answers

How to configure analytics to send data to my own server?

How or what do I have to do to send all the analytic data to my own server when using segment analytics javascript library? https://segment.com/docs/libraries/analytics.js/
cool breeze
  • 4,461
  • 5
  • 38
  • 67
4
votes
1 answer

How to send session info and do automated page tracking in expo react native segment and amplitude integration

I am using Segment[expo-analytics-segment] to send tracking info to Amplitude(Configured as the destination in app.segment.com) in an expo react native app. Though I am sending session info(epoch time) - The session always gets registered as -1,…
int-i
  • 661
  • 1
  • 12
  • 28
4
votes
2 answers

How to create Kafka topic using Segmentio's kafka-go?

Can I get an example of creating a topic using segmentio's kafka-go? I have tried creating a topic as below: c, _ := kafka.Dial("tcp", "host:port") kt := kafka.TopicConfig{Topic: "sometopic", NumPartitions: 1, ReplicationFactor: 1} e :=…
prabhu
  • 41
  • 1
  • 2
4
votes
1 answer

Python 3.6, import local vs 3rd party package with same name

I have done research but I am not able to find a clear solution... How to import 3rd party package if I have a package with the same name? Example: Project tree looks like this: ├── Pipfile ├── Pipfile.lock ├── analytics │   ├── __init__.py │   └──…
Klik Kliković
  • 364
  • 1
  • 5
  • 13
4
votes
3 answers

how to do mixpanel.people.increment in Segment

I'm using Segment and have Mixpanel enabled. I used to track our user's life time revenue like this: mixpanel.people.increment('Lifetime Revenue', 21.99); The question is how do I do this in Segment? Looked everywhere, it seems like they do have…
jackhao
  • 3,457
  • 3
  • 22
  • 43
4
votes
3 answers

Magento get current page title by store id or store code

Is there any way to get current page title by store code or id? The following code gives the current page title but is of currently selected store view eg http://example.com/it/shop.html which is Italian store view. The context is…
atulmy
  • 1,364
  • 15
  • 23
3
votes
0 answers

Get a list of consumer groups subscribed to a topic in Kafka using segmentio/kafka-go

I'm trying to get a list of consumer groups subscribed to a topic in Kafka using segmentio/kakfa-go. This can be done using a script provided by kafka: > bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group my-group …
HerbertRedford
  • 230
  • 4
  • 14
3
votes
1 answer

Flutter with Segment Analytics

I am trying to add Segment-Analytics to a Flutter app but currently, after adding the lib my app seems to be unable to start, however the build was still successful. lib: https://pub.dev/packages/flutter_segment when i run flutter run: Waiting for…
Rickky13
  • 431
  • 4
  • 17
3
votes
1 answer

Read latest message from kafka - segmentio/kafka-go

I'm using segmentio/kafka-go client to read messages from a topic. I'm unable to find.. how to start reading from last/new message. Everytime I start the code, it starts reading from beginning offset in that partition.
Sumit Sardana
  • 31
  • 1
  • 2
3
votes
5 answers

Segment.io HTTP API not collecting events

The documentation and help for this particular Segment.io is limited and sparse, so I hope it's OK to ask in here. I have just set up a Segment.io workspace and a HTTP API source Per the docs, I sent some POST requests (with Postman) to the…
Jessica Chambers
  • 1,246
  • 5
  • 28
  • 56
1
2 3 4 5