Contrib API Documentation

Get Domain Piwik Id

Contrib framworks are using piwik/matomo to track site stats/analytics

You need to pass the piwik site id on the piwik tracking embed code

Method

GET

URL

https://e7lq80c199.execute-api.us-west-2.amazonaws.com/api1?request=getpiwikid

Making a Request

Available request parameters are:
  • domain — domain name (should be in contrib/vnoc system).
  • key — domain API key.

  • Sample Request

    https://e7lq80c199.execute-api.us-west-2.amazonaws.com/api1?request=getpiwikid&key={xxxxxxxxx}&domain={domain}

API Responses

sample json data:
{
"success": true,
"data": {
"idsite": "9"
}
}


  • idsite — piwik site id.

API Errors

[
 {
"success":false
 }
]