Comments (11)
I have added GA in mine. Let me create a PR. :)
from styled-components-website.
micro-analytics is nice and all, but doesn't quite give us what we need and I don't have time to improve it further.
It also seems to be a bit brittle and crashed every now and then, I believe... Although it could also just be Zeit's infra not being well suited for it.
I'd be in favour of Google Analytics. It's the obvious choice
from styled-components-website.
Can I get the Analytics UA Code please?
from styled-components-website.
Also, I am pretty bad with jest, it is throwing up an error when I am trying to update the snapshot, it seems like it is coming from the library itself. Not sure how I can fix that. https://cl.ly/150H1C3T2v1N
from styled-components-website.
I am actually done with the changes, Just need to solve the Jest issue.
from styled-components-website.
It seems like react-ga
can't be server-side rendered?
from styled-components-website.
I am not sure. It works in my project. I don't use tests though.
Secondly GA should be executed on frontend only right?
from styled-components-website.
Yeah it should only happen on the frontend, otherwise it'll seem like we have 2x the pageviews! I created a property on Google Analytics, the tracking ID is UA-105613776-1
😊
from styled-components-website.
This thread has a long discussion about this exact feature: vercel/next.js#160
from styled-components-website.
I've used the same thing with modifications. How about I remove the test and make a PR then you can have the tests pass?
from styled-components-website.
How about I remove the test and make a PR then you can have the tests pass?
Just submit the PR with the failing tests so we can take a look at it. Thanks!!
from styled-components-website.
Related Issues (20)
- Spectrum chat link is not found HOT 1
- spe
- Add [project] by [company] to showcase
- Add FAQ on NextJS 13 usage HOT 2
- Add [project] by [company] to showcase HOT 1
- Need a FAQ page added for this HOT 3
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Wrong Link in the docs for v6 migration
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- On the homepage live edit example, the cursor is off by 1 character HOT 1
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase ok
- Inaccurate `shouldForwardProp` description
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from styled-components-website.