DavidWells / DavidWells/analytics

Usage with Partytown

Open
#328 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.7k
Forks
267
PR merge metrics
No merged PRs in 30d

Description

Has anyone explored using analytics.js with Partytown? It can significantly improve performance by moving third-party analytics tools off the main thread.

It would be cool to run Google Analytics / Facebook Pixel / other tools in Partytown whilst using analytics.js. It looks like it should be possible, but I'm interested to know if anyone has tried it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing analytics.js's integration approach alongside the linked Partytown documentation, with Google Analytics and Facebook Pixel as the named examples. Determine whether these tools can run through Partytown while using analytics.js, and define a reproducible validation path before proposing supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.