Abstract
Analytics Kit is an open-source Digital Marketing & SEO project. Analytics framework for iOS. The goal of AnalyticsKit is to provide a consistent API for analytics regardless of the provider. With AnalyticsKit, you just call one logging method and AnalyticsKit relays that logging message to each registered provider. It is built using Swift, Firebase. The complete source code is publicly available on GitHub under the MIT License, making it a useful reference for students building a Digital Marketing & SEO mini project or final-year project.
1. Introduction
The goal of AnalyticsKit is to provide a consistent API for analytics regardless of the provider. With AnalyticsKit, you just call one logging method and AnalyticsKit relays that logging message to each registered provider. AnalyticsKit works in both Swift and Objective-C projects.
The following providers are included but not supported. YMMV.
We've had a number of problems integrating the New Relic framework into the test app, so we can't verify that events are logged correctly.
2. Objective
Analytics framework for iOS
This project demonstrates how Swift, Firebase can be applied to a real-world Digital Marketing & SEO problem.
4. Technology Stack
5. System Requirements
General requirements for this technology stack — check the README for exact versions.
- Xcode on macOS
- Git (to clone the repository)
6. Installation & Setup
git clone https://github.com/twobitlabs/AnalyticsKit.git
cd AnalyticsKit- Download the provider's SDK and add it to your project, or install via cocoapods.
- Add AnalyticsKit to your project either as a git submodule or copying the source into your project. In Xcode, only include AnalyticsKit.h/.m/.swift and any providers you plan to use.
- In your AppDelegate's applicationDidFinishLaunchingWithOptions: method, create an array with your provider instance(s) and call initializeProviders:.
- If you haven't already done so, follow the installation steps above to add your provider's SDK and AnalyticsKit to your project.
- Adding Provider's API Key.
- Flurry: Follow steps outlined in Flurry's Apple Watch Extension guide to add the API Key to the Extension's info.plist.
pre_install do |installer|
# workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
def installer.verify_no_static_framework_transitive_dependencies; end
endAnalyticsKit.initializeProviders([AnalyticsKitFlurryProvider(withAPIKey: flurryKey)])AnalyticsKit.applicationWillEnterForeground()
AnalyticsKit.applicationDidEnterBackground()
AnalyticsKit.applicationWillTerminate]()#import "AnalyticsKitNewRelicProvider.h"Full setup instructions are in the project README.
7. Future Enhancements
Suggested extensions you can add to make this your own project.
- Export reports to Google Sheets or PDF
- Schedule weekly automated reports
- Add competitor comparison
8. Viva / Review Questions
Common questions examiners ask for projects in this domain.
- Which marketing or SEO problem does this tool solve?
- Which data sources or APIs does it use (Search Console, Analytics, social platforms)?
- Which metrics or KPIs does it report and how are they calculated?
- How could the output help a business make decisions?
- How would you schedule it to run automatically?
9. Source Code & License
This project is developed by twobitlabs and published on GitHub under the MIT License. Please follow the license terms and credit the original author when you use or modify this code.
Want to build this as your internship project?
Work on a Digital Marketing & SEO project like this with mentor guidance, weekly reviews and an internship certificate from Training Trains, Erode — online or offline.
Apply for Digital Marketing & SEO Internship