How to Overide Admin Welcome page UI Strapi V4? - javascript

I have read the Documentation. but can not find a solution

Related

Track traffic sourcse in Google Analytics Nuxt module

I ve recently implemented Google Analytics module for my Nuxt website.
I did it by installing the module then configuring it in nuxt.config.js as follows:
gtm: {
id: 'GTM-WGW****'
},
googleAnalytics: {
id: 'UA-230******-*'
},
Event tracking is working very good when it comes to purchases but for some reason when I want to see the source of the event (ex: google, facebook etc) all it shows is Stripe. So i get no source data about the user that is browsing my website.
I have tried using rudderstack in combination with this Nuxt module but it doubles my traffic (as it should)
Do you have any solution for how I can track traffic source using the Nuxt Google Analytics module ? ('#nuxtjs/google-analytics')
Thanks in advance!
Ok so after joining the Stripe discord and some more reading, the only way is to go
in your GA dashboard and add stripe.com and checkout.stripe.com to the refer exclussion list.
Happy coding!

Want to make dynamic pages indexable using react cra

So i have this social media app with multiple pages, it's all created with create react app with context api and react-router for routing and laravel for backend. Now, google won't be able to index these dynamic pages, i have tried pre rendring the pages using react-snapshot, currently looking into next js.
i know react has this react dom server, will it be good idea to hook up another server just for pre-rendring the page before sending it to the client.
Is there any other way to do ssr with cra.
First things first, Google is able to index client-side rendered pages.
I think next.js is a good choice for SSR, but you can also look at razzle - maybe you can retrofit that to your CRA setup.
Google should index your website. please check your robots.txt file and also try to provide sitemap.xml for better crawling for google.
Also, there are some issues with using react-snap and that is you render the page at build time and your site render won't change if you read your content from the database and update your database while you didn't rebuild your app.
you can use after.js but next.js have a bigger community and more tutorials out there so I recommend you use next.js.
Also, there is a tool named prerender.io(open source) and you can serve rendered page to search engine bots this is the easiest way in my opinion and do not have the downside of using react-snap

Posting on social media accounts in React Native APP

In my react native app, I get Message test and ImageURL string from server, which I need to share on FB, TWITTER, GOOGLE AND INSTAGRAM.
Note that, I am looking for libraries that works with both android and ios and able to share to all share media and should give some callback, so that I can get the event whether the image has been posted successfully or not.
I tried searching on net and also tried few libraries also, but I didn't got the expected outcome.
Should I have to use SDK for each social media? let me know your ideas, how should I proceed for this.
Thanks,
you can use Share library of react-native, that will open a dialog to share text content containing links and other text stuff.
docs will be available here.
And if you want to share other stuff too, then you can use react-native-share module, that provide to share text + multimedia content on social apps.
If you want to share only text content then i recommend you to use Share library of react-native.

Box api for JS / Cordova app

i'v spend some time investigating if i can integrate JS app (Cordova app) with Box v2 API. I would like to receive a list of file or folders. I'm not able to find a working example for JS. Is is possible at all? Are you aware of any example?
You can take a peek at their native suggestion, https://developers.box.com/authentication-in-your-ios-app/. But if you're going to use it just inside Cordova, you will probably have to use their Oauth set-up to get credentials, https://developers.box.com/oauth/, then you can issue requests to the API for info on any part of the user's account.

Location Search Similar to Groupon

I need to implement location search similar to Groupon Location Search. I know about google places api and have gone through it, but i am unable to implement the search only for city and state code ( as Groupon location search do). Also i want to dropdown menu same as groupon do. I know, I can change the css of google location dropdown, but if there is some service other than google how can I do it for.
Desperately looking for help.
Thanks
One possible datasource for locations (cities/countries) is GeoNames.org
You can either download their entire database, install and use it in your web application (http://www.geonames.org/export/) or access their web services (an overview of the available services can be found here: http://www.geonames.org/export/ws-overview.html).
As for the dropdown/typeahead UI, check out Angular Bootstrap (requires AngularJS and Twitter Bootstrap's CSS, http://angular-ui.github.io/bootstrap/) or jQuery UI's AutoComplete (http://jqueryui.com/autocomplete/).

Categories

Resources