Adding a Measurement ID to Epigraph Solutions


Add Google Analytics 4 Measurement ID

All Epigraph Solutions support analytics tracking using GA4 out of the box. In order to enable this feature, the only requirement from the webpage is to add and attribute named ga-measurement-id="<your-ga-4-measurement-id>" and you should start seeing events being fired to your Google analytics.

Epigraph Button Example

<epigraph-button 
    sku="<insert-the-product-sku>" 
    ga-measurement-id="<your-ga-4-measurement-id>">
</epigraph-button>


Epigraph Viewer Example

<epigraph-viewer 
    sku="<insert-the-product-sku>" 
    ga-measurement-id="<your-ga-4-measurement-id>">
</epigraph-viewer>


Epigraph Tour Example

<epigraph-tour 
    sku="<insert-the-product-sku>" 
    ga-measurement-id="<your-ga-4-measurement-id>">
</epigraph-tour>


📘

Where to find your GA4 Measurement ID

In Google Analytics, go to AdminData Streams → select your web stream → copy the Measurement ID (starts with G-).