Analytics

Discussion in 'Buildbox General Discussion' started by AndyG, Sep 29, 2015.

Tags:
  1. AndyG

    AndyG Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,100
    Likes Received:
    915
    What would Buildbox users recommend as the best Analytics to use? I'm assuming these would have to be integrated outside of Buildbox and within Xcode etc?
     
    JoeWilson likes this.
  2. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Good question. I don't know how to add lines of code in Xcode but from what I understand this can be done. Not a coder at all though, so thanks goodness for BB haha. I hear Flurry is good.
     
  3. Sean Buildbox

    Sean Buildbox Serious Boxer

    Joined:
    Sep 24, 2015
    Messages:
    902
    Likes Received:
    1,076
    There's an old post on the Kajabi forums that was a pretty good guide to Flurry. Check it out here

    Or below here's the copy pasta (Keep in mind this is post export so not officially supported) Credit to Aaron:

    I saw some questions about using Analytics in Buildbox so I decided to type up a brief tutorial on adding Flurry SDK. Sorry I didn't have time to create a video but maybe someone else can.

    *DISCLAIMER - I am not a developer just trying to help other DIYers like myself- Use this at your own risk*

    If you don't feel comfortable doing this at least you should know this should take a developer about 10 minutes.

    I assume you have a Flurry account and have created a new app (Flurry.com)

    Step 1 - Download the SDK - Unzip the file

    Step 2 - Open your project in XCode Click File > Add Files to 'PTPLAYER'

    Step 3 - Locate the "Flurry" folder (there are other folders in the zip file only choose "Flurry") Make sure "copy files.." and "create groups" are selected - Click add

    *You should now have the Flurry folder with Flurry.h and lib file in your project tree

    Step 4 - Locate the AppController.h file and add this line of code #import "Flurry.h"

    *Should look something like this*

    #import <UIKit/UIKit.h>

    #import "Flurry.h"



    *** THIS IS THE HARD PART ***

    Step 5 - Locate the AppController.mm file and click on it

    a. At the top you should see PTPlayer > ios > Appcontroller.mm > No Selection

    b. Click No Selection and select... application didFinishLaunchingWithOptions:

    c. Scroll down until you see... return Yes;

    d. Add this line of code before the first return Yes;

    [Flurry startSession:mad:"REPLACE_WITH_YOUR_FLURRY_APPID"];

    That should be it. It will take some time to show up but once you run your app from your device it should register in the Flurry dashboard.

    Use this as a reference http://support.flurry.com/index.php?title=Analytics/GettingStarted
     
  4. AndyG

    AndyG Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,100
    Likes Received:
    915
    Excellent stuff. Thanks for that Sean :)
     
    Sean Buildbox likes this.
  5. Sean Buildbox

    Sean Buildbox Serious Boxer

    Joined:
    Sep 24, 2015
    Messages:
    902
    Likes Received:
    1,076
    Sure:

    *DISCLAIMER - I am not a developer just trying to help other DIYers like myself- Use this at your own risk*

    If you don't feel comfortable doing this at least you should know this should take a developer about 10 minutes.

    I assume you have a Flurry account and have created a new app (Flurry.com)

    Step 1 - Download the SDK - Unzip the file

    Step 2 - Open your project in XCode Click File > Add Files to 'PTPLAYER'

    Step 3 - Locate the "Flurry" folder (there are other folders in the zip file only choose "Flurry") Make sure "copy files.." and "create groups" are selected - Click add

    *You should now have the Flurry folder with Flurry.h and lib file in your project tree

    Step 4 - Locate the AppController.h file and add this line of code #import "Flurry.h"

    *Should look something like this*

    #import <UIKit/UIKit.h>

    #import "Flurry.h"



    *** THIS IS THE HARD PART ***

    Step 5 - Locate the AppController.mm file and click on it

    a. At the top you should see PTPlayer > ios > Appcontroller.mm > No Selection

    b. Click No Selection and select... application didFinishLaunchingWithOptions:

    c. Scroll down until you see... return Yes;

    d. Add this line of code before the first return Yes;

    [Flurry startSession:mad:"REPLACE_WITH_YOUR_FLURRY_APPID"];

    That should be it. It will take some time to show up but once you run your app from your device it should register in the Flurry dashboard.

    Use this as a reference http://support.flurry.com/index.php?title=Analytics/GettingStarted
     
    JoeWilson likes this.

Share This Page