UsageKit

Utilities • Updated 5 years ago

Download Shortcut Add to Collection
Version 1.0 • 52572 unique downloads

ShareShortcuts Member:

@tdevx



UsageKit was designed to give you detailed information on not only how you use your Shortcuts, but how frequently you use them. 

Caution: This Shortcut is currently in beta, you may experience issues.

Graphics by MediaKit

UpdateHub


Features

Low Perfomance Impact

The biggest concern for anybody when it comes to implementing UsageKit will most likely be the impact it has on performance. Due to the way UsageKit works, it will have next to no impact on your performance.

Multi-Device Support

If you use more than once device, UsageKit will only show you statistics for the device you’re currently using.

Simple Design

UsageKit features a simple, data fuelled interface that keeps the important information at your fingertips. When you run UsageKit you will be greeted by a list of supported Shortcuts and the number of times you’ve run it. When you make a selection you will be presented with more detailed information about the statistics that Shortcut is monitoring. 

Screenshots


Documentation

Overview

Below you will find detailed instructions on both the basic and advanced implementation of UsageKit. The basic version will only require 4 Actions from you, and the advanced version will use a minimum of 5 Actions. To see this in action, use the DEMO provided.

Note: If you experience any issues or require assistance, don’t hesitate to contact me via Reddit.

Message

Basic Input (required)

The basic implementation of UsageKit only requires 4 Actions, this particular method is only used for 1 input and is required at least once in every Shortcut.

To get started, place a ”Get My Shortcuts Action” and add an ”If Action” after it. Set the If Action input to ”Contains” and enter ”UsageKit” into the Value.

Next, place a ”Text Action” and paste the text from the template below into the box. 

First Line: The first line should contain the name of your Shortcut and should match the name that is in your Shortcut Library.

Second Line: Leave this blank.

Third Line: The third line will be the name of the statistic. For example, if your Shortcut is tracking downloads, you would set your statistic name to “Downloads”.

Fourth Line: Leave this blank.

Fifth Line: The fifth line will be used to display your Shortcut satistics and must include “{{NUM}}” (you may place any text around this). For example, if your Shortcut is tracking downloads, your your last line will read {{NUM}} items.

And to finally finish the basic implimention, add a ”Run Shortcut Action” at the end and link it to UsageKit. 

Note: It is required that you use the template below at least once near the beginning of your Shortcut. This will be used to calculate the total times you run a Shortcut and is needed for the main menu.

Basic

Advanced Input

The advanced implementation of UsageKit requires a minimum 5 Actions, this particular method is only used to send multiple statistics to UsageKit at once.

1

To get started, place a ”Text Action” and enter the required information (see basic input). Then add a Add to Variable Action”and enter ”UsageKit” into the name (you can repeat this as many times as you like throughout the Shortcut).

2

Near the end of your Shorcut, place a ”Get My Shortcuts Action” and add an ”If Action” after it. Set the If Action input to ”Contains” and enter ”UsageKit” into the Value.

Finally, add a ”Get Variable Action” linking to the variable we created and place a ”Run Shortcut Action” at the end and link it to UsageKit. 

3

Branding

If you feel UsageKit is the right fit for you and your Shortcuts, you may use the following on your RoutineHub page.

[![UsageKit](https://i.imgur.com/LfJufxJ.png)](https://routinehub.co/shortcut/2114)

UsageKit



Changelog

v1.0
  • Version 1.0   Current
    5 years ago (Changes)

Extensions:

Siri is supported

ShareSheet is supported

Widget is supported

Show 8 embedded comment(s) in this Shortcut
Show External URL-calls / Webservices / Workflow URL schemes