I am very new with analytics. Can you please let me know, How to setup analytics(Install) and setup with application.
Also i would like to know, is there any API to pull metrics data in JSON or any other format.
Analytics can be implemented to track web or app traffic over various platforms and each platform has its own implantation guidelines. You may start with the following document which will help you determine which method you need to use.
Additionally, you may send data via Data Insertion or Bulk Ingestion APIs
In order to pull data from Adobe Analytics, you may user Reporting APIs 2.0.
Hope that helps.