From c5aa4ef87fbe730c65413498ba54baa2ee5ec136 Mon Sep 17 00:00:00 2001 From: dgash Date: Tue, 9 Feb 2016 11:44:10 -0800 Subject: [PATCH] Copy edit Spelling, grammar, punctuation, markdown formatting; no significant content changes. --- builtins/amp-pixel.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/builtins/amp-pixel.md b/builtins/amp-pixel.md index 9bca18b57a4b..f639fe6bab3d 100644 --- a/builtins/amp-pixel.md +++ b/builtins/amp-pixel.md @@ -14,31 +14,32 @@ See the License for the specific language governing permissions and limitations under the License. --> -### `amp-pixel` +## `amp-pixel` -The `amp-pixel` element is meant to be used as a typical tracking pixel - to count page views. +The `amp-pixel` element is meant to be used as a typical tracking pixel to count page views. -#### Behavior +### Behavior The `amp-pixel` component behaves like a simple tracking pixel `img`. It takes a single URL, but provides variables that can be replaced by the component in the URL string when making the request. See the `src` attribute for more information. -#### Attributes +### Attributes **src** A simple URL to send a GET request to when the tracking pixel is loaded. -#### Substitutions +### Substitutions -The `amp-pixel` allows all standard URL variable substitutions. -See [Substitutions Guide](../spec/amp-var-substitutions.md) for more info. +The `amp-pixel` allows all standard URL variable substitutions. See the [Substitutions Guide](../spec/amp-var-substitutions.md) for more information. + +For example, this code: -For instance: ```html ``` -may make a request to something like `https://foo.com/pixel?0.8390278471201` where the RANDOM value is randomly generated upon each impression. -#### Styling +may make a request to something like `https://foo.com/pixel?0.8390278471201`, where the `RANDOM` value is randomly generated upon each impression. + +### Styling `amp-pixel` should not be styled.