Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add built-in vendor configuration for SimpleReach Analytics #1511

Closed
devdazed opened this issue Jan 21, 2016 · 3 comments
Closed

Add built-in vendor configuration for SimpleReach Analytics #1511

devdazed opened this issue Jan 21, 2016 · 3 comments
Labels
INTENT TO IMPLEMENT Proposes implementation of a significant new feature. https://bit.ly/amp-contribute-code WG: analytics
Milestone

Comments

@devdazed
Copy link

Objective

To implement SimpleReach vendor configuration.

Overview

Proposed Vendor Configuration

<amp-analytics type="parsely">
<script type="application/json">
{
  "vars": {
    "pid": "AABBCCDDEEFF001122334455"
  }
}
</script>
</amp-analytics>

Additional Event Sources Requested

SimpleReach tracks the time-on-site and user engagement in several different ways. In order to support our full suite of analytics we would require the following event sources in addition to those provided:

  • Timer event - This is an event that should be configurable to trigger a request at a certain interval. In our case no shorter than once every 5 seconds.
  • Scroll Event -This is an event that fires when a one of the quartiles of the page comes into view, (25%, 50%, 75%, 100%) to show how far a user has scrolled.
@rudygalfi
Copy link
Contributor

@devdazed Is this an intent to implement?

@rudygalfi rudygalfi added the INTENT TO IMPLEMENT Proposes implementation of a significant new feature. https://bit.ly/amp-contribute-code label Jan 22, 2016
@rudygalfi
Copy link
Contributor

Also, would you be willing to submit a pull request for scroll triggers as discussed in #1490?

@devdazed
Copy link
Author

Yes, this is an intent to implement. I am still discussing with my team, how involved #1490 is, will get back to you on what we find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INTENT TO IMPLEMENT Proposes implementation of a significant new feature. https://bit.ly/amp-contribute-code WG: analytics
Projects
None yet
Development

No branches or pull requests

2 participants