Improves the Core Web Vital Interaction-to-Next-Paint (INP) when using Google Tag Manager, Google Analytics and other analytics scripts.
This plugin adds a small script to the custom HTML “Start of head” section, which optimizes the Core Web Vital Interaction-to-Next-Paint (INP) when using Google Tag Manager (GTM), Google Analytics and other analytics/tracking scripts.
GTM tags traditionally trigger on user interactions, meaning the browser must process tracking tasks before updating the UI. This can slow perceived responsiveness, particularly on budget smartphones, and degrade INP.
With this script, tracking is deferred until after the UI responds, yielding smoother interactions in 99% of cases. In the rare situation where a user closes the tab when a tag is about to fire, tags still fire instantly to safeguard tracking reliability.
Please follow these 3 steps to get the best out of the plugin.
Ensure Google Tag Manager related snippets are added in “End of head”, not “Start of head”. This is a must.
Open the plugin, press the “Add Script” button. Publish the site.
Over the next days, monitor your GTM / tracking accuracy. Did anything drop more than 2-3% consistently? That might indicate the snippet is not compatible. Disable the snippet in that case and please reach out via the Framer Community so we can update the snippet accordingly.
After around ±30 days of usage, INP of your website should improve in Google PageSpeed Insights.
Initial release version.