Giter Site home page Giter Site logo

Comments (3)

IainS1986 avatar IainS1986 commented on June 21, 2024

As an example if it helps, this is the sort of Raw event I'm generating in Xamarin with this Nuget (and my own context generating)...seems good to me but it would be helpful to know if this is viable (and why maybe GA is not tracking any of my Page or Screen calls)?

Should I change the Source in Segment to not be Xamarin?

{
  "anonymousId": null,
  "context": {
    "app": {
      "build": 0,
      "name": "XXXX",
      "namespace": "com.XXXX.XXXX",
      "version": "1.0 - DEBUG"
    },
    "device": {
      "adTrackingEnabled": false,
      "manufacturer": "Apple",
      "model": "iPhone8,1",
      "name": "XXXX’s iPhone",
      "type": "ios"
    },
    "integrations": {
      "All": "True",
      "Salesforce": "False"
    },
    "ip": "XXX.XXX.XXX.XXX",
    "library": {
      "name": "Analytics.Xamarin",
      "version": "3.7.1"
    },
    "locale": "en_GB",
    "os": {
      "name": "iOS",
      "version": "14.4.2"
    },
    "screen": {
      "density": 2,
      "height": 1334,
      "width": 750
    },
    "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_4_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
  },
  "event": "XXXX",
  "integrations": {},
  "messageId": "XXXXXX-f186-4545-b43a-XXXXXXX",
  "originalTimestamp": "2021-05-07T11:11:07.7269180+01:00",
  "properties": {
    "Level": "XXXX",
    "Occurrences": "1",
    "Type": "XXXX"
  },
  "receivedAt": "2021-05-07T10:11:16.006Z",
  "sentAt": "2021-05-07T10:11:15.882Z",
  "timestamp": "2021-05-07T10:11:07.849Z",
  "type": "track",
  "userId": "60275",
  "writeKey": "XXXXXXXX"
}

from analytics.net.

juliette-ruchel avatar juliette-ruchel commented on June 21, 2024

Hi @IainS1986,

The Analytics.NET library should work fine with your Xamarin project as it is compatible with .NET Standard 1.3 and 2.0. This allows the library to be added to a Xamarin project without any problem. If your application is new then we recommend you to use this library instead of the Analytics.Xamarin one. That library is left only to support applications which already have it integrated.

Regarding your issue with Google Analytics, check on https://segment.com/docs/connections/sources/catalog/libraries/server/net/ to see if it helps you configure the Options property with the SetIntegration only to Google Analytics perhaps. Also rembember to configure your Google Analytics UA property in the Destinations tab in your Segment Workspace. There you should Add a new Destination and Select Google Analytics. Once you finished following the steps, remember to add in the Serverside Tracking ID your google Analytics Property Tracking ID (e.g: UA-XXXXX-X).

Hope you find this information helpful, let me know if you still have any trouble configuring it.

from analytics.net.

nd4p90x avatar nd4p90x commented on June 21, 2024

@IainS1986 if you need to re-open this issue, please feel free to do so. Thank you

from analytics.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.