Developer tools
Beyond the wizard and the Events tab, every website has a Developer tab with tools for going deeper — sending events from a back-end, generating snippets, testing, and bulk-importing.
Server ingest API
Some events never happen in a browser — a Shopify webhook, a server-confirmed purchase, a back-office action. The server ingest API records those directly.
- Developer tab → Server ingest API key → Generate key
- POST to
/api/ingestwithAuthorization: Bearer <key>and a JSON body{ event, payload?, url?, ts? } - The
eventmust match a tracked event name for the website — unmatched events returnok: true, matched: 0and aren't stored
The panel includes a copyable sample curl. Rotate or disable the key any time. (Business plan and up.)
Server destinations (Meta, TikTok, Pinterest, Snap, GA4, webhooks)
Browser pixels miss conversions — ad blockers, iOS, and cookie restrictions all silently drop them. Add a server destination and TagEasy forwards every event you send to /api/ingest server-to-server, with retries. One website can have several destinations; each has its own credentials and event map.
| Destination | Credentials | Test path |
|---|---|---|
| Meta Conversions API | Pixel (dataset) ID + CAPI access token | test_event_code |
| TikTok Events API v1.3 | Pixel code + Events API access token | test_event_code |
| Pinterest Conversions API v5 | Ad account ID + conversion access token | ?test=true |
| Snapchat Conversions API v3 | Pixel ID + CAPI token | /events/validate |
| GA4 Measurement Protocol | Measurement ID + API secret | /debug/mp/collect |
| Google Ads offline conversions (Data Manager API v1, or Google Ads API v26) | Your Google connection + customer ID + conversion action | validateOnly |
| Webhook | Your HTTPS URL, optional signing secret and headers | a ping POST |
- Website → Server tab → Server destinations → Add destination. Credentials are verified with a live call (read-only or test-mode wherever the vendor offers one) before they are stored, encrypted.
- The event map turns your ingest event names into the vendor's vocabulary (
purchase → Purchasefor Meta,purchase → CompletePaymentfor TikTok, …). Defaults are pre-filled; names you do not map pass through unchanged. - Email and phone numbers are SHA-256 hashed before they leave TagEasy; IP and user agent are forwarded as the ad platforms require. Webhooks receive your payload as sent, signed with
X-TagEasy-Signature: sha256=HMAC-SHA256(body)when a signing secret is set. - Test sends a synthetic purchase through the vendor's test path; Deliveries shows each attempt with its status, response code and error, and lets you retry a dead one.
Google Ads offline conversions
The Google Ads destination uploads each mapped event to one conversion action through your Google connection, over one of two transports chosen in the form. Data Manager API (recommended, the default) sends an events:ingest request with a GOOGLE_ADS destination whose productDestinationId is the conversion action; it needs only the Data Manager permission on your Google connection (a connection made before that permission existed shows a Reconnect Google button that adds just that scope). Google Ads API uploads a ClickConversion (customers/{id}:uploadClickConversions); Google restricted that call on 2026-06-15 to Cloud projects that had already uploaded offline conversions, so pick it only for such a grandfathered project — it needs the adwords permission (Connect Google Ads) and a server operator with a developer token or Cloud-project API access (see .env.example). On either transport, enter the 10-digit customer ID, pick an enabled conversion action of type “Import → Other data sources” (UPLOAD_CLICKS) — or paste its numeric id when the picker, which queries the Google Ads API, is not available — and optionally the manager (MCC) account the customer is accessed through. Switching the transport of an existing destination also applies to its queued and dead deliveries when you retry them.
Attribution needs the click: send gclid, gbraid or wbraid with the event — at the top level of the /api/ingest body or inside payload (the query string of url is read as a last resort). The storefront pixel and the verify script cannot store the click id for you: capture it on your landing page (a first-party cookie, your session, or Shopify's landing_site, which the Shopify app reads automatically) and include it when the order completes. The SHA-256 hashed email and E.164 phone travel as user identifiers: on Data Manager always (next to the click id they improve matching), on the Ads API only when no click id exists. Without a click id a conversion only matches when the action has enhanced conversions for leads enabled. Consent (consent.ad_user_data, consent.ad_personalization, “granted”/“denied”) is forwarded when present. The conversion time is the event's ts (RFC 3339); the transaction / order id is transaction_id, which Google also uses to deduplicate against a tag-recorded conversion. Data Manager answers with a requestId (logged server-side; quote it to Google support) and fails the whole request on a bad field, with the field path and reason in the delivery error; quota and internal errors are retried, anything else is dead immediately. The Ads API answers row-level rejections (partial_failure_error) with a readable code — a CLICK_NOT_FOUND is retried because clicks take hours to become uploadable; EXPIRED_EVENT or a wrong action is dead immediately, and so is the refusal a non-grandfathered project receives, which is your cue to switch the destination to Data Manager.
curl -X POST https://www.tageasy.io/api/ingest \
-H "Authorization: Bearer tek_…" -H "Content-Type: application/json" \
-d '{"event":"purchase","gclid":"Cj0KCQjw…","ts":"2026-10-26T18:00:00Z",
"payload":{"transaction_id":"1042","value":129.9,"currency":"USD",
"email":"buyer@example.com","consent":{"ad_user_data":"granted"}}}'Delivery and retries
Every ingested event is queued per destination and sent once inline (your /api/ingest call never waits more than about two seconds for forwarding). Network errors, 5xx and 429 responses are retried after 1 min, 5 min, 30 min, 2 h and 12 h — six attempts in all — then marked dead; any other 4xx is dead immediately with the vendor's message. A vendor outage never breaks your ingest call. Each successfully forwarded event counts as one server-side event for billing.
Deduplication with the browser tag
Every ingest event gets one event_id that is passed to all destinations (Meta/TikTok/Pinterest/Snap event_id, GA4 as the event_id event parameter, webhook id) so the platform can collapse the browser copy and the server copy of the same conversion:
- If your payload includes
event_id(a string of up to 128 characters) it is used as-is. Send the same id your browser tag emitted — this is the path that actually deduplicates. - Otherwise, when the payload carries a
transaction_id(ororder_id), the id is derived deterministically from the website, the event name, that transaction id and the timestamp rounded to the minute — so a replayed webhook produces the same id. - Otherwise a random id is generated and the event cannot be deduplicated.
The response to /api/ingest includes the resolved event_id whenever at least one destination is configured. (Business plan and up.)
dataLayer snippet generator
Build a window.dataLayer.push(…) snippet from a form — event name plus typed parameters — and copy it straight into your site's JS or the browser console. Always free; it's a pure code helper.
Bookmarklet tester
Generates a draggable bookmarklet that fires a test dataLayer event on whatever page you click it from — with a te_test: true flag so test fires are easy to filter out. Use it to QA a setup on a live or staging site without touching code. Free.
WordPress / WooCommerce dataLayer bridge
WordPress and WooCommerce don't push standard GA4 e-commerce events on their own. For those platforms, the Developer tab generates a zero-dependency <script> snippet you paste once — it fires page_view, form_submit, and the full WooCommerce funnel (view_item, add_to_cart, view_cart, begin_checkout, purchase) automatically. See the WooCommerce guide.
Bulk event upload
Import historical events from a CSV — useful when migrating off another tool and you want reports seeded. Required column: event; optional: ts, url, payload (JSON). Max 1,000 rows per upload. (Business plan and up.)
dataLayer variable creator
On the Live Feed tab, TagEasy scans the payloads it has received and lists the unique dataLayer key paths (ecommerce.value, transaction_id, …). Select the ones you want and TagEasy can:
- Push them into your GTM container as Data Layer Variables
- Create matching event-scoped GA4 custom dimensions
Do both and the value flows all the way through to GA4 reports. Requires the website connected to GTM + GA4 via the Tag Manager / Admin APIs. (Business plan and up.)
REST API (/api/v1)
A versioned REST surface for scripts, CI pipelines and internal dashboards, authenticated with per-user API keys (Settings › API keys) sent as Authorization: Bearer te_live_…. Keys are bound to one organisation and carry scopes: read, write, and journeys:run for build pipelines. GET /api/v1 returns a discovery document listing every endpoint; GET /api/v1/whoami verifies a key.
| Endpoint | Scope | What it does |
|---|---|---|
GET /api/v1/sites | read | Websites in the organisation, paginated. |
GET /api/v1/sites/{id} | read | One website. |
GET /api/v1/sites/{id}/events | read | The website's configured events. |
GET /api/v1/journeys | read or journeys:run | Synthetic journeys with their ids, schedule and last run. |
POST /api/v1/journeys/run | journeys:run | Run up to five journeys against a preview or staging URL; returns pass / fail per journey with expected vs observed. |
GET /api/v1/journeys/runs/{runId} | read or journeys:run | Poll a CI run; /screenshot serves the failure capture. |
The journeys endpoints are what @tageasy/cli and the GitHub Action use — see Run tracking checks in CI for the request and response shapes. Cross-organisation ids answer 404, never 403.
Where each tool lives
| Tool | Location | Plan |
|---|---|---|
| Server ingest API | Website → Developer tab | Business |
| Server destinations (Meta, TikTok, Pinterest, Snap, GA4, webhooks) | Website → Server tab | Business |
| Snippet generator | Website → Developer tab | Free |
| Bookmarklet tester | Website → Developer tab | Free |
| WP/Woo dataLayer bridge | Website → Developer tab | Free |
| Bulk event upload | Website → Developer tab | Business |
| dataLayer variable creator | Website → Live Feed tab | Pro |