# [Helpers](https://github.com/slooob/amp-html/tree/master/lib/amp-html/helpers/docs#amp-html-helpers) / `amp_analytics`
## Information
`amp_analytics` allows to integrate with venders to measure activity on AMP documents.
---
### Quick info
#### Latest update: 0.6.2 (Pre-release) - 2017-03-20
[**Changelog for version 0.6.2**](https://github.com/slooob/amp-html/blob/master/CHANGELOG.md#062-pre-release---2017-03-20)
#### [DeepIntegration](https://github.com/slooob/amp-html/tree/master/lib/amp-html/helpers/docs#deepintegration-helpers): Enabled
#### [Availability](https://github.com/slooob/amp-html/tree/master/lib/amp-html/helpers/docs#availability-of-helpers): Installable with the [Analytics Component](https://github.com/slooob/amp-html/tree/master/lib/amp-html/components/docs/analytics.md)
#### [Takes a block?](https://github.com/slooob/amp-html/tree/master/lib/amp-html/helpers/docs#takes-a-block): Yes
---
## General
### Reference
[**AMP Reference**](https://www.ampproject.org/docs/reference/components/ads/amp-analytics)
#### Required Parameters
* `vendor` (if not set in the AMP-HTML configuration)
#### Structure
<%= amp_analytics(vendor, options) %>
#
## Examples
Loading a remote config:
<%= amp_ad("adobeanalytics", config: "https://example.com/analytics.config.json") %>
`amp_analytics` also takes a block:
<%= amp_analytics do %>
<% end %>