Skip to content

Support inline event attributes in the main tracking script #105

Open

Description

@simple-analytics-ai

What

Support the documented data-simple-event clicks, form submissions, attribute metadata, and optional confirmed 404 events in the main tracking script. Currently these require a separate inline-events helper, while v12's automatic-events script skips tagged links.

Why

Customers should be able to use these attributes with one small tracking script, without duplicate events or changes to their site's navigation, form validation, or submission behavior.

Notes

Implement against v12 (PR #40). Preserve installations that still include the separate helper, and keep the added compressed size small.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions