PageKit — the self-hosted GrapesJS site builder, sold as source. Get early access

Grapesjs GA
1 images

Grapesjs GA

Free
GrapesJS:0.18.x0.19.x0.20.x0.21.x
Download from GitHub

What's Included

  • Free to download & use
  • Open for personal & commercial use

Support The Creator

Use one-time or monthly support to thank the creator for this free product.

GrapesJS Compatible

Tested with GrapesJS 0.18.x, 0.19.x, 0.20.x, 0.21.x

Open Source on GitHub

Free to use, fork, and contribute

Editor Compatible

Designed for the GrapesJS open-source editor

Free to Use

Open for personal and commercial projects

Analytics snippets are the classic thing that gets pasted into a page and then lost on the next edit. This plugin turns them into blocks, so the tracking code is a component in the tree with its ID editable from the Settings panel.

What it adds

  • Components ga and gtm.
  • Blocks ga-block and gtm-block, both filed under a Google category by default.

Options

  • gaId — the measurement ID from your Google Analytics dashboard, used as the block's default.
  • gtmId — the container ID from Google Tag Manager.
  • gaLabel and gtmLabel — the block labels, Analytics and Tag Manager by default.
  • gaCategory and gtmCategory — the Block Manager categories.
  • gaBlock, gtmBlock, gaComponent and gtmComponent — extend the block definitions and component models.

Why it matters

Presetting the IDs through options means the person building the page never has to see or handle a tracking snippet — they drag the block in and it already points at the right property. That removes a common cause of silent analytics failure.

Good to know

Install as grapesjs-ga.

Ratings:

No reviews yet. Be the first to share your experience.


Share this item:
Last Update:Sep 8, 2026
Published:Jul 10, 2023
Versions:
0.18.x0.19.x0.20.x0.21.x

Questions & Answers

No questions yet. Have something to ask?