
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
gatsby-plugin-tealium-utag
Advanced tools
Gatsby Plugin for inserting Tealium's utag to the page
This plugin inserts Tealium's utag to the <body>
of Gatsby pages.
npm install --save gatsby-plugin-tealium-utag
// In your gatsby-config.js
module.exports = {
plugins: [
{
resolve: "gatsby-plugin-tealium-utag",
options: {
account: "YOUR_TEALIUM_ACCOUNT",
profile: "YOUR_TEALIUM_PROFILE",
env: "dev",
injectUtagSync: true,
disableInitialTracking: true
}
}
]
};
account
Your Tealium account name.
profile
Your Tealium profile name.
env
Must be "dev"
, "qa"
, or "prod"
.
injectUtagSync
Defaults to false
.
When set to true
, utag.sync.js
will be injected to the <head>
.
disableInitialTracking
Defaults to false
.
When set to true
, utag.view()
won't be called automatically on page load. Usually, that's what you want in Single Page Applications.
utag.view()
and utag.link()
in your app.utag.js
loads asynchronously. To know when it finished loading, listen to the "utag-loaded"
event on the document
:document.addEventListener("utag-loaded", () => {
console.log("utag is ready:", utag);
});
FAQs
Gatsby Plugin for inserting Tealium's utag to the page
The npm package gatsby-plugin-tealium-utag receives a total of 69 weekly downloads. As such, gatsby-plugin-tealium-utag popularity was classified as not popular.
We found that gatsby-plugin-tealium-utag demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.