Our tracking setup covers the following:
- Basic ecommerce data and events in the dataLayer;
- Basic ecommerce data and events sent to GA;
- Google ads remarketing and conversion tracking;
- Basic events sent to the Facebook Pixel.
Setup:
Our tracking works by sending data and events to the existing tracking properties on the parent page of the widget. This applies both to GTM / GA tracking and the Meta Pixel.
1.Using GTM (with Google Analytics 4)
a. First, make sure that your GTM container is integrated on the page where you plan to implement the Regiondo react widget.
b. Create a GA4 tag that fires all pages. Data will be sent to your GA4 tag automatically. To make sure that the referral is not lost during navigation of the catalog widget, please go to your GA4 property > Admin > Data streams > click on your data stream > Enhanced measurement > Configure enhanced measurement > Pageviews > Advanced settings > uncheck "Page changes based on browser history events" > Save
c. Our widgets will send events and ecommerce data to this property. The only thing that needs to be added is a GA4 event tag and trigger:
1. Create a Ga4 Event tag with the following setup:
a. Configuration tag - use your main GA4 tag here
b. Event name - {{Event}}
c. Ecommerce - select Send Ecommerce data
d. Data source - Data Layer
b. Event name - {{Event}}
c. Ecommerce - select Send Ecommerce data
d. Data source - Data Layer
2. As a trigger, create a custom event trigger as follows:
a. Type - Custom Event
b. Event Name: virtualPageview|view_item_list|select_item|view_item|add_to_cart|view_cart|add_shipping_info|add_payment_info|remove_from_cart|begin_checkout|purchase
c. Select Use regex matching
d. Trigger fires on - All custom events
After this is set up, you should get virtual pageviews on each checkout step, ecommerce events, and your conversion tag should work as expected. The checkout steps pageviews are:
/checkout/cart
/checkout/contact
/checkout/payment
/checkout/success
You can use those, or the existing events to fire any tag you want.
2. Using Google Analytics 4, Google Ads and Facebook tags directly on the page
a. First, make sure that you have your Google Ads and Facebook pixel integrated on page where you plan to implement the Regiondo react widget.
b. Add your Google Analytics*, Google Ads and Facebook pixel IDs in the Regiondo Dashboard > Marketing > Tracking codes > I am NOT using Google Tag Manager.
Note:
b. Add your Google Analytics*, Google Ads and Facebook pixel IDs in the Regiondo Dashboard > Marketing > Tracking codes > I am NOT using Google Tag Manager.
Note:
For GA4, it is not necessary to add the tracking ID there. Our system identifies if there's a tracking snippet on the parent page, and we send events and ecommerce data to that snippet.
c. Test your setup: Pageviews, Ecommerce data and events should be sent to GA automatically, Google Ads Remarketing and conversion tracking should be receiving data, Pageviews and Basic events should be sent to the Facebook Pixel.