[FEATURE] To add google tracking id for user profile.
Description
It would be helpful for a user to see the analytics and if we support adding google analytics tracking id in json file. It would be helpful.
Please confirm if this is a valid feature. I would love to do this.
By Eddie
- I think the field
gAnalyticscan be added to people's profiles - if
gAnalyticsis available in the profile, then add to their profile page
It's great having you contribute to this project
Welcome to the community :nerd_face:If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.
Can I know more about this feature you suggested?
Hey @Shubhdeep12, I wanna work on this issue! I am new to opensource contribution, so it'd be more helpful to me if some extra info is provided.
Hi @anirudhp26 @AgniveshChaubey Thanks for the interest in the feature. I also want to do this but want to confirm whether this is valid or not. Explanation - In order to create a linkfree page, we need to create a json file, so what i am suggesting is the support to have a google analytics tracking id in the json file, so that user can have the analytics of his/her linkfree page. @eddiejaoude sorry to mention. But any comments from your end would be helpful here.
@Shubhdeep12 ohh so you mean to track info like whose profile is viewed more, all ? This can be a great feature as well
No @anirudhp26 Just getting analytics for my personal linkfree page. Hope this helps - https://www.google.com/amp/s/blog.hootsuite.com/how-to-set-up-google-analytics/amp/
We now have stats for the profile page and links
Can we have individual google analytics for each page?
Hey @eddiejaoude sorry for late reply. Seems like it is considered as valid feature. Should i start work on this? Or anyone else is working on this right now?
Here is my plan:
- As you also mentioned above, in json file there would be a new key gAnalytics where user can add his/her GTM tag.
- And we will add that particular tag in head tag for the particular page.
Please confirm, then I'll start work on this. Thanks
No problem. I have now assigned it two you @Shubhdeep12
We removed
nextjs-google-analyticsas we are using Vercel analytics. I think this feature will come as part of the Premium version on LinkFree, so I will block it for a few more weeks until that part is finished
I have changed the label to status: blocked given the the discussion on the Pull Request (quoted above): https://github.com/EddieHubCommunity/LinkFree/pull/5724 and I will also lock for now.
Going to close this for now as it is not a highly requested feature plus has some legal complications