Skip to content

Instantly share code, notes, and snippets.

@samtsai
Created August 16, 2012 14:30
Show Gist options
  • Save samtsai/3370529 to your computer and use it in GitHub Desktop.
Save samtsai/3370529 to your computer and use it in GitHub Desktop.
Gist.io - a new way to write?

And so it begins. again.

Perf Notes

Souders

The true cause of frontend SPOF is loading a script, stylesheet, or font file in a blocking manner.

Tag management/TAAS/Universal Tagging/etc.

Tealium

A one-line tag provides the simplest deployment to the client, but comes at a cost. The server dependency can cause reduced customer experience and a single point of failure. The concept of a rich-tag is more of a “master tag” allowing the client development team to expose data relevant to the application. A rich tag has more initial upfront work but is ultimately more flexible and from a performance standpoint, optimal.

Avg size of JS for rich tag and single-line

Reduce Page Weight Asynchronous Loading of Tags Conditional Tag Loading Slow Tag Killing Best of Breed Tagging

Jon Williams - implementation engineer Greg Weekley

Breakdown

Front-end / Back-end Web / Mobile / Apps

Implementation: utag.js - main & asynchronously utag1 utag2 utag3

Resource load:

  • can any of the additional block our site / affect performance

utag_data = { name: value, ... }

  • removing tag snippets
  • utag in replacement

Tag maintenance

  • tags up to date

Piecemeal

Contract 1-yr

Definitions

  • SPOF - single point of failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment