Skip to content

Move up loading of amp-analytics extension for AdSense/Doubleclick A4A Impls#8404

Merged
lannka merged 1 commit intoampproject:masterfrom
google:a4a_av_analyics_fetch
Mar 27, 2017
Merged

Move up loading of amp-analytics extension for AdSense/Doubleclick A4A Impls#8404
lannka merged 1 commit intoampproject:masterfrom
google:a4a_av_analyics_fetch

Conversation

@keithwrightbos
Copy link
Copy Markdown
Contributor

AdSense/Doubleclick implementations use the existence of a header in the ad response to load an amp-analytics element. Currently the loading of the extension is done when the amp-analytics element is added during layoutCallbackout however it is possible that the extension itself does not yet exist on the page. Move loading of the extension earlier to when valid header is handled to ensure later additional of amp-analytics element is not throttled by loading of extension.

@keithwrightbos
Copy link
Copy Markdown
Contributor Author

/cc @ampproject/a4a

@lannka lannka self-assigned this Mar 27, 2017
@lannka lannka merged commit 5510c25 into ampproject:master Mar 27, 2017
lironzluf pushed a commit to lironzluf/amphtml that referenced this pull request Mar 28, 2017
* master: (34 commits)
  Prevent amp-carousel next/previous icons fade away on desktop (ampproject#8428)
  Turn on flag slidescroll-disable-css-snap” (ampproject#8436)
  Revert "temporarily turn off yarn (ampproject#8356)" (ampproject#8384)
  initial commit (ampproject#8404)
  Upgrades for Index Exchange amp-ad tags to report load statistics (ampproject#8054)
  amp-bind validation tweak (ampproject#8414)
  Fix an amp-instagram race condition (ampproject#8192)
  Use whitelist to restrict urlReplacement for scoped analytics element (ampproject#8360)
  Report active experiments in error logs (ampproject#8108)
  amp-bind: Catch exceptions in mutatedAttributesCallback (ampproject#8383)
  Fixing custom scroll-snap on IOS (ampproject#8391)
  Add experiment for using AmpContext class in integration.js (ampproject#8348)
  add (ampproject#8349)
  swipe api (ampproject#8357)
  skip 3 flaky tests (ampproject#8388)
  amp-bind: Expression complexity limit (ampproject#8321)
  add margin-bottom (ampproject#8350)
  Flying carpet: make container full viewport and center content (ampproject#8292)
  Service Registration: Document Click (ampproject#7882)
  Add a8ad (ampproject#8036)
  ...
mrjoro pushed a commit to mrjoro/amphtml that referenced this pull request Apr 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants