tracking unique clicks with firebase dynamic links - firebase

I'm trying to create a function in my app where the user can share a link that redirects to either my website or the App Store. The user is rewarded if 5 friends click the link. So it requires that the unique link I create with the REST API for that user be able to track and display the amount of unique clicks.
Google docs snippet
The doc states that it can track 'clicks' but not unique clicks which is no good for me.
Is this even possible or should I be looking at a different solution? Doing research, I've found apps that have this feature and in their T&C's it states that they use firebase dynamic links.

Related

How can I track individual user activity on a Squarespace website without using Member Areas?

A bit of background:
I have a very simple Squarespace website, where I've created a manual form set up that takes in a user's email and a password for them to "login". They can only view the website once they're logged in. I didn't use Squarespace's features (like Member Areas) because they contain far too many undesirable features that are unable to be turned off (for example, I can't turn off automatic emails sent to users, I can't stop Squarespace from asking for first and last name, etc).
Now, I've been trying to figure out how to use Google Analytics' User ID feature (Universal Analytics, not GA 4 because GA 4 doesn't have great documentation yet and its features are still quite limited) in Squarespace so I can track the pages individual users view, but it's been giving me an insane amount of problems that aren't super well documented (from what I've seen at least). The biggest problem that I've been running into is that since my user ID is derived from the user's email (along with additional randomized numbers), I can get individual user info at the login page from the form submission, but I don't know how to keep this user info such that after the user is logged in and viewing various pages, I can still keep track of the user ID and enter it as a parameter in the GA configuration code for each page. I haven't seen evidence of a global variable system in Squarespace where I can store this user ID, so I'm pretty stumped (though I would be happy to know if someone knows of something similar).
Does anyone have any idea how I can individually track user activity on Squarespace without using Member Areas?
If you use the User-ID view you must send the user id in all hits, otherwise you will not see interactions in that view where that information is not present.
As an alternative (recommended) you can use a custom dimension at the user level, in that way you just need to send the userId even once, collect it in the custom dimension and from that moment on (including previous interactions of that same session) navigation of that user (also for subsequent sessions) will be associated with that identifier in Analytics.

Using Instagram API to automatically show recent user images by username?

I have a feature on a WordPress website that I'm working on where an Instagram feed is displayed on a user's page. They are able to enter their IG username. I want to be able to simply display the last 10 images from their feed. I would do this manually but there will be many, many users on this website.
I'm not clear from their documentation how to do this in an automatic way. I can show a feed for an individual account if I register via that account on the Instagram Developers page, create an access token, and figure out my client ID. This is a manual (and tedious) process as far as I can see.
I tried even looking if I can scrape the Instagram page as the format is just https://www.instagram.com/username but they almost appear to obfuscate the class names to prevent this.
Is there no way to simply (via a plugin or otherwise) just poll Instagram for a certain public user's images and return them?

How to collect statistics from firebase dynamic links created manually?

I've created dynamic link manually and I would like to collect statistics for it in firebase console.
Is it possible?
Link that I've created contains:
link, apn, utm_source ,utm_medium
I believe you need to shorten the Dynamic Links, for the Firebase console to track clicks for you. From this page:
To help you gauge the effectiveness of your promotions and campaigns, the following Analytics events are automatically logged when you open a short Dynamic Link in your app. You can create short Dynamic Links in the Firebase console.
For your existing manually created dynamic link, go to the Console, click on Dynamic Links, then New Dynamic Link. Select Shorten an Existing Dynamic Link, then paste your existing link there, then click the Create Link button.

Extract user data from a facebook link

I am creating a website that allows users to post a picture to their wall that is linked to an interactive version of that post (the wall post/picture is basically a screen capture of this interactive content) in a unique URL. I want to be able to gather profile data from any user that clicks the link in Facebook and interacts with the content.
Is there a way to do this?
Thanks
No, without user authorization you canĀ“t get ANY data of users who click on a link on Facebook. Check out the Facebook docs for information about authorization/login: https://developers.facebook.com/docs/facebook-login/v2.2

tracking users with google analytics after they leave my domain to make a purchase and come back

I would like to track where users originally came from when they make a purchase on my site so I know which keywords are more profitable and which websites are best for advertising.
an example is a user is on my site with my google analytics tracking code which has details of where they came from, and then decides to upgrade. they leave my domain to go to my biller (2checkout) complete the purchase and return to my thank you page.
I have transaction code and analytics code on my thank you page and the transactions are showing up with the correct product/amounts in GA however there is no other data and in my reports the referring url is always my biller or a credit card companies authorisation page.
i can manually connect which customer is which by saving their referring data when they first come to the site and then matching it up after they make a sale, but I would like it to show up in my google adwords / analytics account where it is easier to manipulate the data and see trends.
if anyone can help me with this annoying issue I would be vbery greatful, but I fear I may end up living off reports I create and then matching them up with adwords manually :/
One thing you can do is have a click event trigger a custom variable. When the user clicks on whatever link that takes them to your biller, have the custom variable trigger with the information you want to carry over (like the current page URL, some campaign name, whatever). Specify the custom variable's scope as Session or Visit so that it get associated with the thank you page.
http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html
An alternative is to do campaign tracking:
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55540
That is more or less the same principle as the first suggestion, but with using specified URL parameters. Depending on how your pages are actually coded, you may need to push a virtual page view with the campaign code(s):
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55521

Resources