Coder Social home page Coder Social logo

segment-integrations / analytics-ios-integration-facebook-app-events Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 18.0 1.21 MB

The Facebook analytics-ios integration. https://segment.com/docs/integrations/facebook

License: MIT License

Ruby 8.24% Objective-C 86.10% Makefile 3.91% Swift 1.10% C 0.65%
ios

analytics-ios-integration-facebook-app-events's People

Contributors

akramhussein avatar awolfden avatar brennan avatar briemcnally avatar bsneed avatar f2prateek avatar gpsamson avatar jhk115 avatar kdaswani avatar ladanazita avatar reinpk avatar teresanesteby avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

analytics-ios-integration-facebook-app-events's Issues

Update Facebook SDK version to 5.x

Please update Facebook SDK to the 5.x version as it is the latest version of SDK. This library is using an older version of the SDK. I have tried to create a pull request after updating it to the latest version, but I don't have the right to push the changes.

Bump FBSDKCore to 14.x

There is a new version of Facebook SDK 14.x and it shows a warning in the FB dashboard

image

Ignore event properties that are not NSString or NSNumber

Our events contain properties that are dictionary objects themselves. As a result, seeing this warning in the console FBSDKLog: The values in the parameters dictionary must be NSStrings or NSNumbers It would be great for this library to automatically filter out those properties so I don't get those pesky warnings when running the app. I tried to use the event parameter whitelist feature in the segment dashboard but it doesn't seem to change anything.

Update Facebook SDK to version 8.x

Advanced Matching Doesn't Work With iOS 14 in Older Versions of the Facebook SDK

Facebook can't use the Advanced Matching feature to match your app events to Facebook account IDs for iOS 14 customers. Update to Facebook SDK version 8.0 or higher to fix this issue.

Warning message to update Facebook SDK for iOS 14

I have been using Segment and other destination frameworks to manage event tracking. My latest build on Appstore has following Segment SDKs.

POD LOCK File

PODS:
  - Analytics (4.1.1)
  - AppsFlyerFramework (6.0.8)
  - Intercom (8.0.0)
  - FBSDKCoreKit (7.1.1):
    - FBSDKCoreKit/Basics (= 7.1.1)
    - FBSDKCoreKit/Core (= 7.1.1)
  - FBSDKCoreKit/Basics (7.1.1)
  - FBSDKCoreKit/Core (7.1.1):
    - FBSDKCoreKit/Basics
  - segment-appsflyer-ios (6.0.3):
    - Analytics
    - AppsFlyerFramework (~> 6.0.3)
  - Segment-Facebook-App-Events (2.0.1):
    - Analytics
    - FBSDKCoreKit (~> 7.1.1)
  - Segment-Intercom (1.0.1):
    - Analytics
    - Intercom

DEPENDENCIES:
  - segment-appsflyer-ios
  - Segment-Facebook-App-Events
  - Segment-Intercom

COCOAPODS: 1.10.1

It seems FBSDK is dependency from Segment Facebook App Events library and it is obvious that FBSDK pod added here is version 7.1.1 which I believe is compatible with Segment Framework.

The issue here is, I keep getting "Update FB SDK" message in my FB Ad Console which indicated the FB SDK is outdated and I must update FB SDK to run our app on iOS 14. Though, my app is already working fine on iOS 14.

Screen Shot 2021-02-06 at 10 08 19 AM

Would you suggest me is this change required and how would I be able to do the change?
What kind of changes are visible post the upgrade?

Event tracking names must be between 1 and 40 characters, and must be contain only alphanumerics, _, - or spaces, starting with alphanumeric or _.

When using the FB App Events integration and attempting to track events, the following error is thrown for long event names or those with characters that FB SDK doesn't approve:

Must be between 1 and 40 characters, and must be contain only alphanumerics, _, - or spaces, starting with alphanumeric or _.

In our case, the event names have periods. e.g. app.search.successful. Therefore they do not work.
Not sure what ideal solution is, but would be worthwhile adding this info the docs as otherwise events wont' appear in the FB Analytics panel.

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.