This repository contains a demonstration of JADE's integration with Google Analytics.
These instructions will get a copy of the JADE Google Analytics Demo up and running on your local machine.
Before you can load the schemas, you will need JADE 2018 installed:
- Grab a FREE Developer's license at https://secure.jadeworld.com/devlicense/
- Download the JADE 2018 release at https://www.jadeworld.com/developer-center/download-jade
- Open the installer and follow the instructions in the easy install wizard.
- JADE is now installed, and a shortcut has been placed in your Start menu. You're good to go!
For more detailed instructions for installing JADE, visit https://secure.jadeworld.com/JADETech/JADE2018/Docs/InstallConfig.pdf.
You will also need a Google Analytics account:
-
Visit Google Analytics and create a free account. Note that as of the end of last year, Google is pushing for the use of Firebase for mobile apps. If you wish to make a new property that is not a website without using Firebase, perform the following steps (tested as at 14/03/2019):
a. Select the Admin tab
b. In the Property column, select "Create new property" button.
c. Select Website.
d. Provide a Website Name. You may put any website name here.
e. Provide a Website URL. You may put any website URL here.
f. Click Get Tracking ID.
g. Re-open the Admin tab
h. In the View column, select the "Create new view" button.
i. Select Mobile app.
j. Provide a Reporting View Name.
k. Click Create View.
You may now safely delete the Web Site View and use the Mobile App view for your JADE application.
-
Edit your jade.ini file, adding the following to it: [GoogleAnalytics] GoogleID=UA-Your Google Analytics ID
Step 1: Setting your Username and Email
- In the Options menu, select the Preferences option.
- Select the Source Management tab
- Enter your name and email address into Commit Details section of the Source Control section.
- Select a valid working directory (This can be whatever you like so long as you will remember it)
- Click the OK btton
Step 2: Cloning the Repo
- In the Browse menu, select Git Source Control Client -> Clone…
(The local path will be filled in for you as the path you selected in Step 1) - For the Repository URL, enter https://github.com/jadesoftwarenz/JADE-Google-Analytics
- Click on the Clone button.
Step 3: Importing the Google Analytics demo
- In the Schema menu, select the Load option.
- For the Schema File Name field, select GoogleAnalytics.scm in the GoogleAnalytics folder inside your working directory.
- Click in the Forms File Name field, GoogleAnalytics.ddx should be entered for you automatically.
- Click the OK button, and the Google Analytics schema will be loaded into your Schema Browser ready for use.
- Run the AnExampleApp application.
- It should display "Google ID set to UA-0123456789-1" (with your Google ID) at the bottom. If not, ensure the GoogleAnalytics is set properly in your ini file.
- To view analytics information, click the Open GA in Browser button. It should show that there is an active user while you have the app open, and zero active users when you don't. Note: It may take a minute or so to update.
Q. Can I contribute to or change these schemas?
The schemas contained in this repository are for demonstration purposes and as such are not open to pull requests. However, you are welcome to create a fork and make changes to your own copy, subject to our license (LICENSE)
This project is licensed under the MIT License - see the LICENSE file for details