Google Tag Manager Live Query Actor avatar

Google Tag Manager Live Query Actor

Pricing

from $2.49 / 1,000 results

Go to Apify Store
Google Tag Manager Live Query Actor

Google Tag Manager Live Query Actor

Read actual compiled tags from explicit published GTM containers, with original tag IDs, native configuration JSON, static macro/rule references and literal filtering. No downloaded code is executed; private management requires OAuth.

Pricing

from $2.49 / 1,000 results

Rating

0.0

(0)

Developer

ScrapeAI

ScrapeAI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

22 days ago

Last modified

Categories

Features

Limited permissions

Share

What does this Google Tag Manager reader do?

Read real native compiled tags from explicit published GTM containers. Each record is one actual tag with its original numeric tag_id, native array index, compiled function identifier and resource version. The output includes exact configuration JSON, typed parameters, static rule/predicate references and transitive macro definitions. Apify adds API access, scheduling, monitoring and dataset exports. No provider API key is needed for the supported public published script mode.

Why use this Actor?

Inspect publicly deployed tag configuration, compare published snapshots and index actual configuration references. This capability does not expose private accounts, workspaces or draft containers. Compiled identifiers and functions are not invented friendly tag names or a claim of authenticated management API data. Configuration is not visitor analytics or proof that a tag fired.

How to use it

  1. Supply a public GTM container ID in containerIds or containerId, or an explicit published gtm.js URL through startUrls, searchUrl or url.
  2. Optionally filter native tag JSON using a case-insensitive literal phrase, for example macro.
  3. Set maxItems and minItems. Use ten matching tags for a complete ten-record proof.
  4. Start the Actor and inspect the dataset plus native source evidence. Download JSON, HTML, CSV or Excel.

Input

Only explicit published GTM IDs and exact public script URLs are accepted. Private preview/authentication parameters are rejected. Duplicate container IDs are read once. Blank canonical fields do not mask valid aliases. All outer and nested actorInput record caps are validated; the smallest applies globally. The public Apify website container is offered only as prefill; no hidden source is fetched without explicit input.

Output

One row contains containerPublicId, nativeTagId, compiledTagIndex, compiledFunction, compiledResourceVersion, configurationJson and typed parameter entries. configurationJson preserves the exact parsed native tag, including source-defined empty/null values. Parameter entries keep sourceValueJson and sourceValueType; unavailable empty scalar values are marked explicitly rather than replaced with fabricated values. Zero IDs/priorities and false flags remain intact. Macro and predicate definitions remain static source data, not evaluated results.

Data table

FieldMeaning
nativeTagIdOriginal compiled tag_id; not a guessed positional ID
compiledTagIndexOriginal source-array index used by compiled rule references
configurationJsonComplete native tag JSON, inert text
referencedMacrosStatic transitive native macro references and definitions
ruleReferencesSource add/block clauses linked by exact tag-array index
sourceResourceSha256Hash of the same-run native JSON resource text

Pricing and performance

Public script reads require no provider API key. Cloud compute and storage follow your Apify plan. Requests use direct HTTPS, one-second response pacing and robots rules; no proxy is used. Larger containers produce larger detailed rows, so keep a bounded cap.

Tips and limitations

The Actor parses only strict JSON resource and identity fields. Downloaded JavaScript, custom HTML, macros and tracking code are never executed. No visitor data, cookies or events are collected or sent. The public resource version is not asserted to be a private management API version ID. Rule references do not prove runtime matching or firing. Private management, drafts, full UI trigger semantics and authenticated APIs are outside this public read mode.

FAQ, disclaimers and support

Use only public or authorized configurations. Robots policies are respected; an absent robots file with HTTP404/410 is treated as no published rules. Source denial, malformed native data, mismatched container identity and insufficient genuine tags fail explicitly. Help pages, macros and parameters never pad tag counts. Report source format changes through Issues. An authorized OAuth integration is required for private GTM management.