Usage Metrics for Your LMA-Managed Packages provides daily usage data for partners on how subscribers are using their packages. The data includes counts of interactions with custom objects and Visualforce pages, as well as page load times and unique user counts. Partners can enable Usage Metrics for their packages by having their packaging and reporting orgs join an Environment Hub. The data is delivered through standard objects to the reporting org for partners to access and analyze.
ISV Tech Talk: Usage Metrics for Your LMA Managed Packages
1. Usage Metrics for Your LMA-
Managed Packages
Rob Fitzpatrick
Senior Developer – Signup & ISV Tools
rfitzpatrick@salesforce.com
How Your Customers are Using Your Packages - Collected by
Salesforce and Delivered to You
2. Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed
or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-
looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any
statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new,
planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our
operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any
litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our
relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our
service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger
enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our
annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter.
These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section
of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available
and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features
that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Safe Harbor
3. We're Going to Talk About
What does Usage Metrics offer?
What does the data look like?
How do I turn on Usage Metrics for my package?
How do I access the data Salesforce provides?
Q & A
4. Partners Want to Know…
“Which subscribers and prospects are my package's most active users?"
“What features are subscribers using most? What are they slow to adopt?”
“Do my customers have the right licenses for their org?”
“Are my pages loading quickly enough that end users have a positive experience?”
“Are warning signs of subscriber attrition showing up?”
5. Salesforce Usage Metrics
How your subscribers use your packages – delivered daily
Data delivered in a text file, each line tells you how an org interacts with one page or object
Custom Objects
"00Dxx0000001gbk","suborg1","Enterprise Edition","ACTIVE","1.0","MyPkgCalWidget1","33"
"00Dxx0000001gbk","suborg1","Enterprise Edition","ACTIVE","1.0", "MyPkgLeadsWidget1","1027"
First five fields are standard information about the subscriber's org:
Organization Id, Name, Edition, Status, Package Version
Then
• Custom Object Name
• Custom Object Count
6. Salesforce Usage Metrics
How your subscribers use your packages – delivered daily
VisualForce
"00Dxx000001fish","Acme","Enterprise Edition","ACTIVE","1.0","/apex/ns1__mainpage","7","3","66.0"
"00Dxx000001fish","Acme","Enterprise Edition","ACTIVE","1.0","/apex/ns1__view1","13","1","328.0"
"00Dxx000002fish","Umbrella","Enterprise Edition","TRIAL","1.0","/apex/ns1__mainpage","5","5","73.6"
"00Dxx000002fish","Umbrella","Enterprise Edition","TRIAL","1.0","/apex/ns1__view2","37","20","50.8"
• Visualforce page name
• Count of page loads for the day
• Count of unique users who visited the page – subscribers' use increasing? Decreasing?
• Average load time in ms – Are the users having a positive experience?
7. How Do I Enable Usage Metrics for My Package?
Environment Hub a pre-requisite
Packaging
Org
Reporting
Org
Environment
Hub
Usage
Metrics Data
Customer Org 1
Customer Org 2
Customer Org N
Customer Org …
Packaging Org
• DE Org
• Where you build/package/release your app
• Member of your Environment Hub
• Requests Usage Metrics be enabled
Reporting Org
• Member of your Environment Hub
• Usage Metrics data objects delivered here
• May or may not be your main business/LMO org, your choice
8. MetricsDataFile
• Standard Object
• Every instance delivers to your reporting org daily
• One object per instance for VisualForce metrics
• One object per instance for Custom Object metrics
That's about 100 (and counting!) new MetricsDataFile objects every day
API Access only
Usage Metrics Delivery
10. • Salesforce Unmanaged Package
• Free to Use
• Suitable for smaller volumes of metrics
data, constrained by the limits for
interactive Apex
• Published as Unmanaged so that you
have access to the source
• Source can be leveraged as a jumpstart
for your own clients
Visualization App – Salesforce Labs
11. Set up Environment Hub to establish trust between orgs
Log a case in Partner Community to get Usage Metrics turned on for your release org
Try out the Labs Visualization App
Next Steps
12. Introductory Blog Post / Overview
https://developer.salesforce.com/blogs/isv/2014/04/get-better-visibility-business-announcing-
usage-metrics-pilot-feature.html
ISVforce Guide on Usage Metrics
https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/
usage_metrics_intro.htm
Visualization Package on AppExchange
https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000B5FMvEAN
Additional Resources & Links
13. Share Your Feedback, and Win a GoPro!
3
Earn a GoPro prize entry for
each completed survey
Tap the bell to take a
survey2Enroll in a session1
14. Partner Community
Your one-stop shop for education and engagement
http://partners.salesforce.com/
• Partner Program Details
• Communications
• Training
• Leads, Opportunities, & Projects
• AppExchange Publishing
• Webinars & Recordings
• Office Hours
• Sales & Marketing Resources
• Technical Support
15. Looking for the Partner Session Replays and Slides?
See the Partner Community Calendar – September 15-18, 2015
http://p.force.com/calendar
16. New ISV Module on Trailhead
Earn your badge!
https://trailhead.salesforce.com/module/isvforce_basics
17. Get into the Zone: The Partner Zone!
:: Partner Community Theater
:: Live feeds of the major Keynotes
:: Free lunch served daily!
:: Concierge
:: Tech Expert Bar
:: Partner Program Staff
:: Charging stations
:: Featured Partner Services
:: Coffee Bar
:: Prize Giveaways
Daily partner networking events –
3:00pm - 5:00pm
• Tuesday, Sept 15 – Luau Theme
• Wednesday, Sept 16 – Global Theme
• Thursday, Sept 17 – Fiesta Theme
18. Celebrate Success at the AppBash
AppBash “I left my Cloud in San Francisco”
When: Wednesday, September 16
Where: City View at the Metreon
Who: Partners and Customers
Access: Full Conference or Booth Pass plus ID
required
Time: 7:00pm – partners & alliances employees
9:00pm – customers and employees welcome