GIPHY Alt Text for GIFs is now available! Email us to learn more at bd.team@giphy.com.
GIPHY Clips (GIFs with Sound)have arrived! Learn about adding Clips to your app in our documentation!
Need to move your project from Tenor to GIPHY?   Check out our  migration guide!
logo

The Analytics Object

Most of our endpoints return an Analytics Object. The Analytics Object provides URLs so you can register actions, such as when a user views, clicks, or sends a GIF. For detailed instructions, refer to the Action Register Endpoint.

Copy Code
"analytics": {
"onload": {
"url": "https://giphy-analytics.giphy.com/v2/pingback_simple?
analytics_response_payload=e%3DZXZlbnRf&action_type=SEEN"
},
"onclick": {
"url": "https://giphy-analytics.giphy.com/v2/pingback_simple?
analytics_response_payload=e%3DZXZlbnRf&action_type=CLICK"
},
"onsent": {
"url": "https://giphy-analytics.giphy.com/v2/pingback_simple?
analytics_response_payload=e%3DZXZlbnRf&action_type=SENT"
}
}
ObjectPropertyExample
onload: objecturl: string
The URL to register a 'view' action by a user.
"URL"
onclick: objecturl: string
The URL to register a 'click' action by a user.
"URL"
onsent: objecturl: string
The URL to register a 'send' action by a user.
"URL"