I want the link to navigate to a certain page and execute a function using the data in the link.
There's platform called branch that's makes the process of creating a link to a certain page very easy, for react-native, you can use its lib react-native-branch.
I've used it already and it's very good.The branch.io provides some analytics metadata about how many times a user clicked on the link you've created for example.
Related
I want to put credit card number in a field and on clicking a button to retrieve its token. I don't find much information but the thing that I found is:
https://developer.moneris.com/Documentation/NA/E-Commerce%20Solutions/Hosted%20Solutions/Hosted%20Tokenization
I tried with it but still can't make it work. If I put this whole code in webview html part it will call the function on the first screen render. If I try to get the functions out of the webview and use them I can't take the specific iframe with document.getElementById('monerisFrame').contentWindow;
Any thoughts how can I accomplish my task?
You can use Moneris Apis to communicate in React Native :
We can create XML Post Request and connect with the Moneris server with your API Token and Store Id
Follow this blog :
https://medium.com/me/stats/post/7129b5a8b4a2
I am working on integrating branch.io in react-native project for analytics.
Able to see the events getting registered in branch.io dashboard, using BranchEvent() method.
Also want each users id to show up for analytics in branch.io dashboard. So using branch.setIdentity(userId). But not able to see it in dashboard. Am I doing it wrong ?
Is it possible to show user id as well with event in branch.io dashboard for analytics
This userId is unique id of user.
You can view your userId for each event by going to Liveview tab of your Branch Dashboard.
Make sure to enable 'developer identity' from list of columns to show, since the ID set by setIdentity() method is shown under developer identity field.
I am using a branch.io banner via the branch.io SDK on a site that is a single page app.
Branch has a feature where it lets you specify the urls where the banner will appear.
The problem is because my site is a single page app, branch appears to fail to recognize page changes, and which page is actually being viewed.
is there any way to configure branch smart banners to slow on specific pages when using it on a single page app, or am I out of luck?
Jackie from Branch here.
Here's how we support single page web apps.
Close the current Journey: https://docs.branch.io/pages/web/journeys/#closing-a-journey-programmatically
Trigger to show the Journey: https://docs.branch.io/pages/web/journeys/#trigger-a-journey-to-show-by-firing-an-event
Set deep link data(https://docs.branch.io/pages/web/journeys/#deep-linking-from-the-banner-or-interstitial) - this is only required if custom key-value pairs are used. With Canonical URL, Branch handles this at its end.
As a point of reference, feel free to take a look at our example single app, using the above features: https://mikekwon36.github.io/owners_testpage
Hope this helps!
I need to add dynamic and page-specific utm paramenters to the Send me link button from Desktop SMS functionality on branch. Anyone know how to do that
Amruta from branch.io here:
If you need to create a new link when using the SMS functionality you can set make_new_link: true in the options object argument of sendSMS() method, and sendSMS will always make a new link. You can then add the page-specific utm and dynamic parameters to the link data. You can check out an example mentioned on the Branch Github repo here.
I am developing a shopify app.
Is it possible to add a new link to the main menu via the shopify API?
Thanks
If you log in to your partner account and then create an App you can edit the created App and you will see all the resources at your disposal where you can add a new link.
If you notice also, using the API you can pull and rewrite any asset in a shop to contain a new link. This is discouraged as bad practice. Instead, inject a script tag that does the dirty work.
Soon as I know the API itself cannot change something inside the theme files... some APPs ask you to apply some code manually in the theme, with proper instructions... maybe this code could add the new menu or dynamically interact to get it.