Skip to content

feat: demonstrate Takt 0.5 advanced tracker options#2

Merged
Akayashuu merged 1 commit into
mainfrom
feat/advanced-options-phase4
Jun 21, 2026
Merged

feat: demonstrate Takt 0.5 advanced tracker options#2
Akayashuu merged 1 commit into
mainfrom
feat/advanced-options-phase4

Conversation

@Akayashuu

Copy link
Copy Markdown
Member

Bumps every example's wrapper deps to the published 0.5.x line and wires at least one advanced tracker option per app, in its idiomatic spelling (component prop, plugin/config key, data-* attribute, or init() field).

App Options
vanilla sampleRate, tagged
react scrubUrl (prop), tagged (data-takt-tag)
vue trackQuery, queryParams
svelte scrubUrl
solid sampleRate
angular tagged (data-takt-tag)
astro trackQuery, queryParams, scrubUrl (integration)
php Mode::Sdk + sampleRate, trackQuery, queryParams, scrubUrl
laravel sample_rate, track_query, query_params (+ scrub_url/sdk commented)
symfony sample_rate, track_query, query_params (+ scrub_url/sdk commented)

scrubUrl is a function, so it can't be a data-* attribute; for PHP it requires the new Mode::Sdk renderer. README documents the per-app mapping. Lockfiles resync; all apps build green.

Bump every example's wrapper deps to the published 0.5.x line and wire at
least one advanced tracker option per app, in its idiomatic spelling:

  vanilla  sampleRate, tagged
  react    scrubUrl (prop), tagged ([data-takt-tag])
  vue      trackQuery, queryParams
  svelte   scrubUrl
  solid    sampleRate
  angular  tagged ([data-takt-tag])
  astro    trackQuery, queryParams, scrubUrl (integration)
  php      Mode::Sdk + sampleRate, trackQuery, queryParams, scrubUrl
  laravel  sample_rate, track_query, query_params (+ scrub_url/sdk commented)
  symfony  sample_rate, track_query, query_params (+ scrub_url/sdk commented)

scrubUrl is a function, so it can't be a data-* attribute; for PHP it
requires the new Mode::Sdk renderer. README documents the per-app mapping.
@Akayashuu Akayashuu force-pushed the feat/advanced-options-phase4 branch from 7d2ff72 to 76723d3 Compare June 21, 2026 08:51
@Akayashuu Akayashuu merged commit d8e9b44 into main Jun 21, 2026
20 checks passed
@Akayashuu Akayashuu deleted the feat/advanced-options-phase4 branch June 21, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant