Skip to content

Platform from data-platform is not stored #156

Open

Description

@simpleanalytics-agent

What

Integrations set data-platform on the script tag. The WordPress plugin adds data-platform="wordpress", and the platform integration guide asks platforms to set their name. The tracker never reads this attribute, and the queue would drop it anyway, so we don't store which platform embedded a site's script.

Why

The guide says the platform name lets us link domains to their platform and give those users tailored instructions. We can't do that without storing it.

Notes

Storing it needs the tracker to send it, the queue to accept it (lib/sanitize.js and lib/converters.js whitelist fields), and a mapping in the datapoints template in common (dynamic: false).

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