Universal Google Analytics (GA4, UA) dataLayer product scraper avatar

Universal Google Analytics (GA4, UA) dataLayer product scraper

Try for free

5 days trial then $3.00/month - No credit card required now

View all Actors
Universal Google Analytics (GA4, UA) dataLayer product scraper

Universal Google Analytics (GA4, UA) dataLayer product scraper

eloquent_mountain/universal-google-analytics-ga4-ua-datalayer-product-scraper
Try for free

5 days trial then $3.00/month - No credit card required now

Scrapes Google Analytics (GA4, UA) e-commerce product data from the dataLayer of any website and returns all product data in multiple data formats. Also available as an API to integrate with your own or other products.

You can access the Universal Google Analytics (GA4, UA) dataLayer product scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1echo '{
2  "start_urls": [
3    {
4      "url": "https://www.bol.com/nl/nl/l/boeken/8299/"
5    },
6    {
7      "url": "https://www.bol.com/nl/nl/ra/kleine-cadeautjes-tot-15-euro/134688/?12194=1-15&rating=all&PROMO=Kidscadeaus_occasions_2021_2912_banner_1_LTI"
8    }
9  ],
10  "cookie_accept": "#js-first-screen-accept-all-button"
11}' |
12apify call eloquent_mountain/universal-google-analytics-ga4-ua-datalayer-product-scraper --silent --output-dataset

GA Scraper: Extract E-commerce Data from DataLayer API through CLI

The Apify CLI is the official tool that allows you to use Universal Google Analytics (GA4, UA) dataLayer product scraper locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Developer
Maintained by Community
Actor metrics
  • 5 monthly users
  • 1 star
  • 100.0% runs succeeded
  • Created in Jun 2023
  • Modified 4 months ago