Remove tag javascript
article thumbnail

Track Element Viewability With JavaScript Or Google Tag Manager

The Polyglot Developer

In this tutorial we’re going to take a look at tracking if users have seen a particular image or set of images using simple JavaScript as well as an alternative method that links directly with Google Analytics (GA) called Google Tag Manager (GTM).

Google 52
article thumbnail

In Defence of DOM­Content­Loaded

CSS Wizardry

The DOMContentLoaded event fires once all of your deferred JavaScript has finished running. Putting It to Use I’m working with a client at the moment who is using Nuxt and currently has their client-side JavaScript split into an eyewatering 121 defer red files: Don’t get me started on their TTFB. What Does It Actually Mean?

Metrics 326
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Speeding Up Async Snippets

CSS Wizardry

When requesting JavaScript files from the DOM, they can be either blocking or non-blocking. There’s no async attribute in sight, and the code itself isn’t doing anything special: it’s just injecting a script that resolves to a regular, blocking tag in the DOM: How is this any different to just loading the file normally?

Speed 301
article thumbnail

Four Useful VSCode Extensions For Web Developers

Smashing Magazine

To avoid this confusion we can use Inline Parameters , which prints inline the names of the function parameters (for JavaScript, TypeScript, PHP, and Lua). You have something to do in your code, but you don’t have time for it now.

article thumbnail

Feature flags done right with the OpenFeature initiative and Dynatrace

Dynatrace

Using scripting tags, feature flags work without having to deploy new code. For example, here are the JavaScript providers. JavaScript. Watch “Feature flagging done right with OpenFeature and Dynatrace”. What are feature flags? No code for you to write. See OpenFeature adopters and interested parties (hint: add yourself).

article thumbnail

Understanding the performance impact of anti-flicker snippets

Speed Curve

Anti-flicker snippets can affect other Web Vitals, too: Decrease in Total Blocking Time – TBT is a synthetic monitoring metric that measures how long JavaScript and others tasks prevent the page from handling user interaction. Managing the performance of third-party tags is a key aspect of delivering great web experiences.

article thumbnail

Sponsored Post: G-Core Labs, Close, Wynter, Pinecone, Kinsta, Bridgecrew, IP2Location, StackHawk, InterviewCamp.io, Educative, Stream, Fauna, Triplebyte

High Scalability

If you have a passion for databases (both SQL and NoSQL), significant experience building, managing, and monitoring infrastructure, databases, and backend services at scale and want to work with a rag-tag team of hardworking, but humble humans, then come check us out! Stateful JavaScript Apps. Generous free tier.

Education 100