<?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 Optimize matter on Medium]]></title>
        <description><![CDATA[Stories by Optimize matter on Medium]]></description>
        <link>https://medium.com/@Optimize-matter?source=rss-c86baf084fa3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DdnleLilOwDepRgl9Fby1g.png</url>
            <title>Stories by Optimize matter on Medium</title>
            <link>https://medium.com/@Optimize-matter?source=rss-c86baf084fa3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 00:21:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Optimize-matter/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[Customer journey personalization based on emotions]]></title>
            <link>https://medium.com/optimize-matter/customer-journey-personalization-based-on-emotions-82d61f0b6ab5?source=rss-c86baf084fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/82d61f0b6ab5</guid>
            <category><![CDATA[cro]]></category>
            <category><![CDATA[ab-testing]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[digital]]></category>
            <category><![CDATA[personalization]]></category>
            <dc:creator><![CDATA[Optimize matter]]></dc:creator>
            <pubDate>Mon, 26 Aug 2024 09:29:23 GMT</pubDate>
            <atom:updated>2024-08-26T09:29:23.557Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oeqoYJQEuRXnI1jrPIb2pQ.png" /><figcaption>Image is from AB tasty</figcaption></figure><p>In digital marketing, personalisation has become a key element in effectively reaching and engaging consumers.</p><p>Personalisation involves offering tailored experiences to users by exploiting their data, preferences, behaviors and digital interactions. This approach increases user engagement and boosts conversion rates. By using this method, brands can create unique messages and campaigns that turn occasional visitors into loyal customers.</p><p>Find out more in this article:</p><ul><li>Introducing EmotionsAI by AB Tasty</li><li>How EmotionsAI works</li><li>The potential impact of EmotionsAI technology</li><li>Conclusion</li></ul><h3>Presentation of EmotionsAI by AB Tasty</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/0*LZ5BEkWBYYZEeij9" /></figure><p>EmotionsAI, created by AB Tasty, represents a transformative approach to digital marketing. In this approach, understanding and responding to users’ emotions is key to creating personalized and compelling online experiences. EmotionsAI systematically analyzes behavioral data — such as mouse movements, clicks and scrolling, browser type, device brand, installed plugins, etc. — to discern users’ emotional states. — to discern the emotional states of users during their interactions on the site. In a world where 80% of human decisions are guided by emotions, EmotionsAI can help you increase the sales of your campaigns by 5 to 10% with roadmaps based on empathy.</p><h3>How does EmotionsAI work?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zmI5KW5IaUYQquLq" /></figure><p>Data collection begins with the acquisition of behavioral data that provides insights into the user’s emotional landscape. It uses a sophisticated AI algorithm to detect and segment users within 30 seconds of interacting with the site. AB Tasty has identified ten key emotional states that significantly impact users’ purchase decisions and overall engagement. The ten emotional states are divided into two categories: pragmatic and hedonic.</p><p><strong>Pragmatic (rational):</strong></p><ul><li><strong>Immediacy</strong>: users in this state favor speed and immediate results when interacting online. Example of a predictive model: main click zone at the top left of the screen (1st CTA clicked).</li><li><strong>Awareness</strong>: the user’s need for recognition and status. It detects how users are influenced in their decisions by the perceived prestige of a product or service. Example of a predictive model: alternating small movements and pauses.</li><li><strong>Comprehension</strong>: this refers to the user’s need for clear, comprehensible information. It emphasizes the importance of direct communication and easy-to-understand content that helps users to make informed decisions. Example of a predictive model: a long pause before each click.</li><li><strong>Change</strong>: this emotion is associated with the user’s openness to new products or services that offer a different approach or improved features compared to traditional offerings. Example of a predictive model: wide variety of plugins and languages installed on the browser.</li><li><strong>Quality</strong>: this state focuses on user demand for high standards and excellence in products and services. Social users of quality look for superior performance, reliability and know-how in their purchases. Example of a predictive model: small, slow mouse movements.</li></ul><p><strong>Hedonic (emotional):</strong></p><ul><li><strong>Competition</strong>: this emotion stems from the user’s desire to outdo others or get a better deal. It involves a comparative state of mind in which users seek to obtain advantages, whether through the lowest price, better conditions or exclusive offers. Example of a predictive model: alternating slow and fast mouse movements</li><li><strong>Attention</strong>: this state is linked to the way in which users feel cared for or valued by a brand. It influences levels of engagement depending on the personalisation and relevance of the interactions and content provided by the site. Example of a predictive model: rapid movements with a lot of content viewed but a low click-through rate.</li><li><strong>Security</strong>: this emotional state corresponds to the user’s need for security and assurance. It encompasses both the physical security of products and the security of personal information in online environments. Example of a predictive model: mouse movement from left to right at low scrolling speed</li><li><strong>Comfort</strong>: this emotional state reflects the user’s desire for ease and convenience. Users in this state prefer a hassle-free experience that minimizes effort and maximizes comfort. Example of a predictive model: slow movements across the screen, with many clicks.</li><li><strong>Community</strong>: this state implies the user’s tendency to belong to a group or community. It emphasizes the importance of social ties and belonging to a group that shares similar interests or values. Example of a predictive model: they use far fewer Apple devices than other users</li></ul><p>Each visitor is unique and therefore stimulated by different experiences. This classification helps to understand the predominant emotional needs of users, such as the need for reassurance, excitement or clarity. This enables marketers to understand why certain content works or doesn’t work and to implement more targeted and effective modifications. Emotional segments make it possible to identify the stages of the online journey that do not sufficiently meet the emotional needs of the audience and generate a shortfall in revenue.</p><h3>Potential impact of EmotionsAI technology</h3><p>EmotionsAI could be integrated into various forms of digital marketing in the future. As a complement to this analysis of the user’s emotional need, it is conceivable that EmotionsAI could be used to adjust product recommendations and the way in which they are presented. For example, a user belonging to the “fame” category would like to see a product worn by a model. This would enable him to know what type of appearance it would give him and thus assess the prestige of the product. However, users looking for immediacy will want to see the product simply to make their decision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*RueyohPmgG_OAlAB" /></figure><p>Here are a few examples of how EmotionsAI by AB Tasty can be used:</p><ul><li><strong>Need for competition</strong>: you can create a banner on customer satisfaction or add a comparison banner to help the visitor compare the product with your competitors.</li><li><strong>Need for understanding</strong>: you can help the customer to better understand a product by creating more content on your product pages or by displaying hidden content (which generally requires a click).</li><li><strong>Need for immediacy</strong>: placing a button at the bottom of the page can help visitors make a decision by constantly showing them the main action to take.</li><li><strong>Need for security</strong>: a stronger presence of reassurance icons can help improve the conversion rate.</li></ul><h3>Conclusion</h3><p>EmotionsAI is revolutionizing digital marketing by using cutting-edge technology that adapts in real time to users’ emotional states. This fosters a more empathetic and responsive interaction that not only meets but anticipates users’ needs. Each account that uses EmotionsAI benefits from the enrichment of the algorithm by other EmotionsAI customers.</p><p>Over time, it has become increasingly integrated into the various aspects of digital marketing and customer service, predicting user needs and reacting to them with even greater precision.</p><p><a href="https://www.optimize-matter.com/">Optimize matter</a> is a partner of AB Tasty and can help you get to grips with this tool. Click <a href="https://www.optimize-matter.com/partenaires/optimize-matter-ab-tasty-partenaire-certifie">here</a> to find out more about this collaboration and AB Tasty’s services.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82d61f0b6ab5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/optimize-matter/customer-journey-personalization-based-on-emotions-82d61f0b6ab5">Customer journey personalization based on emotions</a> was originally published in <a href="https://medium.com/optimize-matter">Optimize matter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web performance, ‘a crucial challenge for CMPs in 2024’]]></title>
            <link>https://medium.com/@Optimize-matter/web-performance-a-crucial-challenge-for-cmps-in-2024-3be1f044a800?source=rss-c86baf084fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3be1f044a800</guid>
            <category><![CDATA[consent-management]]></category>
            <category><![CDATA[core-web-vitals]]></category>
            <category><![CDATA[data-marketing]]></category>
            <category><![CDATA[axeptio]]></category>
            <category><![CDATA[web-performance]]></category>
            <dc:creator><![CDATA[Optimize matter]]></dc:creator>
            <pubDate>Tue, 11 Jun 2024 12:52:06 GMT</pubDate>
            <atom:updated>2024-06-11T12:52:06.157Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICc8ORbIruhOVyMn7o0fDQ.png" /></figure><p>For this article on web performance, we met Sébastien Houzé, CTO of Axeptio. Axeptio is a CMP SaaS solution that enables brands and publishers to offer their website’s visitors the best consent option experience via its fun and informative cookie banners. Axeptio offers an experience that facilitates the different types of opt-in consent, providing real choices to internet users in compliance with European and international laws and regulations.</p><p>Optimize Matter is a certified Axeptio partner and expert, true to its commitment to offering customers the best platforms on the market.</p><p><strong>Optimize Matter: Is webperf a major issue for CMPs in 2024?</strong></p><p>Sébastien Houzé: Web performance has absolutely become a crucial issue for CMPs in 2024. To put it into context, we mustn’t forget that, over and above the legal compliance issues for website publishers, the CMP sets the tone for first impressions because users interact with it in the very beginning.</p><p>Users demand fast, fluid online experiences. Latency can have a negative impact on a user’s perception of a website, impacting the customer journey and therefore the buying experience of visitors to a site (particularly an e-commerce site). This latency is responsible for poor results in terms of acquiring new leads and customers. The strength of Axeptio’s CMP, compared to other solutions on the market, is precisely that it does not increase the loading time of our customers’ websites.</p><p>We also differentiate quite well between the needs of our customers by offering two distinct CMPs. The first CMP, known as ‘for Brands’, is designed for our customers who essentially need compliance, analytical monitoring, and conversion for their acquisition campaigns. For our content publisher customers, we have a second CMP, known as ‘for Publishers’, that addresses monetisation issues. In addition, with the increasing focus of search engines on Core Web Vitals, good web performance is essential not only for user experience but also for SEO. At Axeptio, we are convinced that the performance of our consent management platform must be exemplary so as not to become a slowing factor for our customers.</p><p><strong>Optimize matter: How have you integrated webperf in 2024?</strong></p><p>Sébastien Houzé: In 2024, we adopted a holistic approach to integrate web performance into all aspects of our product development. We worked closely with the Google teams to optimise our CMP according to the latest recommendations and indicators, in particular the INP (Interaction to Next Paint). We have also put in place regular performance audits, automated testing and ongoing optimisation to ensure that our platform remains high-performing and responsive.</p><p><strong>Optimize matter: What measurement systems do you use?</strong></p><p>Sébastien Houzé: We use a combination of measurement systems to assess the performance of our platform. The main tools include Google Lighthouse and PageSpeed Insights. These allow us to monitor key metrics, including Core Web Vitals (LCP, FID, CLS) as well as the new INP indicator. At scale, Google also produces reports via Looker Studio to compare these indicators between the main CMP players on the market, both on Desktop and Mobile. This multi-tool approach gives us a comprehensive and detailed view of our CMP’s performance.</p><p><strong>Optimize matter: What are the major optimisations?</strong></p><p>Sébastien Houzé: Among the major optimisations, we have focused on reducing the weight of our CMP script (from 214Kib to 93Kib for our CMP for Brands, 83Kib for our CMP for publishers, which puts us at the top of market solutions). We are also working on optimising the management of external resources, and improving server response times (distribution via a Content Delivery Network or CDN guaranteeing the lowest possible latency rates for retrieving our SDK from anywhere in the world). We have also worked on optimising user interactions by reducing the time taken for the first significant interaction, which is directly linked to the INP indicator. These optimisations have made our solution lighter and faster, offering a better user experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L-r3LGqUSxUwx3Zc" /><figcaption><em>Figure: evolution of the INP indicator, the result of collaboration between Axeptio and Google’s Core Web Vitals team.</em></figcaption></figure><p><strong>Optimize matter: Are you currently working on new optimisations?</strong></p><p>Sébastien Houzé: Yes, we’re constantly looking for new optimisations. We are currently exploring advanced techniques linked to the initialisation stages of our CMP to further improve loading times. We’re also taking a close look at technologies that are gradually being adopted by new versions of web browsers, such as Speculative Loading, for example.</p><p><strong>Optimize matter: Do you have any beta testers?</strong></p><p>Sébastien Houzé: Yes, we have a beta testing program with some of our most innovative customers. These customers help us test our new features and optimisations before they are rolled out across the board. Their feedback is invaluable in ensuring that our enhancements really do meet the needs of the market and deliver significant added value to our users. In fact, we have customers in common and we’d be delighted to count them towards our beta testers.</p><p><strong>Optimize matter: Which partners do you work with?</strong></p><p>Sébastien Houzé: We work with a number of strategic partners to continually improve our CMP. In addition to our partnership with Google, our clients include many SEO agencies and performance experts. We also work with an ecosystem of experts listed on our website. These collaborations enable us to stay at the cutting edge of best practice and the latest innovations in web performance.</p><p>Find out more about :</p><ul><li><a href="https://www.optimize-matter.com/partenaires/optimize-matter-et-axeptio-partenaires">The Optimize matter x Axeptio partnership</a></li><li><a href="https://lookerstudio.google.com/s/g79C3bz1dqE">The evolution of the Axeptio INP indicator via Looker Studio Google CMP report</a></li><li><a href="https://www.axept.io/fr/blog/dronexperts?utm_source=optimizematter&amp;utm_medium=referral&amp;utm_campaign=cmp-partner">A case study on the Axeptio blog: Drone eXperts testimonial</a></li><li><a href="https://support.axeptio.eu/hc/fr/articles/4523062608785-SDK-slim">SDK variants explained on Axeptio support</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3be1f044a800" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[dbt or how to exploit the value of your data to its full potential ]]></title>
            <link>https://medium.com/@Optimize-matter/dbt-or-how-to-exploit-the-value-of-your-data-to-its-full-potential-772a3138e3a1?source=rss-c86baf084fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/772a3138e3a1</guid>
            <category><![CDATA[cloud-data]]></category>
            <category><![CDATA[dbt-skill]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[dbt]]></category>
            <category><![CDATA[dbt-cloud]]></category>
            <dc:creator><![CDATA[Optimize matter]]></dc:creator>
            <pubDate>Thu, 01 Feb 2024 09:31:52 GMT</pubDate>
            <atom:updated>2024-02-01T09:31:52.056Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OtJly2XA9TXvjbFu" /></figure><p>If you’ve been following the Data Cloud ecosystem over the last few years, you’re bound to have heard of dbt (an acronym for Data Build Tool). dbt is an open source tool (there’s also a Cloud version) for data transformation that enables data engineers/analysts to quickly and collaboratively transform their company’s raw data into useful, business-ready information.</p><p>Why has this tool become so important?</p><p>Over the years, companies have started to collect more and more data from multiple sources and in a variety of formats (Google Analytics, Facebook Ads, Hubspot etc.).</p><p>As this data can be obsolete, false, erroneous or duplicated during the extraction process, data teams need to clean it up and transform it regularly to make it usable for business and decision-making teams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9zxe1aeT5gWM6sNv" /></figure><p>That’s the whole point of dbt: it’s an open source tool that enables data teams to transform their data quickly and efficiently. It uses SQL statements — and recently Python scripts — to create tables and views, making data easier to understand and manipulate.</p><p>‍You can find out more about the benefits of using dbt below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WOak3x82pHMclFhWUguYFg.png" /></figure><p><strong>Installation &amp; Setup</strong></p><p>There are 2 versions of dbt: dbt Core and dbt Cloud</p><p><strong>dbt Core</strong></p><ul><li>Free and open source</li><li>Based on a local development model</li><li>Requires manual installation and configuration</li><li>Offers a broad but limited feature set</li></ul><p>dbt Core is an ideal tool for data teams who want to start using dbt without making a financial investment. It offers a sufficient feature set for most use cases.</p><p><strong>dbt Cloud</strong></p><ul><li>Paid</li><li>Based on a cloud development model</li><li>Integration with an IDE and scheduler</li><li>Offers a more comprehensive feature set</li></ul><p>dbt Cloud is a more comprehensive tool that offers additional features, such as integration with an IDE and scheduler. It’s ideal for data teams who want a more complete and automated experience, although dbt Core ticks most of the boxes.</p><p>So the choice between dbt Core and dbt Cloud depends on your needs and constraints.</p><p><strong>Learning resources</strong></p><p>Curious to find out more about dbt? You can find links to dbt documentation below. If you’d like this information in a more visual way, we’ve prepared a one-sheeter for you to see below!</p><p><a href="https://docs.getdbt.com/guides/manual-install?step=1">Getting started with dbt Core</a></p><p><a href="https://docs.getdbt.com/reference/configs-and-properties">Understanding how to configure a dbt project</a></p><p><a href="https://docs.getdbt.com/docs/build/projects">How is my dbt project structured?</a></p><p><a href="https://docs.getdbt.com/reference/model-configs">How do I configure my dbt models?</a></p><p><a href="https://docs.getdbt.com/best-practices/materializations/2-available-materializations">Different types of materialization</a></p><p>One sheeter :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S3ae2GKOw9A-98rC" /></figure><p>‍<strong>Use cases</strong></p><p><strong>Making raw data intelligible — How to sessionise GA4 export data?</strong></p><p><strong>Initial situation</strong></p><p>BigQuery export to GA4 allows you to have the raw data and own it.</p><p><strong>Painpoint</strong></p><p>The GA4 export is special because each line represents an event. You therefore need to sessionnise them (group them together in a session) to find out your acquisition performance.</p><p><strong>Resolution</strong></p><p>dbt allows SQL query orchestration to create this sessionnisation. In addition, we can clean up the data (remove URL parameters, remove payment domains, etc.).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_eE8wTQ3jmL4nobV" /></figure><p><strong>Eliminating data silos — How do you mix CRM data with GA4 data?</strong></p><p><strong>Initial situation</strong></p><p>Data blending used to be done in Looker Studio or another BI tool.</p><p><strong>Painpoint</strong></p><p>Paying for a solution to extract data</p><p>Loading and mixing data was taking up a lot of time in the tool</p><p><strong>Resolution</strong></p><p>Extract the data using Airbyte, an open source solution that is still growing.</p><p>Group CRM and Media data in BigQuery and link them together in optimised tables so that they can be queried in Looker Studio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I30GV8y-jep7tOka" /></figure><p><strong>Conclusion</strong></p><p>We have seen in this article what dbt is used for and what some of its use cases are. Despite its ease of use, dbt is not the only solution for orchestrating and transforming data into SQL!</p><p>Dataform is also a robust solution based on the Google Cloud Platform that allows you to do just that, despite having a more limited range of functions than dbt (you can’t use Python scripts, for example).</p><p>If you like, we can do a detailed comparison in another article covering the differences between dbt and Dataform ;)</p><p><em>Originally published at </em><a href="https://www.optimize-matter.com/"><em>https://www.optimize-matter.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=772a3138e3a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Markets Act: should we worry?]]></title>
            <link>https://medium.com/@Optimize-matter/digital-markets-act-should-we-worry-a0afa5636e23?source=rss-c86baf084fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0afa5636e23</guid>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[google-analytics-4]]></category>
            <category><![CDATA[gatekeepers]]></category>
            <category><![CDATA[digital-market-act]]></category>
            <category><![CDATA[dmas]]></category>
            <dc:creator><![CDATA[Optimize matter]]></dc:creator>
            <pubDate>Thu, 18 Jan 2024 11:01:32 GMT</pubDate>
            <atom:updated>2024-01-18T11:01:32.782Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tGVF5Ds4TQhxxZN-" /></figure><p>It’s a new regulation that could disrupt the market. The DMA, or Digital Markets Act, comes into effect on 6 March 2024. Its aim is to regulate companies defined as “gatekeepers”. Together, we’re going to take a detailed look at what the DMA is, what its consequences are for access controllers and for all the players involved, and finally, Optimize matter will explain how to prepare for it. We’re off!</p><p>In this article:</p><p>1. DMA: what is it?</p><ul><li>A response to an unfair environment</li><li>A new regulation</li><li>The main principles of this new regulation</li></ul><p>2. Impact on Google’s analytics platform: GA4</p><p>3. How to prepare?</p><ul><li>Migrate to GA4</li><li>Set up Consent Mode</li></ul><p>4. To sum up: what you need to remember</p><p><strong>1. What is the DMA?</strong></p><p><strong>A response to an unfair context</strong></p><p>The use of personal data for remarketing purposes is now an essential part of the commercial strategy of online brands. The question of the collection and ownership of this data highlights a certain monopoly of the GAFAMs, synonymous with imbalance in the market.</p><p>Indeed, the phenomenal size of the players in this monopoly, and their powerful solutions deployed and combined together, are creating a network effect. On the one hand, this constitutes a barrier to entry for potential new players, but on the other, it also creates an ecosystem in which Internet user-consumers are locked into services.</p><p>According to the European Commission, less than 10% of online platforms capture most of the value of the European digital market. These platforms, representing the largest ones, are described as “systemic”. The GAFAMs alone account for a turnover comparable to France’s tax revenue (source, vie-publique.fr).</p><p><strong>New regulations</strong></p><p>The DMA or Digital Markets Act is a new regulation that will be introduced on 6 March 2024 with the aim of regulating companies defined as “gatekeepers”. These companies are in fact major players in the digital sector. They are designated on 6 September 2023 by the European Commission in the first publication of a list of six gatekeepers including:</p><ul><li>American GAFAMs: Alphabet (Google), Amazon, Apple, Meta (Facebook) and Microsoft;</li><li>The Chinese group ByteDance, owner of TikTok.</li></ul><p>At the same time, 22 products owned by these access controllers have been defined as subject to the DMA: TikTok, Facebook, Instagram, LinkedIn, Whatsapp, Messenger, Google Maps, Play, Shopping and Search, Amazon and Meta Marketplace, App Store, Youtube, Chrome, Safari, Google Android, iOS, Windows PC OS, etc.</p><p><strong>The main principles of the new regulations</strong></p><p>The DMA regulations will be imposed on access controllers, and these are based on several principles:</p><ul><li>In addition to specific conditions, access controllers may not combine or cross-reference the personal information they hold via their various services &amp; platforms, or via third-party services.</li><li>Access controllers must guarantee the possibility for their users to interact directly with their end users.</li><li>Access controllers may not prevent their users from offering the same services to their end-users via other third-party services at prices or conditions different from those of the access controller.</li><li>Access controllers may not, in any way whatsoever, behave in such a way as to favour their own products to the detriment of others. For example, under the DMA, it will be formally forbidden to pre-install solutions specific to access controllers on devices.</li><li>Similarly, access controllers may not force their users to use their own ancillary services.</li><li>The access controller is prohibited from preventing, in any way whatsoever, any of its users from expressing themselves freely to any competent authority concerning any of the access controller’s practices.</li></ul><p><strong>2. Impact on Google’s analytics platform: GA4</strong></p><p>The DMA will force several companies, including Google, to modify the operation of their various products and services.</p><p>Not only is Google ensuring that it is prepared to comply with the regulations that will soon be in force, but the company is also working to help its users better understand the potential changes to its technologies as a result. In one of its articles, Google explains the imminence and importance for its users of migrating their Universal Analytics properties to Google Analytics 4. This will enable them to retain real-time analysis of events occurring on one of their sites.</p><p>The DMA represents a major change for all Google solutions and products, particularly with regard to the notion of consent.</p><p>Under this new regulation, the transmission of explicit consent to Google servers will be expressly required for the cross-referencing of data between its various solutions for the purposes of advertising targeting. For example, audience sharing from Google Analytics 4 to Google’s media platforms (Google Ads and the GMP suite) will be affected.</p><p>… especially for first-party data!</p><p><em>As a reminder, first-party data is data that is specific to your company, which collects it with user consent via various marketing interactions on the web or on applications. In contrast, third-party data can be used by different companies.</em></p><p>With the DMA, any audience generated for advertising targeting purposes based on first party data is also unusable without the updated version of Consent Mode (for websites) or Google APIs and SDKs (for applications).</p><p><strong>3. How to prepare</strong></p><p>The DMA applies to all advertisers within the European Economic Area (EEA), Norway, Iceland and Liechtenstein, or with users in these regions. If you find yourself in this description, follow our recommendations, which we detail below.</p><p><strong>Migrate to GA4</strong></p><p>If you are still using Universal Analytics 360, the Optimize matter teams suggest that you quickly migrate your properties to Google Analytics 4. This will enable you to maintain remarketing, audience and conversion reporting and bidding optimisation.</p><p>Read our article <a href="https://www.optimize-matter.com/blog/migration-vers-google-analytics-4-les-etapes-cles-avant-la-fin-duniversal-analytics">here</a> for more information on how to do this.</p><p><strong>Set up Consent Mode</strong>‍</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z3YZGMyPC4n0Sg43" /></figure><p>You may be familiar with Google’s Consent Mode: this allows users’ consent choices to be communicated to Google’s tags/SDKs in order to adjust their behaviour accordingly. In the event of non-consent, it still allows certain information linked to user behaviour to be collected legally.</p><p>In this case, Consent Mode communicates the consent status for the various parameters.</p><ul><li>When consent is given for all these parameters, the tags/SDKs will be triggered and Google will collect the user data as normal.</li><li>If consent is not given for one or more parameters, the tags/SDKs concerned will adjust their behaviour. They will act differently depending on the version of Consent Mode installed (basic or advanced).</li></ul><p><strong>Basic or Advanced: which Consent Mode version should I use?</strong></p><p>The choice of Consent Mode version, Basic or Advanced, depends on your expectations in terms of data tracking. You should know that :</p><ul><li>Basic Consent Mode unlocks tags/SDKs only when consent is given. So if consent is refused or the cookies banner is ignored, no tags will be triggered and no data will be shared with Google.</li><li>Advanced Consent Mode works slightly differently. When the user’s cookies are ignored or refused on the cookies banner, pings are sent to Google’s servers without depositing or reading cookies on the user’s browser. These pings enable certain data to be sent, such as the IP address, timestamp, URL of the page, type of tag involved, etc. They will be used to deduce user behaviour despite the user’s non-consent to the sharing of their data, in complete legality. Thanks to this option, on average 64% of lost conversion clicks are modelled and can therefore be exploited.</li></ul><p>Reminder: 3 factors are necessary to ensure successful implementation of Consent Mode</p><ul><li>Having a presence in the EU, or having users present in the EU</li><li>Have a consent banner that respects users’ choices</li><li>Use Google tagging solutions (GTM or Google Analytics for Firebase SDK)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*i5JbEizRwgIFqRVA" /></figure><p><strong>A new version of Consent Mode will soon be available!</strong></p><p>A V2 version of Consent Mode will soon be available, imposing two new parameters on website publishers.</p><p>The current Consent Mode will soon be modified to comply with the DMA. This shouldn’t be a problem for you if you use a Consent Management Platform listed as a Google Partner.</p><p>Soon, in addition to the “analytics_storage” and “ad_storage” parameters corresponding respectively to the right to set cookies to collect an app ID or recognise a user and the right to set a cookie for advertising purposes, two other parameters will soon be added:</p><ul><li>ad_user_data: this parameter gives users the right to have user data sent to Google for advertising purposes</li><li>ad_personalization: this parameter gives users the right to activate remarketing.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qm2AGXEc939poHOZ" /></figure><p><strong>4. To sum up: the key points</strong></p><p>The goal of the DMA is to rebalance the strengths of market players and in particular to limit the strength of GAFAM.</p><p>GAFAMs are included with their services. The impact of the DMA on Google’s analytics platform is therefore inevitable.</p><p>To prepare for this, advertisers in the European Economic Area (EEA), Norway, Iceland and Liechtenstein need to put certain measures in place. External advertisers with users in these regions are also affected. In particular, users of Google solutions must update their analytics tool to the latest version available (Google Analytics 4) and configure the latest version of Consent Mode for their site. The set-up of this new version of Consent Mode will be explained in a forthcoming Optimize matter article!</p><p><em>Originally published at </em><a href="https://www.optimize-matter.com/"><em>https://www.optimize-matter.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0afa5636e23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use case : Consent Mode and Server side Tagging]]></title>
            <link>https://medium.com/@Optimize-matter/use-case-consent-mode-and-server-side-tagging-1d93200dc6fc?source=rss-c86baf084fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d93200dc6fc</guid>
            <category><![CDATA[consent-mode]]></category>
            <category><![CDATA[server-side]]></category>
            <category><![CDATA[server-side-tagging]]></category>
            <category><![CDATA[ga4]]></category>
            <category><![CDATA[google-analytics]]></category>
            <dc:creator><![CDATA[Optimize matter]]></dc:creator>
            <pubDate>Thu, 11 Jan 2024 11:01:33 GMT</pubDate>
            <atom:updated>2024-01-11T11:36:22.180Z</atom:updated>
            <content:encoded><![CDATA[<h3>Use case : Consent Mode and Server side Tagging</h3><figure><img alt="Consent Mode and Server Side Tagging" src="https://cdn-images-1.medium.com/max/1024/0*ZT2TV3hwbZggc80x" /></figure><p><strong>Introduction</strong></p><p>At the beginning of November, we had the opportunity to share with our colleagues — at Google’s GA4 Champ Meet up — a comparison between two philosophies for enriching conversion data: modeling and advanced collection.</p><p>These are two different philosophies, notably in terms of their temporality. The former acts upstream of data use, enabling it to be applied for marketing purposes, while the latter acts downstream for auditing and tracking purposes.</p><p>We want to make the results we have found accessible to the whole community. They are fundamental, especially in the context of the current law.</p><p>In this article, you will find :</p><ul><li>Context</li><li>Consent Mode and Technical Tracking</li><li>Consent Mode versus Tracking Technique</li><li>Conclusion</li></ul><p><strong>Context</strong></p><p>In 2015, one of the most asked questions in web analytics was: why is my data different in my back office and my Google Analytics?</p><p>A legitimate question, especially in an ecosystem that is intrinsically measurable and whose data exhaustiveness is available. In this context, the answer varied according to school of thought.</p><p><strong>Consent Mode and Technical Tracking</strong></p><p>Consent Mode is Google’s tool for modeling non-consensual data, for use with the Google Analytics 4 and Google Ads platforms. Its advanced operation, according to the documentation, can be summarized as follows:</p><ul><li>Users who have consented to have their data collected in Google Analytics logically send their browsing data to Google Analytics.</li><li>Users who have not consented send the information to a different server, without a persistent identifier. These events are fed into a modeling engine that estimates the proportion of traffic that has not consented.</li></ul><p>Its basic operation doesn’t even send anonymized data. The modeling engine will therefore have to determine an unaided volume.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w_g9tk8XH4lcakGt" /></figure><p>For its part, technical conversion tracking has a clear objective: to obtain a database of conversions iso with the Back Office by adding strategic consent information. This, in your cloud, alongside your Google Analytics 4 database. Today, it’s a standard feature in our implementations, thanks to its power as a catalyst for numerous data use cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5_sLkbGSwlp-8d8-IcXPiw.png" /></figure><p>Here are a few examples of KPIs to help you better understand your usage:</p><ul><li>Better understand buyers by consent category (Average Shopping Cart, Recurrence Frequency Monetization, Average Order Frequency, Return Over Advertising Spends)</li><li>Understand and anticipate the bias of behavioral and audience analysis tools thanks to consent/non-consent transaction information.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mczL_CAW203hcp5ZYueaYA.png" /></figure><ul><li>Define areas for improvement in your data layer on the main conversion channel</li><li>Set up an alerting system based on capture levels or by the nearest transaction</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ih14rL4SRS4-ZJakk8hwzg.png" /></figure><ul><li>Identify pockets of growth with a Conversion Rate per consent</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_wMG-g0J87pLqulvly0_fQ.png" /></figure><p>As you can see, the use cases are numerous and applicable to many fields, such as data analysis, data collection or data quality:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f9jsUD-sdQtztV7vOvYYjg.png" /></figure><p><strong>Consent Mode versus Tracking Technique</strong></p><p>Today, consent mode acts upstream of the marketing use of data, and occupies an increasingly dominant position. As a result, web marketing tools are increasingly dependent on it.</p><p>It is therefore imperative to set up a modeling quality control system.‍</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wVRiS-x9kL8y5tjH7Uirbw.png" /></figure><p>To measure the quality of modeling operated by Google, we use server side tagging and its distinctive Key Performance Indicators.</p><p>Comparing modeled and non-consented transaction volumes, we note that the consent mode applies a conservative adjustment, without inventing transactions. This enables it to compensate for the capture of imperfect data, in addition to non-consensual transactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FHSRQ7_ghCEX-coT307hBA.png" /></figure><p>By combining high capture and high modeling, Google Analytics is able to use up to 98.4% of the consented and non-consented transactions made during the day. On average, modeling catches up with 65% of missing transactions, which since 2018 has been a revolution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-0djHE98DCoADPFlyyKhbQ.png" /></figure><p>Following the introduction of consent for tracking online user behavior, 20% of transactions were lost. The use of consent mode brings this figure down to 10%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yday89H5JL2oWz_FM-hn1g.png" /></figure><p>‍In our use case, we found that Consent Mode applies a conservative adjustment, at most 98.42% of reality and on average 89.95% of transactions, which represents + 10 p.p. on transaction capture.</p><p><strong>Conclusion</strong></p><p>Statistically, consent mode and its modeling are able to reliably compensate for 50% of the volume of conversions missing since 2018. The direction of history, according to major industry platforms, is modeling combined with augmented tracking and augmented matching. These add more data and more precision, as we explained in this article.</p><p><em>Originally published at </em><a href="https://www.optimize-matter.com/"><em>https://www.optimize-matter.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d93200dc6fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Custom query, the solution for your Looker Studio dashboards]]></title>
            <link>https://medium.com/@Optimize-matter/custom-query-the-solution-for-your-looker-studio-dashboards-a4d43613ff94?source=rss-c86baf084fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4d43613ff94</guid>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[custom-queries]]></category>
            <category><![CDATA[bigquery]]></category>
            <category><![CDATA[data-marketing]]></category>
            <dc:creator><![CDATA[Optimize matter]]></dc:creator>
            <pubDate>Thu, 04 Jan 2024 09:18:24 GMT</pubDate>
            <atom:updated>2024-01-11T08:50:19.600Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Custom query, the solution for your Looker Studio dashboards" src="https://cdn-images-1.medium.com/max/932/0*F8jn6Rm__kb_rPg_" /></figure><p><strong>Introduction</strong></p><p>The more time goes by, the more your databases will fill up, it’s inevitable. We previously explained why you should export your Google Analytics 4 data to BigQuery. Today, we’re going to talk about the importance of custom queries for importing your BigQuery data into your Looker Studio dashboards.</p><p>Bear in mind that standard connections between BigQuery and Looker Studio are convenient but cumbersome. They don’t let you choose what data you retrieve, so you lose a lot of loading time. It’s typically to avoid this that custom queries are useful.</p><p>In this article, you will find:</p><ol><li>Custom queries, the solution!</li></ol><ul><li>Query flexibility</li><li>Total control over your data structure</li><li>Optimized dashboards</li><li>Lower costs</li></ul><p>2. Custom queries not always used</p><ul><li>Query complexity</li><li>Impact on performance</li><li>Data security</li></ul><p>Conclusion</p><p><strong>Custom Query, the solution!</strong></p><p>At Optimize Matter, we’ve been using custom queries for a long time now. Today we’re going to tell you how, and more importantly, why! First of all, it’s important to understand that to use them, you need to have one (or more) tables on BigQuery. Once this condition has been met, you can turn your attention to the reasons making custom queries necessary. ‍</p><p><strong>Query flexibility</strong></p><p>One of the many advantages of custom queries is their flexibility. Using custom queries will enable you to do several things:</p><ol><li>Meet a more specific need</li></ol><p>Are your figures skewed by too many dimensions in your data source? Thanks to custom queries, you can retrieve only the information you need. By making your data talk correctly, you’ll find consistent figures.</p><p>2. Customize dimensions and metrics</p><p>Performing your calculations from your custom query will save time loading your dashboard. This is because the calculation will take place when the data is called up, rather than when the dashboard loads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9ss-gJIa5BTK2rOX" /></figure><p>If, for example, you want to transform your “country” dimension directly into your dashboard, this is a bad idea. In fact, it may slow down its display. Get into the habit of doing this when you call up your data, since calling up data has less impact on display time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/0*S4SMBcbZDjXupoyw" /></figure><p>3. Modify your connections quickly and easily</p><p>Modifying your connection isn’t complicated, just go to the resources tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/0*_Sq_5FAu2KhASzGV" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/0*EYwJYBHyLZlb6HKZ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/0*jlVru0N84Nzz5WmM" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MEg57yUritHXvTqf" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BtzIqDIq6NtY9_Vx" /></figure><p><strong>Total control over your data structure</strong></p><p>The organization and precise manipulation of your data are crucial to the reliability of your reports and future analyses. Custom queries open up a wide range of possibilities for exercising meticulous control over the structure of the data you use in your Looker Studio dashboards. Through the various features of SQL and BigQuery, you can fine-tune your data as closely as possible to your analytical needs.</p><p>Performing joins between different data tables is an essential function for building complete and relevant data sets for your analyses. By correctly associating data from different tables using customized queries, you can:</p><ul><li>Consolidate data: Joins enable you to combine data from different tables into a single view, providing a more complete overview for your analyses.</li><li>Enrich your analyses: By combining different data sources, you gain access to a deeper level of analysis, enabling you to cross metrics and dimensions from various horizons.</li></ul><p>In short, the judicious use of intelligent joins and effective initial filtering not only gives you precise control over your data, but also considerably optimizes the use of your resources and the performance of your Looker Studio dashboards.</p><p><strong>Optimizing your dashboard</strong></p><p>Throughout this article, we’ve mentioned the positive impact of custom queries on your dashboard’s loading time. However, this is not the only technique for speeding up loading.</p><p>‍A well-known means is the use of standard parameters and, more specifically, date range parameters. In fact, using the “@DS_START_DATE” and “@DS_END_DATE” parameters will call only the data present between the start and end date of your dashboard date range.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/0*YXj9Qx2Aymr3x9m9" /></figure><p>Here, rather than calling all the data present in our table, we call only those corresponding to our date range. This greatly reduces the amount of data and therefore loading time.</p><p>Another way to optimize your dashboard is to manage your data sources. Custom queries are very practical, but you shouldn’t select all the data you need from the dashboard in a single call. This would give you almost as many dimensions and metrics as without custom queries. So don’t hesitate to create several data sources, all via custom queries depending on the type of data you’re going to process (acquisition, product…).</p><p><strong>Lower costs</strong></p><p>Using a “SELECT *” (or select all fields) in a query means you’re asking the database to retrieve all available columns for the rows concerned. In the case of large databases, this means extracting a huge amount of data, much of which may be superfluous. This not only results in increased resource utilization, but also higher costs, as many platforms charge according to the amount of data queried.</p><p>Conversely, a precise selection where you specifically define the dimensions and metrics needed for your analysis minimizes the amount of data extracted. In BigQuery, you only pay for the data that is really relevant to your needs.</p><p>Let’s take a closer look. In BigQuery, I have a table of about 27.34 GB in which I’m going to run two tests:</p><p>- a SELECT * over 7 days ;</p><p>- a very simple SELECT concerning only the metrics I need : date, countries, sessions, users and purchases over 7 days.‍</p><p>My selection of my entire database for about 6 GB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*23R7Lt83YFD49jom" /></figure><p>My selection of my entire database for about 600 MB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IGfV5idXdMcvXUN6" /></figure><p>As you can see, in our case we paid ten times less for our query by selecting only the dimensions and metrics we were interested in, which is not insignificant.</p><p><strong>Custom queries, not always used</strong></p><p><strong>Query complexity</strong></p><p>Custom queries, although powerful, are not always intuitive for everyone. Mastering this type of query requires an in-depth understanding of the SQL query language, as well as a detailed knowledge of your data structure. SQL is a complex language offering a multitude of functions and possibilities. Without training, it’s easy to get lost in its syntax, or to use functions that aren’t optimal for your needs.</p><p>To formulate a query effectively, it’s essential to know your tables’ data schema, the relationships between them and how they are indexed. Without training, it’s quite possible that you’ll slow down your dashboards or even fail to implement your query at all.</p><p><strong>The impact on performance</strong></p><p>A bad query can cause more problems than it solves, particularly in terms of performance. If your queries aren’t well constructed, they can take much longer to execute. This can slow down your entire system, especially if many people are simultaneously running dashboards based on these queries.</p><p>BigQuery can handle large amounts of data, but that doesn’t mean that all queries run quickly. It’s crucial to optimize your queries, especially if you’re working with large datasets (see the section on optimizing your dashboards).</p><p><strong>Data security</strong></p><p>Security should always be a priority, especially when it comes to data belonging to your company. An error in the wording of your query could potentially expose data you didn’t intend to make accessible.</p><p>What’s more, it’s essential to ensure that only authorized people can create or modify custom queries. Poor management of access rights could allow unauthorized users to view or manipulate sensitive data.</p><p><strong>Conclusion</strong></p><p>The combination of BigQuery and Looker Studio can be very useful in many cases, such as for optimizing and customizing your dashboards. However, like any powerful tool, it requires judicious use and a good understanding of its capabilities and limitations. If used properly, custom queries can transform your experience with Looker Studio, enabling you to get the most out of your data. Make sure you train your team properly, or consult an expert if necessary, to fully exploit this feature.</p><p><em>Originally published at </em><a href="https://www.optimize-matter.com/"><em>https://www.optimize-matter.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4d43613ff94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Universal Analytics (UA)— Save your data now]]></title>
            <link>https://medium.com/@Optimize-matter/google-universal-analytics-ua-save-your-data-now-11f16752a06f?source=rss-c86baf084fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/11f16752a06f</guid>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[backup]]></category>
            <category><![CDATA[google-analytics-4]]></category>
            <category><![CDATA[google-analytics-tips]]></category>
            <dc:creator><![CDATA[Optimize matter]]></dc:creator>
            <pubDate>Tue, 06 Jun 2023 09:58:37 GMT</pubDate>
            <atom:updated>2023-10-16T13:45:42.070Z</atom:updated>
            <content:encoded><![CDATA[<h4>Contains a solution to retrieve your google universal analytics (GA3) data and allows you to connect to your next web analytics tool.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*flnNiuQ9uP3-YEEzCk0qOw.png" /></figure><h3>Introduction</h3><p>Google Analytics, the web analytics service provided by Google, is undergoing a significant change. The current version, Universal Analytics, is being phased out and replaced by Google Analytics 4, the next-generation measurement solution. On July 1, 2023, standard Universal Analytics properties will stop processing data, and users are encouraged to switch to Google Analytics 4 as soon as possible.</p><p>Until July 1, 2023, users can continue to use and collect new data in their Universal Analytics properties. After this date, they will be able to access their previously processed data in their Universal Analytics property until July 1, 2024. After this date, users will no longer be able to see their Universal Analytics reports in the Analytics interface or access their Universal Analytics data via the API.</p><h4>Ensuring Long-Term Data Preservation</h4><p>The challenge of closing Google Universal Analytics lies primarily in ensuring the long-term preservation of an organization’s data. If the deadline arrives and you have not backed up your UA data on any type of cloud, you will be unable to compare your current data with historical data. The business analytics stakes are high and time is of the essence, so there is a need to ensure the long-term preservation of data.</p><h4>Securing data continuity</h4><p>If you already have a solution in mind for ensuring the storage of your history, that is a good thing. However, a second challenge arises when your two analytics tools (UA and then GA4 or Piano, for example) will become two different units, creating a division between the location where your old historical data is stored and where you will store new data. This separation will complicate year-over-year comparative analyses.</p><p>For example, a company aims to perform a performance comparison between 2022 and 2024, as it will be necessary to retrieve data from two distinct storage locations: the historical storage of Google Universal Analytics and the storage of data coming from GA4 or Piano.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m6ZIKPzkF7iiZSIq3hNyzA.png" /><figcaption>Data from two different datasets without overlap | Image by author</figcaption></figure><p>The above example illustrates that this separation complicates year-over-year analysis, but does not make it impossible. However, it will make the analysis of the specific separation period even more challenging. For instance, if you have made the transition in July 2023, how can you perform an analysis between 2023 and 2022 when the year 2023 is splited into two separate data sets?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pvjK3GEDaP018pGKqO1fdA.png" /><figcaption>Data from two different datasets with an overlap | Image by author</figcaption></figure><p>As you have understood, this results in a data continuity issue.</p><h3>2) Possible solutions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K-I3faqvLkBiCEGJaNPLCA.png" /><figcaption><strong>Doing Nothing</strong></figcaption></figure><p>This is a simple approach, but obviously not recommended. Without taking action, as mentioned earlier, you will lose all the data accumulated since you started on the platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d4rrlzdyvEigrS4ieTv52Q.png" /><figcaption><strong>Doing it yourself</strong></figcaption></figure><p>This is the simplest approach, but it is very time-consuming (several weeks of work) if you have a lot of history to back up. It is also not recommended because it is prone to human error during the imports. Finally, even with manual transfer, the technical process is very difficult to achieve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YlAekaLee6Ja9vWayPRycg.png" /><figcaption><strong>Using an ETL solution</strong></figcaption></figure><p>It is possible to follow this route, but it should be noted that these tools are mainly used to store data on a daily or monthly basis rather than querying the entirety of your available data. This implies a very high cost and a strong probability of backup failure or the inability to exploit the exported data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5JEXp4yE8bUOSXRd23uXVQ.png" /><figcaption><strong>Use an expert solution</strong></figcaption></figure><p>Read this article and discover our methodology for backing up your GA3 data :)</p><h3>The challenges</h3><h4>Optimization of data storage</h4><p>Exporting data from GA3 to BQ generates millions of rows in the database, making it essential to optimize storage. Without optimization techniques, the sheer volume of data generated can result in slow querying times, increased storage costs, and data that becomes unmanageable, making it difficult to extract meaningful insights.</p><p>Inaccurate reporting and analysis can also result from unoptimized storage, leading to missed opportunities or incorrect decision-making, potentially impacting the overall success of the business. Therefore, it is crucial to implement optimization strategies that can help manage and store the exported data in a cost-effective and efficient manner.</p><p>With proper optimization techniques in place, the exported data can be readily accessible, accurate, and actionable</p><h4>Sampled data</h4><p>When requesting data from the GA3 API, there is a risk that the data returned may be sampled, especially when querying a large volume of data. Sampled data may not be representative of the entire dataset, and may not accurately reflect the true performance of a website or application.</p><p>This poses a problem when it comes to exporting data from GA3 to BQ, as the exported data needs to be accurate and representative of the entire dataset. Therefore, it is crucial to ensure that the data obtained from the GA3 API is not sampled, and that the full dataset is exported to BQ.</p><h4>Cardinality</h4><p>Each report dimension has a specific number of possible values assigned to it, and the total number of unique values for a dimension is known as its cardinality. High-cardinality dimensions have a large number of potential values, and reports containing such dimensions may be affected by Analytics system limits. When there are more dimension-value combinations than the limit for a given table, Analytics stores the top N values and creates an (other) entry for the remaining value combinations. This means that when viewing a report with a high-cardinality dimension that exceeds the limits, not all of the values for that dimension will be displayed, and some values will be rolled-up into an (other) entry. Despite this limitation, Analytics continues to track data normally.</p><p>Since we need to have access to all values in our exports to BigQuery, the current issue with high-cardinality dimensions and Analytics system limits presents a challenge. We cannot afford to have any data rolled up or excluded from our exports, as this would compromise the accuracy and completeness of our analysis. Therefore, we need to find a solution that enables us to retrieve all values for high-cardinality dimensions, regardless of the Analytics system limits. This solution must also be scalable and efficient, as we expect to process large volumes of data on a regular basis.</p><h3>Solutions</h3><h4>Partitionning and Clustering</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eqAcjPf34hSyaiOjcCGVnQ.png" /><figcaption><strong>Sources : Google Cloud Big Query Docs “</strong>Introduction to clustered tables”</figcaption></figure><p>To solve the storage optimization problem, we can use partitioning and clustering techniques. Partitioning involves dividing a large dataset into smaller, more manageable parts called partitions. This makes it easier to store and process the data, as each partition can be stored separately and processed in parallel.</p><p>Clustering, on the other hand, involves grouping similar data points together based on their characteristics. This helps to reduce the overall amount of data that needs to be stored, as similar data points can be represented by a single cluster centroid. Clustering can also help with data compression and can make it easier to perform data analysis on large datasets.</p><p>Together, partitioning and clustering can be used to optimize storage and processing of large datasets. By dividing the data into smaller partitions and grouping similar data points together, we can reduce the amount of storage needed and make it easier to process the data in parallel.</p><pre>from google.cloud import bigquery<br><br># Create a &quot;client&quot; object to connect to BigQuery<br>client = bigquery.Client()<br><br># TODO: Set the &quot;table_id&quot; to the ID of the table to create<br># table_id = &quot;your-project.your_dataset.your_table_name&quot;<br><br># Define the schema of the new table<br>schema = [<br>    bigquery.SchemaField(&quot;full_name&quot;, &quot;STRING&quot;),<br>    bigquery.SchemaField(&quot;city&quot;, &quot;STRING&quot;),<br>    bigquery.SchemaField(&quot;zipcode&quot;, &quot;INTEGER&quot;),<br>]<br><br># Create a &quot;table&quot; object with the specified schema<br>table = bigquery.Table(table_id, schema=schema)<br><br># Set the clustering fields for the new table<br>table.clustering_fields = [&quot;city&quot;, &quot;zipcode&quot;]<br><br># Create the new table in BigQuery</pre><h4>Reduce the date range</h4><p>To address the issues of sampled data and high cardinality, we have decided to reduce the time range for each query and perform chained queries to obtain all the required data. This approach involves breaking down the overall time range into smaller sub-ranges and querying each sub-range separately. By doing so, we can reduce the amount of data being queried at once which in turn reduces the cardinality and tackles the sampled data problem.</p><h4>Adaptable to the next analysis tools (GA4, Piano …)</h4><p>By adapting the data model of GA4, we can unify the two models and create a dataset that contains both the historical data from GA3 and the data from GA4. This can be done by mapping the relevant fields from GA3 to GA4 and adjusting the schema accordingly. Once the data is integrated, we can gain deeper insights into our website traffic and user behavior. Additionally, by having a unified dataset, we can avoid the need to switch between multiple analytics platforms and streamline our reporting and analysis processes. However, it’s important to note that this integration may require significant time and resources to implement, and careful planning and testing will be necessary to ensure the accuracy and completeness of the combined dataset.</p><h3>Conclusion</h3><p>As Universal Analytics is being phased out, users are encouraged to switch to Google Analytics 4. The challenge of closing Universal Analytics lies primarily in ensuring the long-term preservation of an organization’s data. Users need to ensure data continuity when switching between two analytics tools as it creates a division between the location where old historical data is stored and where new data will be stored, complicating year-over-year comparative analyses.</p><p>Although there are several solutions, each approach has its challenges, such as optimizing data storage, dealing with sampled data, and managing cardinality.</p><p><em>Originally published at </em><a href="https://www.optimize-matter.com/"><em>https://www.optimize-matter.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11f16752a06f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing Pinterest API conversions with GTM server-side]]></title>
            <link>https://medium.com/@Optimize-matter/implementing-pinterest-api-conversions-with-gtm-server-side-ecc9078e933f?source=rss-c86baf084fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecc9078e933f</guid>
            <category><![CDATA[pinterest-marketing]]></category>
            <category><![CDATA[google-tag-manager]]></category>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[conversion-tracking]]></category>
            <category><![CDATA[data-collection]]></category>
            <dc:creator><![CDATA[Optimize matter]]></dc:creator>
            <pubDate>Mon, 24 Apr 2023 14:28:18 GMT</pubDate>
            <atom:updated>2023-10-16T13:46:46.738Z</atom:updated>
            <content:encoded><![CDATA[<h4>Includes description of the Pinterest conversion API and technical specifications, as well as a guide on how to apply server-side collection method with GTM and Pinterest tools.</h4><p>Even after 3 years, the <a href="https://tagmanager.google.com/gallery/#/?page=1">GTM server-side tag gallery</a> continues to grow! Dozens of tags had emerged earlier this year (Snapchat, Tiktok, Klaviyo etc.) and now it’s Pinterest’s turn to appear .‍</p><p>Once again, this shows that media players are taking this solution seriously by making server-side tags available, strengthening the value proposition of this “new” technology day by day. If you’re not comfortable with how server-side works, we recommend reading <a href="https://www.optimize-matter.com/blog/tracking-server-side">our dedicated article on the subject</a>! (French content).‍</p><p>Otherwise, if you are curious about the progress of this gallery, we have listed <a href="https://www.optimize-matter.com/blog/gtm-server-side-tags-disponibles">all the tags on this page</a> (That’s french again). So feel free to check it out from time to time to see what’s new!‍</p><p>From the same roots as one of our previous article, where we did a tutorial on how to <a href="https://www.optimize-matter.com/blog/implementer-piano-analytics-avec-gtm-server-side">integrate Piano Analytics in server-side</a> (And again), today we’ll take a look together at how to set up the Pinterest API with Pinterest tools, Google Tag Manager server-side and Google Tag Manager. Let’s get started!</p><h3>Description of how the Pinterest conversion API works with GTM server-side</h3><p>Useful links :</p><ul><li><a href="https://help.pinterest.com/en/business/article/the-pinterest-api-for-conversions">Description of how the Pinterest conversion API works</a></li><li><a href="https://developers.pinterest.com/docs/conversions/best/">Technical specifications on the Pinterest side</a></li><li><a href="https://developers.pinterest.com/docs/new/changelog/#Tracking%20conversions%20with%20the%20Pinterest%20API">Changelog of the conversion API to track changes</a></li></ul><p>As a reminder, the Pinterest API for conversions now allows conversions to be sent directly to Pinterest thanks to a server-to-server method without requiring a client-side tag. These conversions are mapped to Pinterest campaigns for conversion reporting to improve conversion visibility.‍</p><p>Employing this API can enable Pinterest to sustain its capacity in delivering a more comprehensive evaluation of your campaign’s effectiveness. Analogously to Facebook’s API deduplication technique, the use of client-side tags in combination with this API can optimize the extent of discernibility into the conversions that your campaigns produce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pYqkQFTzzrdW60jx" /><figcaption>Diagram created by our data analysis teams at @Optimizematter</figcaption></figure><p>As with Piano Analytics, the Google Tag Manager (GTM) server returns the information sent in front or in server to the API of the tool in question.</p><h3>The server-side centric collection strategy</h3><p>‍As said during our Piano Analytics tutorial, the last few years have seen the emergence of new players and new notions (of data capture and privacy) that have strongly impacted the web marketing business.</p><p>Data collection is in the ice age and the serverside is the icebreaker. Today we’ll see how to apply this new data collection to Pinterest Ads.‍</p><p>Disclaimer:</p><p>These techniques do not seek to oppose or circumvent existing legislation. They tend to complement it by ensuring an additional level of protection for users. The responsibility is in the hand of the legal entity that handles the life cycle of the data.‍</p><h3>Apply the server-side collection method</h3><h4>Prerequisites.</h4><p>There are two sine qua non requirements to start this tutorial:</p><ul><li>Have an advertiser account declared in the Pinterest tool. This is to get your advertiser id + API token. NB: To know where to find your advertiser id and API token, refer to this explanation page on Pinterest.</li><li>Have a GTM server-side container with a defined receiving address. Most often, this is a subdomain of your site in A record.</li></ul><p>For the remainder of the tutorial, we invite you to operate in parallel to this article. Each step presents an explanation and an image of the manipulation to be carried out.</p><h4>Download and install the templates for server-side Google Tag Manager</h4><p>This part is in two steps, the first is to install the templates in your container and the second is to feed and deploy the templates.‍ There are two files to download to get your server-side data collection working properly:</p><ul><li>The GA4 basic client: This client is used to interpret the request sent to GTM Server side and to format it in order that it can be used by the Pinterest tag. This one is based on the GA4 format, so we need to use the GA4 client.‍</li><li>The Pinterest tag: This one is used to send the data to the Pinterest API. <a href="https://tagmanager.google.com/gallery/#/owners/pinterest/templates/ss-gtm-template">Link</a>‍</li></ul><p>Since the GA4 client is already installed initially in your GTM container, we will focus on installing the Pinterest tag.</p><p><strong>First, head to the template part from the menu of your GTM Server side :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/0*CE8D6CgNH33dNQBm" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><p>Go to “Tag Templates” (1) and click on “Gallery” (2) and choose the “Pinterest API for Conversions Tag” (3)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*17RPaekso_wfHLlf" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><p><strong>The second step is to supply and deploy the tag.</strong></p><p>Navigate to the “Tags” part of your container (4), click “New” (5) and choose the Pinterest API tag (6). We recommend naming it “Pinterest API — All Conversions” as it serves as a holistic upload interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*pVGLTyGZDG12WTTF" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g3TcOd-bKecrAt5T" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><p>Feed the present fields with the requested information, add a trigger (7) and save the tag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/0*KWMQUNYyDOJiLh8b" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IAR7LCyF8VluSzg8" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><p>As a reminder, here are the <strong>events supported by the tag</strong> (with their GA4 correspondence):</p><ul><li>add_to_cart =&gt; same nomenclature</li><li>checkout =&gt; purchase</li><li>custom =&gt; no correspondence with GA4 events</li><li>lead =&gt; no match</li><li>page_visit =&gt; page_view</li><li>search =&gt; same nomenclature</li><li>signup =&gt; sign_up</li><li>view_category =&gt; view_item_list (e-commerce case)</li><li>watch_video =&gt; no match‍</li></ul><p>Publish the workspace (8) without forgetting to name your publication:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IxzNxCrXrpH46gNk" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><p>You now have server-side tracking for your Pinterest solution!</p><h4>Using the Pinterest API tag with hybrid tracking</h4><p>In this paradigm, you are offered a third template: the GA4 carrier.</p><p>This one allows you to forward the front-end information to your GTM server. Thus, it collects only the minimum information required according to the tool as well as the user’s consent status from your front-end GTM container.‍</p><p>Here are the steps to install it:</p><ul><li>Create a new tag with a GA4 configuration tag and fill in the GTM server address.</li><li>Create the GA4 tags on the requested conversions. (add_to_cart, purchase)</li><li>(Recommended) Create an event_id variable allowing the deduplication of events.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/0*kekB6W6cVOjL4cac" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><p><strong>NB:</strong> The endpoint of your GTM container normally corresponds to the sub-domain that you set up when you manually configured the tool. If you deployed it automatically, then you can find your endpoint by following these instructions.‍</p><p>Head to the Administrator tab of your server-side container (1) and then open the settings (2). You will find your endpoint in the “Server container URLs” field (3).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/0*KvXKn6-fLcnxUjLm" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/0*GtGJscNSKegniVew" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><p>You can now send data from your site in hybrid tracking!</p><h3>Check in Pinterest</h3><h4>‍Cross-reference the data</h4><p>To ensure that your server-side data collection is working properly, the quickest way is to check through the event history (1), found under the Ads &gt; Conversions tab</p><p>Then head to the name of the “Conversion API” tag that groups all the events sent with API (2) and monitor if the events are well brought up or not.‍</p><p>If not, we advise you to look at the server logs via the server-side Preview or get in touch with your Pinterest contact!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oBJwWjWVwMFGU31f" /><figcaption>Screenshot captured on one of our GTM account</figcaption></figure><p>You now have hybrid and/or server-side tracking available with the Pinterest platform!</p><h3>Conclusion</h3><p>To conclude, implementing the Pinterest API with GTM server-side allows for more comprehensive evaluation of campaign effectiveness, with conversions sent directly to Pinterest without requiring a client-side tag. This new data collection method helps to complement existing legislation by ensuring an additional level of protection for users, and the server-side centric collection strategy provides a solution to the new notions of data capture and privacy.</p><p>As the GTM server-side tag gallery continues to grow, media players are taking this solution seriously, further strengthening the value proposition of this “new” technology. In the words of Jaron Lanier,</p><blockquote>“ Ultimately, the choice is ours. We will either choose to make use of our machines to empower ourselves or we will not. ”</blockquote><p>With the implementation of the Pinterest API using GTM server-side, you can choose to take control of your data.</p><p><em>Originally published at </em><a href="https://www.optimize-matter.com/"><em>https://www.optimize-matter.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecc9078e933f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why should you export your Google Analytics 4 data to Google BigQuery?]]></title>
            <link>https://medium.com/@Optimize-matter/why-should-you-export-your-google-analytics-4-data-to-google-bigquery-108ed8e8f0e5?source=rss-c86baf084fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/108ed8e8f0e5</guid>
            <category><![CDATA[bigquery]]></category>
            <category><![CDATA[cloud-cost-optimization]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[backup]]></category>
            <category><![CDATA[google-analytics]]></category>
            <dc:creator><![CDATA[Optimize matter]]></dc:creator>
            <pubDate>Mon, 27 Mar 2023 13:19:05 GMT</pubDate>
            <atom:updated>2023-10-16T13:48:33.554Z</atom:updated>
            <content:encoded><![CDATA[<h4>In this article, we will tell you the benefits of exporting your data to BigQuery and provide you with access to our cost calculator, which has been designed to estimate your storage expenses spanning across multiple years.</h4><p>Prior to the release of Google Analytics 4, only Google Analytics 360 licenses were able to take advantage of data export to BigQuery. Thanks to this new Google Web Analytics tool, this feature becomes free with a limit of 1 million hits a day. This proposition extends an opportunity to all businesses to leverage the potential of cloud computing.</p><h3>Summary :</h3><ul><li>What is BigQuery?</li><li>Why export Google Analytics data to BigQuery ?</li><li>Enabling data export to BigQuery</li><li>Calculate your storage costs with our tool</li><li>Uses of the data export feature</li><li>Caveats using sharded tables</li><li>Conclusion</li></ul><h3>What is BigQuery ?</h3><p>‍BigQuery is a Google Cloud analytics data warehouse designed to help companies turn their big data into new business possibilities. BigQuery allows you to store large datasets and run lightning-fast SQL queries using the computing power of Google.</p><h3>Why export Google Analytics data to BigQuery</h3><p>Thanks to its reports, Google Analytics has been the preferred tool for analyzing website traffic, online shopping behavior, online advertising campaign performance, acquisition tracking... for several years now. Thanks to its features, Google Analytics outperformed the web analytical tools market.</p><p>One might wonder why you should change your analytics tool when the Google Analytics interface is self-sufficient. Simply because Google Analytics is a data collector but does not allow you to modify the raw data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pKwz1J86WGXY8KPz3miBcg.png" /><figcaption>Iceberg Theory of Google Analytics 4, image by author</figcaption></figure><p>In fact, the data in the user interface is only a small portion of the analysis potential of the data collected in Google Analytics. BigQuery allows you to become the owner of your data in order to process and refine it to perform more relevant analysis.</p><h3>Enabling data export to BigQuery</h3><p>To enable data export to BigQuery, go to the “<strong>Admin</strong>” part of Google Analytics 4 and then to the “<strong>Product Linking</strong>” section and click on “<strong>BigQuery Linking</strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HkfRW0VIznlcvs_N3dd07Q.png" /><figcaption>Screenshot from Google Analytics 4 user interface | Image by author</figcaption></figure><p>Then you just have to send your Google Analytics 4 data to a BigQuery project that you will have created beforehand. Then you need to choose the cloud region where you will store your data.</p><p>To set up the data stream you will send, select a project in the “<strong>BigQuery Linking</strong>” section. Then you can set the frequency at which you will export your data to BigQuery.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2HO9RiFjAJme84G0RcIZjw.png" /><figcaption>Screenshot from Google Analytics 4 user interface | Image by author</figcaption></figure><p>In one hand the “<strong>Daily</strong>” frequency is free but limited to 1 million hits a day. In the other hand the “<strong>Streaming</strong>” frequency incurs a cost.</p><p>For each Google Analytics 4 property that is linked to BigQuery, a dataset named “<strong>analytics_&lt;property_id&gt;</strong>” is added to the BigQuery project that you have chosen earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aMwhA1i6KNB5AoTWjq0I9A.png" /><figcaption>Screenshot from Google Cloud Platform user interface | Image by author</figcaption></figure><p>The dataset created is organized around user and event data along with geolocation, device type and traffic source data. Each row in the dataset represents an event.</p><h3>Calculate your storage cost with our tool</h3><p>How do I pay for it? Is there a cost for BigQuery? Since anything can’t be free, there is a cost associated with BigQuery via storage and/or queries. To give you more visibility on this, we created a calculator to estimate your storage costs according to the number of monthly queries you receive on GA4. Please, try <a href="https://www.optimize-matter.com/tools/bigquery-cost-calculator">our cost calculator</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aqcgU8kB-871sGz5kjKBHg.png" /><figcaption>Screenshot of the Big Query Cost Calculator | Image by author</figcaption></figure><h3>Uses of the data export functionality to BigQuery</h3><h4>a — Using external data to perform advanced analysis</h4><p>Since BigQuery is a data warehouse, it is possible to store other data sources such as advertising data, offline data, and CRM data in it to perform queries joining multiple datasets. Linking different types of data will allow for example to compare your sales with the margin over a given period. These analyses can then be sent to a data visualization tool (e.g. LookerStudio) to obtain illustrated reports mixing your Google Analytics data and your external data.</p><h4>b — Get a global view of conversion attribution</h4><p>With the BigQuery data export feature, you can access raw data from advertising platforms and perform deeper analysis on attribution and on deduplicated conversions. These analyses can provide a consolidated view of attribution in a data visualization tool to quickly make budgeting decisions across platforms.</p><h4>c — Use real-time data for marketing strategies</h4><p>It only takes a few seconds to transfer the Google Analytics 4 data stream to BigQuery. Furthermore, the data is transferred continuously (approximately every 15 minutes). This makes it easier to drive marketing strategies at pivotal moments of the year when every minute counts (e.g. Black Friday).</p><h4>d — Preprocess data for predictive analysis</h4><p>In BigQuery, you can use SQL queries to preprocess data for analysis and better predict consumer demand. Indeed, BigQuery has built-in Machine Learning capabilities to perform this analysis. This will increase your customer retention rate by capturing attrition signals more effectively and quickly.</p><h3>Caveats using sharded tables</h3><p>Sharded tables are natively used when you export GA4 data to big query. It consist of breaking up the data into separate tables based on the date, it becomes much easier to manage and query large amounts of data over time. This method allows for faster query times, more efficient storage, and improved data availability.</p><p>However, it is important to be aware of some potential pitfalls when working with sharded tables. One consideration is that when querying across multiple tables, it is important to include partition selection in your queries as querying all the tables can lead to slow query times and increased costs.</p><p>Here is a short code on how to use partition selection:</p><pre>SELECT count(*)<br>FROM `dataset.analytics_containerID.events_*`<br>WHERE _table_suffix = &quot;YYYYMMDD&quot;</pre><p>Using sharded tables and partition pruning techniques can significantly improve query performance and reduce processing costs. However, working with this data structure requires careful planning and building queries differently, as it may require changing default methods of querying data. Nevertheless, the benefits of faster query times make the effort worthwhile.</p><h3>‍Conclusion</h3><p>Google allows freemium accounts to access raw data from GA4. The data export feature to BigQuery thus opens up access to advanced features such as Machine Learning to perform its analyses. Today we advise all our partners to export their data to BigQuery.</p><p>More articles on the Google Cloud Platform are coming soon !</p><p>Stay tuned.</p><p><em>Originally published at </em><a href="https://www.optimize-matter.com/"><em>https://www.optimize-matter.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=108ed8e8f0e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>