STEP 0 - Adding eMMa SDK files to your project
EMMA is easy to setup in your project. You only need to follow these points:
1. Add Library Files into your project:
2. Add dependencies.
- jQuery (v1.11 or higher)
- Google Maps (if you want the trackLocation feature)
STEP 1 - Import Library
Add next lines to yourto include the EMMA and dependencies libraries.
<!-- Add this line only if your website doesn't include the GoogleMaps API -->
<!-- Add this line only if your website doesn't include the jQuery library -->
<!-- Add this line, after all the dependencies where linked -->
STEP 2 - Init Session
Add in your code at the beginning of execution the following code.
You can get your SessionKey from your App info. Just go to My Account > Support and create your App (if you did not do it before) and get your Session Key right there. Easy!
Also EMMA is not real time, a delay of 1 hour can occur to see your data. Take this delay into account.
STEP 3 - Get SDK version
You can use the following method to check which version of EMMA is currently being used.