![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
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.
@geins/ralph-module-gtm
Advanced tools
Add google tag manager to your Geins PWA Storefront. A wrapper around the nuxt-gtm module.
@ralph/ralph-ui
19.4.0 or higher.npm i @geins/ralph-module-gtm
Add the module to your Geins PWA Storefront Ralph by adding the following lines to your nuxt.config.json
file:
// nuxt.config.js
module.exports = {
modules: [
[
'@geins/ralph-module-gtm',
// Configuration defaults for the module
{
// Set to true to enable debug mode
debug: false,
// Set to false to disable the module
enabled: true,
// Settings for the GTM module, see https://github.com/nuxt-community/gtm-module for more information
gtm: {},
// What to use as the item_id for the product, for example 'productId' or 'articleNumber'
itemId: 'productId',
// If you want to override some properties of the product, you can do so here , for example: [{ override: 'price_campaign', name: 'green_price' }]
propOverrides: []
}
]
]
}
add_to_cart
- One or more products are added to the cartremove_from_cart
- One or more products are removed from the cartview_item
- A product page is viewedview_item_list
- A product in a list is scrolled into viewselect_item
- A product in a list is clickedbegin_checkout
- The checkout page has been enteredpurchase
- A purchase has been madeoriginal_location
- The page where the user enters the sitevirtual_page_view
- A new navigation has been madepage_data
- A page has been loadedadd_to_wishlist
- A product has been added to the wishlistSince this module is based on the [@nuxtjs/gtm](https://github.com/nuxt-community/gtm-module)
module, it will conflict with it.
If you are already using the @nuxtjs/gtm
module, you should uninstall it and use this module instead, which will include the @nuxtjs/gtm
module as a dependency. If you are using the internal GTM events of Ralph, you should disable them by setting useExternalGtm
to true in the publicRuntimeConfig
of you nuxt.config.js file.
FAQs
Geins module for Google Tag Manager
We found that @geins/ralph-module-gtm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.