<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rogério Gouveia Fernandes on Medium]]></title>
        <description><![CDATA[Stories by Rogério Gouveia Fernandes on Medium]]></description>
        <link>https://medium.com/@rogriogouveiafernandes?source=rss-c2ad0c4eb35f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Qfw3INbMHF3C5FiA.</url>
            <title>Stories by Rogério Gouveia Fernandes on Medium</title>
            <link>https://medium.com/@rogriogouveiafernandes?source=rss-c2ad0c4eb35f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 17:03:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rogriogouveiafernandes/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Web Scrapping with Python: No API, No problem]]></title>
            <link>https://medium.com/@rogriogouveiafernandes/web-scrapping-with-python-no-api-no-problem-a5b49facaf2f?source=rss-c2ad0c4eb35f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5b49facaf2f</guid>
            <category><![CDATA[beautifulsoup]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[web-scraping-tools]]></category>
            <category><![CDATA[web-scraping]]></category>
            <dc:creator><![CDATA[Rogério Gouveia Fernandes]]></dc:creator>
            <pubDate>Sun, 03 Mar 2019 19:37:13 GMT</pubDate>
            <atom:updated>2019-03-03T19:52:08.607Z</atom:updated>
            <content:encoded><![CDATA[<h3>Web Scraping with Python: No API, No problem</h3><h3>Before we jump into the code</h3><p>I’ll assume that you know some Python (and are using pip, a package management tool to get the Beautiful Soup library). Are also OK with HTML and CSS, and know at least how to inspect a web page (some JavaScript can help to a certain extent, but is not mandatory).</p><h3>The issue</h3><p>Let’s imagine you want to get some data from a cool website that provides no API, for analysis purposes (…or whatever. Don’t judge).</p><p>Oh, and just be careful about the legal stuff and spamming issues (not cool!) Act like a human, not like a robot, if you know what I mean…</p><h3><strong>…now you can use Python</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/0*8nvj125wlZ3Ytqno.jpg" /></figure><p>First, acknowledge what you’re doing (basic) and import all the libraries you’re going to use. This will focus on Beautiful Soup only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*beVWda2_ALY3wNGR6bpANA.png" /></figure><p>Assign your website URL (the one you want to get data from) to a new variable in Python. And do the HTML parser with the same library (by the way, the “whatever-website” is not really a website: just replace that line with yours and ignore the rest).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*z5xpOSKh8q79wb9eCqhyUg.png" /></figure><p>Then use a for-loop to go through the HTML elements. Can be a bit tricky sometimes, depending on the website structure (and your knowledge of HTML and CSS. Reading the Beautiful Soup documentation will certainly make this easier).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*6GenvRBBdbT7bcMT_QdlTQ.png" /></figure><p>After this procedure, just print the results of each element of the array or list. And <em>voilà</em>, you can now get the data you need. And do a lot more (but not the purpose of this article).</p><h3>This is it?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*JMJWbdTHwwBsLS4S" /></figure><p>Yes. This is just a quick overview of the potential of Python when it comes to web scrapping. Just read some documentation, learn some stuff and break some things.</p><p>Are you working on something cool using these concepts (and maybe making use of a framework like Flask or Django), or know a better way or library to to this thing? Did you find this remotely useful? Let me know.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5b49facaf2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Digital Analytics tips for the absolute beginners]]></title>
            <link>https://medium.com/@rogriogouveiafernandes/5-digital-analytics-tips-for-the-absolute-beginners-4f3b9d052b3c?source=rss-c2ad0c4eb35f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f3b9d052b3c</guid>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[google-tag-manager]]></category>
            <category><![CDATA[digital-analytics]]></category>
            <category><![CDATA[web-analytics]]></category>
            <dc:creator><![CDATA[Rogério Gouveia Fernandes]]></dc:creator>
            <pubDate>Tue, 01 Jan 2019 00:23:44 GMT</pubDate>
            <atom:updated>2019-01-01T00:26:51.574Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*fVoqSfKvZw0H8_gRjxIGnw.png" /></figure><p>From time to time I wish I could give you some good advice, but I don’t feel comfortable in that position.</p><p>But it’s the end of the year, right?</p><p>“Get out of your comfort zone”, they say. “Try new things”, “Face your fears”, and…blah blah blah</p><p>But seriously, I guess I can be more helpful than that.</p><h3>1 — Learn, Learn, Learn</h3><p>An repeat. I would advise you to check <a href="https://www.codecademy.com/">Codecademy</a> or <a href="https://teamtreehouse.com/">Treehouse</a> (my favourite), to learn some programming (yep, you should not ignore that). The first one used to be free (for the most part) and the second one is paid. Both are cool. Learn HTML, CSS, JavaScript. And If you want to make the most out of data, maybe consider checking SQL, R or Python (good to have).</p><p>Let’s be honest: you don’t need to be a programmer, but not knowing what a dataLayer is, and not being able to keep a conversation with a developer, for instance, will certainly cause you some problems in the future.</p><p>For Digital Analytics only, and again, if you are an absolute beginner, I recommend <a href="https://measureschool.com/">Measure School</a>. If you’re a bit more technical, and maybe trying to find something more challenging or trying to solve something more specific, Simo Ahava <a href="https://www.simoahava.com/">blog</a> is the place to go. You can also follow Mikko Piippo or Himanshu Sharma on LinkedIn, among other cool guys, for some cool insights, if you’re already in the business.</p><p>I’m addicted to podcasts these days. Just look for <a href="http://www.analyticshour.io/">Digital Analytics Power Hour</a> and listen to it during your commute. It will approach some cool topics in a fun and insightful manner.</p><h3>2 — Work on a side gig</h3><p>Learn for the sake of learning can be boring. You can apply your knowledge in something real. Launch an app, a website, or whatever…It’s up to you.</p><p>You can install Google Analytics through Google Tag Manager in your web app afterwards, or maybe consider firebase in your native android project. Chosing the tools and making decisions will be also an important part of the process.</p><p>And you will learn a lot. Trust me.</p><h3>4 — Make mistakes</h3><p>OK, not on purpose. But making it at an early stage can help you in the future.</p><p>This one is not easy to explain, but when I look back I realize that I could have broken some things, tried different approaches or choose other paths.</p><p>If everything goes terribly bad (just to add some drama), that will at least help you to grow as a professional and as an individual.</p><h3>5 — Join some conferences</h3><p>And talk with people. Some are expensive, and maybe you can not afford it (just saying), but…<a href="https://measurecamp.org/">MeaseureCamp</a> is for free, and it’s a good one (hell yeah!). You can even approach Pete O’Neill and organize one in your city. Just immerse in the community and learn from the best. Present a topic and have fun.</p><p>And if you’re like me and have fear of public speaking, well, then your’re so screwed, man…Just kidding. Maybe in this case you just need to follow the cheap advice from the beggining: “get out of your consfort zone”, “face your fears” and all that crap. It probably works.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f3b9d052b3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 things you should know about Users in Google Analytics]]></title>
            <link>https://medium.com/@rogriogouveiafernandes/5-things-you-should-know-about-users-in-google-analytics-1e1b010f7d7b?source=rss-c2ad0c4eb35f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e1b010f7d7b</guid>
            <category><![CDATA[google-tag-manager]]></category>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Rogério Gouveia Fernandes]]></dc:creator>
            <pubDate>Thu, 02 Aug 2018 20:19:56 GMT</pubDate>
            <atom:updated>2018-08-02T20:19:56.070Z</atom:updated>
            <content:encoded><![CDATA[<p>Well, this is probably something that we should get straight before doing analysis. Honestly.</p><p>I used to think that I knew a lot back in the day, but I didn’t knew sh**. Or at least, not as much as I thought. And believe me, knowing the basics will certainly help you in the long run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/404/0*hRhVUgPhxkXbQEZu" /></figure><blockquote>OK…I have a Single Page Website. But why the hell is my Bounce Rate so high?</blockquote><p>If I say that the car engine is totally screwed and you keep asking why the car won’t work, you probably don’t know much about cars. Just saying.</p><ol><li><strong>Client ID</strong></li></ol><blockquote><em>Yes, ‘cookies’ rings a bell! And what?</em></blockquote><p>Perfect. Client-ID is cookie based, and something that identifies a device, more than a User. If you’re visiting a website in two different browsers, that would be counted as two Users. Get it?</p><p>You can check the Client-ID going to <strong>Audience &gt; User Explorer</strong> report in Google Analytics.</p><p>Maybe you’re interested in using this dimension in other reports. In this case is always a good idea to visit Simo Ahava blog, on how to <a href="https://www.simoahava.com/gtm-tips/use-customtask-access-tracker-values-google-tag-manager/">Use customTask To Access Tracker Values In Google Tag Manager</a>, a more technical approach, and for the absolute fans of GTM. Hooray!)</p><p>2.<strong> USER-ID</strong></p><blockquote><em>But I’m looking for humans, dude. Not freaking cookies!</em></blockquote><p>Then you came to the right place. Well, more or less. The “idea” of User-ID is exactly to track this guy.</p><p>And “this guy” has to login, right? Otherwise it will be difficult to associate the same ID across several devices. If I’m logged in with my android app to watch some TV show, but not in the web app (in the same service and for keep watching it), it will still count two users.</p><p>You better check <a href="https://www.optimizesmart.com/cross-device-tracking-with-user-id-in-google-tag-manager/">Cross device tracking with User-ID in Google Tag Manger</a>, on how to use it properly, and as a custom dimension in GA.</p><p>3.<strong> SESSION</strong></p><blockquote>This is counted every time a user is inactive for a period of 30 minutes. Easy peasy.</blockquote><p>Well, more or less. You can change this value. And maybe you should do it so, depending on your business.</p><p>If you have a bunch of videos in your website (with way more than one hour duration), perhaps you should consider changing the expiration time for something like two hours (instead of 30 minutes).</p><p>You can easily watch an entire video for two hours, and not send hits to GA in that period. For Google you’re not active anymore. And this period could be perceived as more than one session. Not cool!</p><p>A Session is just a collection of Hits from a User for a certain period of time, and that could be the whole day! (if without interruptions). And by the way, after midnight it’s always a new session! (Google rules)</p><p>Google itself gives a pretty decent explanation on <a href="https://support.google.com/analytics/answer/2731565?hl=en">how a session is defined in Analytics</a>. You should definitely check it.</p><p>4.<strong> NEW VISITOR / RETURNING VISITOR</strong></p><blockquote>Is this a joke? Off course I know the difference between them!</blockquote><p>Think again. Let’s say that I’m visiting a web page for the second time today, in the same browser. If you go to the <strong>Audience &gt; User Explorer</strong> report in GA you’ll be able to see one client-ID and two sessions (one before lunch and another one after lunch).</p><p>But notice that you’ll also have one New Visitor and one Returning Visitor. And how is that possible? Basically, we have one user that is at the same time New and Returning. And that would be me! Got it?</p><p>Please check<a href="https://www.optimizesmart.com/understanding-users-in-google-analytics/"> Google Analytics users (New, Returning, Unique) explained in great detail</a>. Optimize Smart did a great job here.</p><p>5. <strong>SCOPE</strong></p><blockquote>What?</blockquote><p>Well, this one is a bit tricky for the very beginners. If you’re already familiar with custom dimensions or custom metrics (or know how to implement it) you’re probably also familiar with this concept.</p><p>A User is, essentially, the highest level of data collected. You can also have a Hit, Session, or Product scope.</p><p>For the purpose of this article, it is important to know that Users are made up of one or more Sessions; Sessions of one or more Hits; and Hits can have more than one Product associated with them.</p><p>Lunametrics will give you a very nice approach on <a href="https://www.lunametrics.com/blog/2016/11/30/understanding-scope-google-analytics-reporting/">Understanding Scope in Google Analytics Reporting</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e1b010f7d7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web summit: este país não é para techies]]></title>
            <link>https://medium.com/@rogriogouveiafernandes/web-summit-este-pa%C3%ADs-n%C3%A3o-%C3%A9-para-techies-a5fa1fb1e6aa?source=rss-c2ad0c4eb35f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5fa1fb1e6aa</guid>
            <category><![CDATA[portugal]]></category>
            <category><![CDATA[websummit]]></category>
            <category><![CDATA[lisboa]]></category>
            <dc:creator><![CDATA[Rogério Gouveia Fernandes]]></dc:creator>
            <pubDate>Mon, 13 Nov 2017 10:24:58 GMT</pubDate>
            <atom:updated>2017-11-13T10:26:35.536Z</atom:updated>
            <content:encoded><![CDATA[<p>Sinto que os <em>haters</em> do <em>offline</em> aproveitam o mediatismo deste evento para opinar sobre o que não entendem e que lhes faz confusão. Para eles, os estrangeirismos são apenas formas que os parolos encontram para se fazer entender. Se tens uma <em>startup</em> baseada na tecnologia <em>blockchain</em> e modelo B2B, e queres fazer um <em>pitch</em> para alargar a tua n<em>etwork</em>, ou para receber um <em>investment</em>, algo vai mal. Não porque não faça sentido (de todo), mas porque acabas simplesmente de exceder a quota legal de <em>buzzwords</em>. E isso é inadmissível.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*wDmEyeR6MndUcrvjKxut9A.png" /></figure><p>Fala-vos um parolo. Daqueles que não odeiam a web summit, e que até vêm nela algo de positivo para o país. E que não vão para ali convencidos que estão na FATACIL, no <em>Rock in Rio</em>, ou à espera do lançamento do novo <em>iPhone</em>. Se percebes de informática na óptica do utilizador (e até fazes questão de colocar isso no CV), muito provavelmente este evento não é para ti. Como não seria para mim a <em>Comic-con</em>, o Congresso de Enfermagem de Oncologia, ou a Cimeira de Negócios da UECPLP. Mas pronto, vai lá quem quer (e quem está disposto a pagar bilhete, claro). Podes pagar 1500 paus para ver a Sara Sampaio e a nova <em>Famel</em>, ou, como eu, assistir a um <em>workshop</em> de <em>Machine Learning</em>, um debate sobre SEO, ou uma palestra sobre a tecnologia <em>blockchain</em>. Tu é que sabes.</p><p>Este ano fui lá como voluntário. E compreendo perfeitamente que esta palavra possa cair no goto dos defensores da classe operária e dos que abominam a ditadura do grande capital, mas acalmem-se lá um bocadinho e deixem-me acabar o raciocínio. Acho que até foi um bom negócio porque não paguei bilhete, porque não me matei a trabalhar, e porque ainda me deram almoço. Sim, ainda comi à borla.</p><p>Viajei da Madeira para Lisboa na <em>easyJet</em> e fiquei alojado numa pensão rasca do Bairro Alto, bem perto do “night summit”, um circuito que também se estendia ao cais do Sodré e à famosa Pink Street, onde a noite de copos é apelidada de “networking” por estes dias.</p><p>As conversas com cerveja tornam-se mais leves. Nas ruas trocam-se contactos e cartões, uma formalidade que mesmo o álcool não consegue quebrar. Acabei por falar com dois suíços perdidos de bêbados, co-fundadores de um projecto que se tornou uma coisa séria, e que agora vivem uma vida desafogada em Zurique. Falo-lhes de investimento. <em>Fuck the investors!,</em> atiram, enquanto passa um pequeno grupo de investidores devidamente identificados e com nomes que parecem russos. Sinto que é um assunto delicado e mudo a temática da conversa. Adoram Lisboa, detestam Berlim e conhecem pouco da Madeira. A conversa cruza várias latitudes. <em>Oh, and the portuguese girls…</em>Claro, as mulheres também acabam por ser motivo de conversa, quando todas as outras temáticas se esgotam.</p><p>Voltei para a Madeira com a sensação de dever cumprido e com uma leve ressaca, e rapidamente confrontado com uma avalanche de comentários negativos e raciocínios escaganifobéticos. A web summit tornou-se numa espécie de saco de pancada dos colunistas, que se sentem no direito de criticar o mediatismo, e ao mesmo tempo alimentá-lo. Que falam de <em>startups</em> como quem fala de <em>tuk-tuks</em>, com uma clara intenção de bota-abaixo, e sem uma ideia clara daquilo que representam.</p><p>A web summit deveria representar apenas que o país apoia a inovação e o empreendedorismo, movimentando até o Presidente da República em torno desta causa, e isso por si só já teria um impacto global positivo. Não será a solução para todos os males, longe disso, mas não fará certamente tanto dano como o que se apregoa. Mas claro, é mais fácil pintá-la de de vendedora de sonhos num mundo de fantasia. O Paddy Cosgrave é rapidamente diabolizado, tornando-se numa espécie de pastor da IURDE despenteado, e os empreendedores tornam-se adolescentes com borbulhas e óculos de fundo de garrafa, que fazem <em>apps</em> e “cenas fixes”, à espera de se tornar <em>overnight successes</em>. <em>Bullshit</em>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5fa1fb1e6aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>