<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Elvis Duru</title>
    <description>The latest articles on DEV Community by Elvis Duru (@elvisduru).</description>
    <link>https://dev.to/elvisduru</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F151314%2F9adb84a4-2999-42b1-a34a-d1f1864e22f4.jpg</url>
      <title>DEV Community: Elvis Duru</title>
      <link>https://dev.to/elvisduru</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/elvisduru"/>
    <language>en</language>
    <item>
      <title>How to Add Google Fonts to a Tailwind Project</title>
      <dc:creator>Elvis Duru</dc:creator>
      <pubDate>Fri, 29 Jul 2022 18:32:15 +0000</pubDate>
      <link>https://dev.to/elvisduru/how-to-add-google-fonts-to-a-tailwind-project-3n0h</link>
      <guid>https://dev.to/elvisduru/how-to-add-google-fonts-to-a-tailwind-project-3n0h</guid>
      <description>&lt;p&gt;Learn how to add, and use google fonts in your Tailwind project in simple steps.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.elvisduru.com/blog/how-to-add-google-fonts-tailwind"&gt;Add Google fonts to Tailwind Project&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tailwindcss</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How to Add and Customize Ant Design UI Library in a Next.js App.</title>
      <dc:creator>Elvis Duru</dc:creator>
      <pubDate>Sat, 25 Sep 2021 18:37:03 +0000</pubDate>
      <link>https://dev.to/elvisduru/how-to-add-and-customize-ant-design-ui-library-in-a-next-js-app-2j95</link>
      <guid>https://dev.to/elvisduru/how-to-add-and-customize-ant-design-ui-library-in-a-next-js-app-2j95</guid>
      <description>&lt;p&gt;Setting up Ant Design in a Next.js App, can be a little difficult. That is why I wrote these two guides that can help you setup and also completely customize Ant Design correctly in your Next.js app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.elvisduru.com/blog/how-to-add-ant-design-to-next-js"&gt;How to Add Ant Design to a Next.js App&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.elvisduru.com/blog/how-to-customize-ant-design-theme-in-nextjs"&gt;How to Customize The Default Ant Design Theme in a Next.js App&lt;/a&gt;&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>antd</category>
      <category>react</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How I Switched from Google Analytics to a Better Open Source Alternative</title>
      <dc:creator>Elvis Duru</dc:creator>
      <pubDate>Tue, 10 Aug 2021 10:21:47 +0000</pubDate>
      <link>https://dev.to/elvisduru/how-i-switched-from-google-analytics-to-a-better-open-source-alternative-291o</link>
      <guid>https://dev.to/elvisduru/how-i-switched-from-google-analytics-to-a-better-open-source-alternative-291o</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;TL;DR  &lt;/p&gt;

&lt;p&gt;I switched from Google analytics because of its flaws and I wrote a &lt;a href="https://www.elvisduru.com/blog/how-to-self-host-plausible-analytics?utm_campaign=how-to-self-host-plausible&amp;amp;utm_source=Dev.to&amp;amp;utm_medium=social"&gt;guide&lt;/a&gt; that shows you how to self-host your own analytics solution that is a better alternative to Google analytics.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I used to use Google analytics to monitor traffic on my web apps. Although, It served its purpose, there were some things I never liked about:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;I respect my user's privacy:By using Google Analytics, you’re sacrificing the privacy of your site visitors&lt;/li&gt;
&lt;li&gt;I care about my users/visitors experience a lot:By using Google Analytics, you’re making the user experience on your site more inconvenient. To abide by the privacy regulations, you compromise your visitors experience by displaying annoying cookie banners and GDPR or CCPA consent notices. This is the case of many websites nowadays.&lt;/li&gt;
&lt;li&gt;It slows down your website:After installing GA, my lightspeed performance test went from 96 to 81. If you're not above the 91 mark, then something's wrong. GA has a performance impact on the page weight and the loading time speed of websites that use it.&lt;/li&gt;
&lt;li&gt;It was overkill for my use case:Google Analytics is overkill for most website owners. It’s a powerful but complex tool that can take time to understand and requires training.&lt;/li&gt;
&lt;li&gt;I needed complete ownership and control over my website's analytics data&lt;/li&gt;
&lt;li&gt;It's a Closed-source product and Google has way too much control of people's personal data. Google Analytics is installed on and is tracking website traffic on &lt;a href="https://w3techs.com/technologies/history_overview/traffic_analysis"&gt;85% of all websites&lt;/a&gt;. A majority of web traffic is tracked by a single company.&lt;/li&gt;
&lt;li&gt;Avoiding Ad-blockersLet's face it, a lot of people use ad-blockers nowadays, which means the data fetched by Google Analytics affected. Their analytics script is blocked by many people who use adblockers such as the &lt;a href="https://github.com/gorhill/uBlock"&gt;uBlock Origin&lt;/a&gt; and from users of privacy browsers such as Brave.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So, how did I solve this? I saw a tweet from &lt;a href="https://twitter.com/ukutaht"&gt;Uku Taht&lt;/a&gt; where he talked about his new  open-source and transparent analytics tool called &lt;a href="https://plausible.io/"&gt;Plausible&lt;/a&gt;, I checked out their website, read the docs and I was amazed with the product. It solves every thing I mentioned in the above points! It's lightweight, open-sourced, no cookies and is fully compliant with GDPR, CCPA and PECR. The part that won me over was this note taken from their official docs:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;By using Plausible, you keep 100% ownership of your website data and you protect the privacy of your visitors at the same time. You can self-host Plausible on your own server.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;More importantly, I was impressed by the part that said I can self-host Plausible on my own server. I've successfully installed Plausible on an extremely cheap Digital Ocean droplet, and I use it currently to monitor all the products I build. I have full control, my apps are blazing fast and my users are happy.&lt;/p&gt;

&lt;p&gt;I wrote a comprehensive step-by-step guide on how you can self-host you own analytics tool. You can &lt;a href="https://www.elvisduru.com/blog/how-to-self-host-plausible-analytics?utm_campaign=how-to-self-host-plausible&amp;amp;utm_source=Dev.to&amp;amp;utm_medium=social"&gt;give it a read&lt;/a&gt; if you want to migrate from Google Analytics just as I did.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>opensource</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
