BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

[FEATURE] To add google tracking id for user profile.

Open Shubhdeep12 opened this issue 3 years ago • 7 comments

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 gAnalytics can be added to people's profiles
  • if gAnalytics is available in the profile, then add to their profile page

Shubhdeep12 avatar Sep 25 '22 17:09 Shubhdeep12

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.

github-actions[bot] avatar Sep 25 '22 17:09 github-actions[bot]

Can I know more about this feature you suggested?

anirudhp26 avatar Sep 26 '22 06:09 anirudhp26

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.

AgniveshChaubey avatar Sep 27 '22 17:09 AgniveshChaubey

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 avatar Sep 27 '22 17:09 Shubhdeep12

@Shubhdeep12 ohh so you mean to track info like whose profile is viewed more, all ? This can be a great feature as well

anirudhp26 avatar Sep 27 '22 17:09 anirudhp26

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/

Shubhdeep12 avatar Sep 27 '22 17:09 Shubhdeep12

We now have stats for the profile page and links

Can we have individual google analytics for each page?

eddiejaoude avatar Nov 06 '22 22:11 eddiejaoude

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:

  1. As you also mentioned above, in json file there would be a new key gAnalytics where user can add his/her GTM tag.
  2. And we will add that particular tag in head tag for the particular page.

Please confirm, then I'll start work on this. Thanks

Shubhdeep12 avatar Mar 19 '23 09:03 Shubhdeep12

No problem. I have now assigned it two you @Shubhdeep12

eddiejaoude avatar Mar 23 '23 04:03 eddiejaoude

We removed nextjs-google-analytics as 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.

SaraJaoude avatar May 19 '23 04:05 SaraJaoude

Going to close this for now as it is not a highly requested feature plus has some legal complications

eddiejaoude avatar Jul 21 '23 12:07 eddiejaoude