You Can Now Easily Add New Relic to Your Titanium Studio Apps!

The following is a guest post from Ken Kupelian and our friends at New Relic. Dive in and take a look at how you can integrate your Titanium app easily with New Relic.

If you’re an Appcelerator user, then we’re sure you’re going to love this! New Relic now fully supports iOS and Android apps built with Appcelerator’s Titanium Studio! (If you aren’t already using New Relic, sign up for an account today through the Appcelerator Marketplace – all Appcelerator customers get our Standard version for free!)

Getting Started

First, if you are building apps for Android, you will need to upgrade to Titanium Studio 3.1.2. If you’re building apps only for iOS, you won’t need to upgrade (but you might want to given all the awesome new features.) To upgrade within Titanium Studio, go to Help > Check for Updates and install the latest version.

Once you’re logged in to your New Relic account, click on Mobile on the left-hand navigation menu, click on Titanium Studio for the platform and then follow the instructions below.

Installing the New Relic module

  1. Launch Titanium Studio.
  2. Go to the Help Menu > Install Mobile Module.
  3. Copy and paste this address into the “Install from URL” field:
  4. Select “Titanium SDK” for the Output Location.
  5. Click OK.


Add New Relic to your app

  1. For each app you want to add New Relic to, open the “tiapp.xml” file, which should open the TiApp Editor.
  2. Under the Modules section, click the + button.

  3. In the window that pops up, select “ti.newrelic” and click OK.

  4. Add this to the beginning of either the alloy.js file if you have a Titanium Alloy app, or app.js file if you have a Titanium Classic app (replacing “YOUR_APP_TOKEN” with the app token generated for you on the Mobile Monitoring page)

  5. Run your app.


View your data

  1. Go back to your New Relic Account and click Mobile on the left-hand navigation menu.
  2. You should now see your app – click on it and view your data.
  3. Find out more information about the various dashboards and tools available to you on New Relic at


Now you’re all done! Access all the mobile app performance data you’ve been waiting for, and solve all those problems. Don’t wait — log in, deploy and see data like you never have before on New Relic’s mobile section.


  1. Does this module support custom events? Seems like it only monitors HTTP requests. It would be awesome if we could log custom event to use this as an analytics platform…

  2. Doesn’t work like a charm. Tried for a week to get this deployed as New Relic was having a deployment contest. Could not be entered as all I received was errors when trying to install on device/emulator.

Comments are closed.