<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>GA4 BigQuery Newsletter For Marketing Analytics</title>
    <description>BigQuery and SQL knowledge is not only required for working with GA4 but will also open up doors for new career opportunities. This FREE newsletter is all you need to learn and master BigQuery and SQL. Join 3000+ other Digital Marketers and Analysts and take a step towards a brighter career.</description>
    
    <link>https://bigquery.optizent.com/</link>
    <atom:link href="https://rss.beehiiv.com/feeds/IL4CM0ruZ8.xml" rel="self"/>
    
    <lastBuildDate>Wed, 17 Jun 2026 03:50:53 +0000</lastBuildDate>
    <pubDate>Tue, 16 Jun 2026 21:49:44 +0000</pubDate>
    <atom:published>2026-06-16T21:49:44Z</atom:published>
    <atom:updated>2026-06-17T03:50:53Z</atom:updated>
    
      <category>Marketing</category>
      <category>Data Science</category>
      <category>Technology</category>
    <copyright>Copyright 2026, GA4 BigQuery Newsletter For Marketing Analytics</copyright>
    
    <image>
      <url>https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/publication/logo/e8e98343-caba-4191-b5a6-e26347b7b436/Copy_of_Copy_of_Copy_of_Don_t_Like_GA4.png</url>
      <title>GA4 BigQuery Newsletter For Marketing Analytics</title>
      <link>https://bigquery.optizent.com/</link>
    </image>
    
    <docs>https://www.rssboard.org/rss-specification</docs>
    <generator>beehiiv</generator>
    <language>en-us</language>
    <webMaster>support@beehiiv.com (Beehiiv Support)</webMaster>

      <item>
  <title>Your BigQuery Analysis Is Only as Good as Your GA4 Data</title>
  <description>Download this free checklist with 150+ GA4 implementation and data quality checks before building your next report.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8d6c465f-098c-48a0-acad-c5b9bb68e7f2/150-ga4-audit-checklist.png" length="1865224" type="image/png"/>
  <link>https://bigquery.optizent.com/p/your-bigquery-analysis-is-only-as-good-as-your-ga4-data</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/your-bigquery-analysis-is-only-as-good-as-your-ga4-data</guid>
  <pubDate>Tue, 16 Jun 2026 21:49:44 +0000</pubDate>
  <atom:published>2026-06-16T21:49:44Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">One of the biggest mistakes I see analysts make is jumping straight into BigQuery analysis without first verifying that their GA4 implementation is actually collecting reliable data.</p><p class="paragraph" style="text-align:left;">The truth is simple:</p><p class="paragraph" style="text-align:left;"><b>Bad GA4 data becomes bad BigQuery data.</b></p><p class="paragraph" style="text-align:left;">Before you spend hours building SQL queries, dashboards, or attribution models, it&#39;s worth taking a few minutes to validate your GA4 setup.</p><p class="paragraph" style="text-align:left;">That&#39;s why I created a free checklist with <a class="link" href="https://www.gaauditor.com/ga4-audit-checklist/?utm_source=beehiiv&utm_medium=email&utm_campaign=your-bigquery-analysis-is-only-as-good-as-your-ga4-data" target="_blank" rel="noopener noreferrer nofollow"><b>150+ GA4 implementation and data-quality</b></a><a class="link" href="https://www.gaauditor.com/ga4-audit-checklist/?utm_source=beehiiv&utm_medium=email&utm_campaign=your-bigquery-analysis-is-only-as-good-as-your-ga4-data" target="_blank" rel="noopener noreferrer nofollow"><b> checks</b></a><a class="link" href="https://www.gaauditor.com/ga4-audit-checklist/?utm_source=beehiiv&utm_medium=email&utm_campaign=your-bigquery-analysis-is-only-as-good-as-your-ga4-data" target="_blank" rel="noopener noreferrer nofollow">.</a></p><p class="paragraph" style="text-align:left;">Inside you&#39;ll find checks for:</p><p class="paragraph" style="text-align:left;">✓ Events and conversions<br>✓ Ecommerce tracking<br>✓ User properties<br>✓ Traffic attribution<br>✓ Cross-domain measurement<br>✓ Consent Mode<br>✓ Google Tag Manager implementation<br>✓ Data quality issues<br>✓ Reporting accuracy<br>✓ And much more</p><p class="paragraph" style="text-align:left;">Whether you&#39;re an analyst, engineer, consultant, or marketer, this checklist can help you catch issues before they become expensive reporting problems.</p><p class="paragraph" style="text-align:left;">👉 <a class="link" href="https://www.gaauditor.com/ga4-audit-checklist/?utm_source=beehiiv&utm_medium=email&utm_campaign=your-bigquery-analysis-is-only-as-good-as-your-ga4-data" target="_blank" rel="noopener noreferrer nofollow"><b>Download the Free 150+ GA4 Audit Checklist</b></a></p><p class="paragraph" style="text-align:left;">Thanks,<br>Anil Batra</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=2da51321-cc54-44c2-9b0d-bd508f6b6ea2&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Something I kept noticing while working with BigQuery</title>
  <description>Before better analysis comes better data</description>
  <link>https://bigquery.optizent.com/p/something-i-kept-noticing-while-working-with-bigquery</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/something-i-kept-noticing-while-working-with-bigquery</guid>
  <pubDate>Thu, 16 Apr 2026 22:30:01 +0000</pubDate>
  <atom:published>2026-04-16T22:30:01Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">Over the past few years, I’ve spent a lot of time helping teams use BigQuery to answer more advanced business questions.</p><p class="paragraph" style="text-align:left;">But it always comes back to one thing:</p><p class="paragraph" style="text-align:left;">Before you start writing queries or building reports, you need to make sure the right data is actually being collected.</p><p class="paragraph" style="text-align:left;">Because if the underlying tracking isn’t set up correctly, even the most advanced analysis in BigQuery won’t lead to the right insights.</p><p class="paragraph" style="text-align:left;">That’s what I’ve been focusing on lately. </p><p class="paragraph" style="text-align:left;">I have built a simple tool to help with that. It checks your GA4 and GTM setup and highlights potential gaps that could impact your data quality.</p><p class="paragraph" style="text-align:left;">👉 You can try it here: <a class="link" href="https://www.gaauditor.com/get-started?utm_source=beehiiv&utm_medium=email&utm_campaign=something-i-kept-noticing-while-working-with-bigquery" target="_blank" rel="noopener noreferrer nofollow">GAAuditor.com</a></p><p class="paragraph" style="text-align:left;">It makes your BigQuery work more valuable—because you can trust the data you’re analyzing.</p><p class="paragraph" style="text-align:left;">Longer term, I’m exploring ways to make it easier to go from reliable data → to answering real business questions without so much manual effort of writing SQL queries. I’ll share more on that soon.</p><p class="paragraph" style="text-align:left;">Also, if you’re not already part of it, I will now be sharing all my updates, ideas, and tools here: 👉 <a class="link" href="https://insights.optizent.com/subscribe?utm_source=beehiiv&utm_medium=email&utm_campaign=something-i-kept-noticing-while-working-with-bigquery" target="_blank" rel="noopener noreferrer nofollow">https://insights.optizent.com/subscribe</a></p><p class="paragraph" style="text-align:left;">More soon.</p><p class="paragraph" style="text-align:left;">– Anil Batra<br><a class="link" href="https://www.optizent.com?utm_source=beehiiv&utm_medium=email&utm_campaign=something-i-kept-noticing-while-working-with-bigquery" target="_blank" rel="noopener noreferrer nofollow">Optizent.com</a></p><p class="paragraph" style="text-align:left;">P.S. <a class="link" href="https://www.gaauditor.com/get-started?utm_source=beehiiv&utm_medium=email&utm_campaign=something-i-kept-noticing-while-working-with-bigquery" target="_blank" rel="noopener noreferrer nofollow">Click here to sign up for GAuditor.com</a></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=04ff18c8-ec1b-41c5-b78f-f263aaf4906f&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Unlock GA4 Insights: Live BigQuery Training on Event Parameters</title>
  <description>🎓 Live 1-Hour Training: GA4 Event Parameters in BigQuery</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8c197d45-add2-487b-ae00-e72ba59ebf60/ChatGPT_Image_Sep_11__2025__12_59_55_PM.png" length="1602325" type="image/png"/>
  <link>https://bigquery.optizent.com/p/unlock-ga4-insights-live-bigquery-training-on-event-parameters</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/unlock-ga4-insights-live-bigquery-training-on-event-parameters</guid>
  <pubDate>Tue, 16 Sep 2025 18:57:59 +0000</pubDate>
  <atom:published>2025-09-16T18:57:59Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
    <category><![CDATA[Advanced Level]]></category>
    <category><![CDATA[Sql]]></category>
    <category><![CDATA[Beginner Level]]></category>
    <category><![CDATA[Ga4]]></category>
    <category><![CDATA[Intermediate Level]]></category>
    <category><![CDATA[Bigquery]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">Understanding event parameters is the key to unlocking the <i>real power</i> of GA4 data inside BigQuery.<br>Yet, for many marketers and analysts, event parameters remain confusing, messy, and hard to use.</p><p class="paragraph" style="text-align:left;">That’s why I’m hosting a <b>1-hour live, hands-on class</b>:</p><p class="paragraph" style="text-align:left;">📌<b> Topic:</b> <i>GA4 Event Parameters in BigQuery</i><br>📅<b> Date/Time:</b> September 24th at 10:00 AM PST<br>⏰<b> Duration:</b> 1 Hour<br><b>💻 Format:</b> <a class="link" href="https://academy.optizent.com/live-webinar/ga4-bigquery-event-paramaters/register?utm_source=beehiiv&utm_medium=email&utm_campaign=unlock-ga4-insights-live-bigquery-training-on-event-parameters" target="_blank" rel="noopener noreferrer nofollow">Live Online Class</a></p><p class="paragraph" style="text-align:left;">In this session, you’ll learn:</p><ul><li><p class="paragraph" style="text-align:left;">How GA4 event parameters are structured in BigQuery</p></li><li><p class="paragraph" style="text-align:left;">Simple SQL queries to extract and flatten parameters</p></li><li><p class="paragraph" style="text-align:left;">Tips to transform raw data into insights you can present with confidence</p></li></ul><p class="paragraph" style="text-align:left;">By the end, you’ll know exactly how to make sense of event parameters — without getting lost in the nested data.</p><p class="paragraph" style="text-align:left;">👉 <b><a class="link" href="https://academy.optizent.com/live-webinar/ga4-bigquery-event-paramaters/register?utm_source=beehiiv&utm_medium=email&utm_campaign=unlock-ga4-insights-live-bigquery-training-on-event-parameters" target="_blank" rel="noopener noreferrer nofollow">Reserve Your Spot Now</a></b></p><p class="paragraph" style="text-align:left;">Seats are limited, so don’t miss your chance to finally <i>decode event parameters in BigQuery</i>.</p><p class="paragraph" style="text-align:left;">See you live!<br>Anil Batra, Founder Optizent Academy</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=97b94dd9-1ead-45ac-a1f4-4c070e420a15&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>SQL For Beginners Free Live Session</title>
  <description></description>
  <link>https://bigquery.optizent.com/p/sql-for-beginners-free-live-session</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/sql-for-beginners-free-live-session</guid>
  <pubDate>Mon, 02 Jun 2025 19:54:33 +0000</pubDate>
  <atom:published>2025-06-02T19:54:33Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">I am conducting a free live session for Beginners to Learn the basics of SQL.</p><p class="paragraph" style="text-align:left;">If you haven’t yet started with SQL or are struggling to make sense of SQL and GA4 data in BigQuery, then attend this live session.</p><p class="paragraph" style="text-align:left;">Here is the link to save your spot and get the Zoom link: <a class="link" href="https://academy.optizent.com/live-webinar/sql-fundamentals-for-beginners/register?utm_source=beehiiv&utm_medium=email&utm_campaign=sql-for-beginners-free-live-session" target="_blank" rel="noopener noreferrer nofollow">https://academy.optizent.com/live-webinar/sql-fundamentals-for-beginners/register</a>.</p><p class="paragraph" style="text-align:left;">Thank you,<br>Anil Batra, Optizent Academy<br>P.S. If you can’t attend the live session, then join the <a class="link" href="https://academy.optizent.com/courses/digital-marketing-and-analytics-live-classes?coupon=SUCCESSLIVE&utm_source=beehiiv&utm_medium=email&utm_campaign=sql-for-beginners-free-live-session" target="_blank" rel="noopener noreferrer nofollow">Digital Analytics Live Session Vault</a> to get access to all of my live training sessions.</p><p class="paragraph" style="text-align:left;"></p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="unlock-the-social-media-tactics-tha">Unlock the Social Media Tactics That Work Right Now</h3><div class="image"><a class="image__link" href="https://blog.hubspot.com/masters-in-marketing-signup-socialtrends-0?utm_medium=email-media-newsletter&utm_source=masters-in-marketing&utm_campaign={{publication_alphanumeric_id}}&utm_content=incentivized-beehiiv&utm_term=Version-k&_bhiiv=opp_ed8b9522-31ff-4972-a7ab-26add1830014_fe732aa6&bhcl_id=0e8c2f93-05f1-431f-8161-da9aa4f8cf2c_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/dd40f830-dbaf-4194-8a56-702a09c539f7/Newsletter_Creator_Image_2_option_2.jpg?t=1745369509"/></a></div><p class="paragraph" style="text-align:left;">Is your social strategy ready for what&#39;s next in 2025?</p><p class="paragraph" style="text-align:left;">HubSpot Media&#39;s latest <a class="link" href="https://blog.hubspot.com/masters-in-marketing-signup-socialtrends-0?utm_medium=email-media-newsletter&utm_source=masters-in-marketing&utm_campaign={{publication_alphanumeric_id}}&utm_content=incentivized-beehiiv&utm_term=Version-k&_bhiiv=opp_ed8b9522-31ff-4972-a7ab-26add1830014_fe732aa6&bhcl_id=0e8c2f93-05f1-431f-8161-da9aa4f8cf2c_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Social Playbook</a> reveals what&#39;s actually working for over 1,000 global marketing leaders across TikTok, Instagram, LinkedIn, Pinterest, Facebook, and YouTube.</p><p class="paragraph" style="text-align:left;">Inside this comprehensive report, you’ll discover:</p><ul><li><p class="paragraph" style="text-align:left;">Which platforms are delivering the highest ROI in 2025</p></li><li><p class="paragraph" style="text-align:left;">Content formats driving the most engagement across industries</p></li><li><p class="paragraph" style="text-align:left;">How AI is transforming social content creation and analytics</p></li><li><p class="paragraph" style="text-align:left;">Tactical recommendations you can implement immediately</p></li></ul><p class="paragraph" style="text-align:left;"><b>Unlock the playbook—free when you subscribe to the </b><b><a class="link" href="https://blog.hubspot.com/masters-in-marketing-signup-socialtrends-0?utm_medium=email-media-newsletter&utm_source=masters-in-marketing&utm_campaign={{publication_alphanumeric_id}}&utm_content=incentivized-beehiiv&utm_term=Version-k&_bhiiv=opp_ed8b9522-31ff-4972-a7ab-26add1830014_fe732aa6&bhcl_id=0e8c2f93-05f1-431f-8161-da9aa4f8cf2c_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Masters in Marketing newsletter</a></b><b>.</b></p><p class="paragraph" style="text-align:left;">Get cutting-edge insights, twice a week, from the marketing leaders shaping the future.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.hubspot.com/masters-in-marketing-signup-socialtrends-0?utm_medium=email-media-newsletter&utm_source=masters-in-marketing&utm_campaign={{publication_alphanumeric_id}}&utm_content=incentivized-beehiiv&utm_term=Version-k&_bhiiv=opp_ed8b9522-31ff-4972-a7ab-26add1830014_fe732aa6&bhcl_id=0e8c2f93-05f1-431f-8161-da9aa4f8cf2c_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Download The Report</a></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=2de3c927-d2dd-4500-9a40-966387b54788&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Traffic Source Fields in GA4 BigQuery Schema Demystified</title>
  <description></description>
  <link>https://bigquery.optizent.com/p/traffic-source-fields-in-ga4-bigquery-schema-demystified</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/traffic-source-fields-in-ga4-bigquery-schema-demystified</guid>
  <pubDate>Thu, 10 Apr 2025 23:45:15 +0000</pubDate>
  <atom:published>2025-04-10T23:45:15Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">When you export GA4 data to BigQuery, you will find several source, medium, and other data fields related to traffic.  In this post, I will help you understand what type of information in these fields so you can choose the right one for your data analysis.</p><p class="paragraph" style="text-align:left;">There are three columns of the record type that contain traffic-related information.  These fields are</p><ol start="1"><li><p class="paragraph" style="text-align:left;">traffic_source</p></li><li><p class="paragraph" style="text-align:left;">collected_traffic_source</p></li><li><p class="paragraph" style="text-align:left;">session_traffic_source_last_click</p></li></ol><p class="paragraph" style="text-align:left;">Let&#39;s look at each of these fields. </p><h2 class="heading" style="text-align:left;" id="traffic-source">traffic_source</h2><p class="paragraph" style="text-align:left;">This record field contains the details about the first traffic source that acquired the user.  These values do not change if the user interacts with subsequent campaigns. </p><p class="paragraph" style="text-align:left;">You can use this information to get the same information that you get in the User Acquisition report in GA4.</p><h3 class="heading" style="text-align:left;" id="collected-traffic-source"><b>collected_traffic_source</b></h3><p class="paragraph" style="text-align:left;">This field contains the traffic source data that is available with each event. For example, if a session first start the journey from Google search engine, then session_start and other events will contain this information. However, if, in the middle of the session, the user decides to go back to Bing and then find the link to come back to the session, any events following that will contain information related to Bing.</p><p class="paragraph" style="text-align:left;">This field can help you look at the traffic information at the event level so that you can analyze if users go back to another traffic source during their visits.</p><h3 class="heading" style="text-align:left;" id="session-traffic-source-last-click"><b>session_traffic_source_last_click</b></h3><p class="paragraph" style="text-align:left;">The session_traffic_source_last_click record contains the last-click attributed session traffic source data across Google ads and manual contexts, where available.</p><p class="paragraph" style="text-align:left;">This is the information that will match your Session acquisition report in GA4.</p><p class="paragraph" style="text-align:left;">If you want to see the entire list of data fields within these records, then see the post at <a class="link" href="https://www.optizent.com/blog/traffic-source-fields-in-ga4-bigquery-schema-demystified/?utm_source=beehiiv&utm_medium=email&utm_campaign=traffic-source-fields-in-ga4-bigquery-schema-demystified" target="_blank" rel="noopener noreferrer nofollow">https://www.optizent.com/blog/traffic-source-fields-in-ga4-bigquery-schema-demystified/</a></p><div class="embed"><a class="embed__url" href="https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?utm_source=beehiiv&utm_medium=email&utm_campaign=traffic-source-fields-in-ga4-bigquery-schema-demystified" target="_blank"><div class="embed__content"><p class="embed__title"> ry & SQL Fundamentals with GA4 Data </p><p class="embed__description"> Get started with BigQuery & SQL using GA4 Data with this course. Learn SQL Fundamentals that you will need. </p><p class="embed__link"> academy.optizent.com/courses/bigquery-sql-fundamentals-ga4 </p></div><img class="embed__image embed__image--right" src="https://s3.amazonaws.com/contents.newzenler.com/597/courses/175680/data/thumb/l-6.jpg"/></a></div></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=110a9d04-a7d8-4d0f-b6e1-82756cf3c447&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>GA4 + BigQuery: 2 Videos to Help You Get Started with Confidence</title>
  <description></description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/98cdae5a-d30b-4c41-a017-1a08cd7e6bff/Optizent_Academy__2_.png" length="283502" type="image/png"/>
  <link>https://bigquery.optizent.com/p/ga4-bigquery-2-videos-to-help-you-get-started-with-confidence</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/ga4-bigquery-2-videos-to-help-you-get-started-with-confidence</guid>
  <pubDate>Sat, 14 Dec 2024 19:10:15 +0000</pubDate>
  <atom:published>2024-12-14T19:10:15Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:start;">The biggest challenge with learning anything new is the “getting started” part.</p><p class="paragraph" style="text-align:start;">If you want to learn BigQuery but haven’t yet haven’t yet started then I recommend that you watch the following two videos:</p><ul><li><p class="paragraph" style="text-align:start;"><a class="link" href="https://academy.optizent.com/f/getting-started-with-ga4-bigquery-step-by-step-guide?utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-bigquery-2-videos-to-help-you-get-started-with-confidence" target="_blank" rel="noopener noreferrer nofollow">Getting Started with BigQuery for GA4: A Step by Step Guide</a></p></li><li><p class="paragraph" style="text-align:start;"><a class="link" href="https://academy.optizent.com/f/making-sense-of-ga4-data-in-bigquery?utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-bigquery-2-videos-to-help-you-get-started-with-confidence" target="_blank" rel="noopener noreferrer nofollow">How to Make Sense of GA4 Data in BigQuery</a></p></li></ul><p class="paragraph" style="text-align:start;">Best regards,<br>Anil Batra<br>Optizent Academy</p><p class="paragraph" style="text-align:start;">P.S. Ready to take your learning to the next step? Check out this course: <a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQNOW&utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-bigquery-2-videos-to-help-you-get-started-with-confidence" target="_blank" rel="noopener noreferrer nofollow">https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQNOW</a></p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="run-irl-ads-as-easily-as-ppc">Run IRL ads as easily as PPC</h3><div class="image"><a class="image__link" href="https://www.AdQuick.com/?utm_campaign={{publication_alphanumeric_id}}&utm_source=beehiiv&_bhiiv=opp_e3379d4e-3c2b-49a8-b12d-feb9e760d92c_a0e96baa&bhcl_id=cb1fc9a9-f497-43ed-b19e-ef84e2516ab8_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/269821fd-9742-48bb-9edf-816e43e8ccac/AdQuick_Newsletter_Hero_2.png?t=1718994504"/></a></div><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.AdQuick.com/?utm_campaign={{publication_alphanumeric_id}}&utm_source=beehiiv&_bhiiv=opp_e3379d4e-3c2b-49a8-b12d-feb9e760d92c_a0e96baa&bhcl_id=cb1fc9a9-f497-43ed-b19e-ef84e2516ab8_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">AdQuick</a> unlocks the benefits of Out Of Home (OOH) advertising in a way no one else has. Approaching the problem with eyes to performance, created for marketers with the engineering excellence you’ve come to expect for the internet.</p><p class="paragraph" style="text-align:left;">Marketers agree OOH is one of the best ways for building brand awareness, reaching new customers, and reinforcing your brand message. It’s just been difficult to scale. But with AdQuick, you can plan, deploy and measure campaigns as easily as digital ads, making them a no-brainer to add to your team’s toolbox.</p><p class="paragraph" style="text-align:left;">You can learn more at <a class="link" href="https://www.AdQuick.com/?utm_campaign={{publication_alphanumeric_id}}&utm_source=beehiiv&_bhiiv=opp_e3379d4e-3c2b-49a8-b12d-feb9e760d92c_a0e96baa&bhcl_id=cb1fc9a9-f497-43ed-b19e-ef84e2516ab8_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">AdQuick.com</a></p><p class="paragraph" style="text-align:left;"></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=3b6e93de-a573-4a45-9ad6-a33fa1bec873&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>🔥 Last Chance: 40% off BigQuery for Marketers and Marketing Analytics Course </title>
  <description></description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/98cdae5a-d30b-4c41-a017-1a08cd7e6bff/Optizent_Academy__2_.png" length="283502" type="image/png"/>
  <link>https://bigquery.optizent.com/p/last-chance-40-off-bigquery-for-marketers-and-marketing-analytics-course</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/last-chance-40-off-bigquery-for-marketers-and-marketing-analytics-course</guid>
  <pubDate>Sun, 01 Dec 2024 19:03:47 +0000</pubDate>
  <atom:published>2024-12-01T19:03:47Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:start;">I wanted to let you know that only a day is left to enroll in my comprehensive <a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER&utm_source=beehiiv&utm_medium=email&utm_campaign=last-chance-40-off-bigquery-for-marketers-and-marketing-analytics-course" target="_blank" rel="noopener noreferrer nofollow">BigQuery for Marketers & Marketing Analysts course</a> for 40% off.</p><p class="paragraph" style="text-align:start;">👉 <a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER&utm_source=beehiiv&utm_medium=email&utm_campaign=last-chance-40-off-bigquery-for-marketers-and-marketing-analytics-course" target="_blank" rel="noopener noreferrer nofollow">Click here to learn more and enroll</a>.</p><p class="paragraph" style="text-align:start;">The course material includes the content I use to run full-day workshops at various conferences and organizations.</p><p class="paragraph" style="text-align:start;">Here is what you will learn in this course.</p><ul><li><p class="paragraph" style="text-align:left;"><b>Learn and Master SQL</b>: With simple, easy-to-understand lessons perfect for beginners and those who already know SQL. You will learn everything you need to know to use GA4 and other data sets.</p></li><li><p class="paragraph" style="text-align:left;"><b>Master BigQuery</b>: Learn how to work with BigQuery, Google’s powerful data warehouse, to run SQL queries on large datasets.</p></li><li><p class="paragraph" style="text-align:left;"><b>Work with GA4 Data</b>: Apply SQL and BigQuery to real-world GA4 data, helping you uncover deeper insights and make smarter business decisions.</p></li><li><p class="paragraph" style="text-align:left;"><b>Step-by-Step Learning</b>: No prior experience needed! We guide you through the entire process at a beginner’s pace.</p></li></ul><p class="paragraph" style="text-align:start;">🔑 <b>Why this course is perfect for you:</b></p><ul><li><p class="paragraph" style="text-align:left;"><b>Build Essential Data Skills</b>: SQL and BigQuery are critical tools for any data professional, and mastering them will set you apart in your career.</p></li><li><p class="paragraph" style="text-align:left;"><b>Analyze GA4 Data Like a Pro</b>: Learn how to combine the power of BigQuery with SQL to make the most of your GA4 data. </p></li><li><p class="paragraph" style="text-align:left;"><b>Huge Savings</b>: 40% off with Black Friday offer. This is the best price you will ever get on this course.</p></li></ul><p class="paragraph" style="text-align:start;"><b>Sign up now</b> and take the first step towards mastering SQL and BigQuery!</p><div class="embed"><a class="embed__url" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER&utm_source=beehiiv&utm_medium=email&utm_campaign=last-chance-40-off-bigquery-for-marketers-and-marketing-analytics-course" target="_blank"><div class="embed__content"><p class="embed__title"> BigQuery for Marketers and Marketing Analysts </p><p class="embed__description"> BigQuery for Marketers and Marketing Analysts. Step by step course that teaches you everything from scratch. </p><p class="embed__link"> academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER </p></div><img class="embed__image embed__image--right" src="https://s3.us-east-1.amazonaws.com/contents.newzenler.com/597/library/ptizent-cademy-25f8f3dfaa2ac0_lg.png"/></a></div><p class="paragraph" style="text-align:start;">Best regards,<br>Anil Batra<br>Optizent Academy</p><p class="paragraph" style="text-align:start;">P.S. This is the only course that gets you from not knowing what BigQuery and SQL is to mastering them. Don’t miss this opportunity, click here to enroll, <a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER&utm_source=beehiiv&utm_medium=email&utm_campaign=last-chance-40-off-bigquery-for-marketers-and-marketing-analytics-course" target="_blank" rel="noopener noreferrer nofollow">https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=554bfe59-8d55-42db-af1c-5ea0b35c9d5f&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>40% off BigQuery for Marketing Analytics Course</title>
  <description>Master BigQuery and SQL knowledge is not only required for working with GA4 but will also open up doors for new career opportunities. </description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/98cdae5a-d30b-4c41-a017-1a08cd7e6bff/Optizent_Academy__2_.png" length="283502" type="image/png"/>
  <link>https://bigquery.optizent.com/p/40-off-bigquery-for-marketing-analytics-course</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/40-off-bigquery-for-marketing-analytics-course</guid>
  <pubDate>Thu, 28 Nov 2024 08:17:23 +0000</pubDate>
  <atom:published>2024-11-28T08:17:23Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:start;">This week, you can master BigQuery with my comprehensive <a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER&utm_source=beehiiv&utm_medium=email&utm_campaign=40-off-bigquery-for-marketing-analytics-course" target="_blank" rel="noopener noreferrer nofollow">BigQuery for Marketers & Marketing Analysts course</a> for a super low price.</p><p class="paragraph" style="text-align:start;"><a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER&utm_source=beehiiv&utm_medium=email&utm_campaign=40-off-bigquery-for-marketing-analytics-course" target="_blank" rel="noopener noreferrer nofollow">Click here to learn more and enroll </a>.</p><p class="paragraph" style="text-align:start;">Here’s what you’ll learn:</p><ul><li><p class="paragraph" style="text-align:left;"><b>SQL Made Easy</b>: Master SQL with simple, easy-to-understand lessons perfect for beginners. You will learn everything you need to know to use GA4 and any other data sets.</p></li><li><p class="paragraph" style="text-align:left;"><b>Master BigQuery</b>: Learn how to work with BigQuery, Google’s powerful data warehouse, to run SQL queries on large datasets.</p></li><li><p class="paragraph" style="text-align:left;"><b>Work with GA4 Data</b>: Apply SQL and BigQuery to real-world GA4 data, helping you uncover deeper insights and make smarter business decisions.</p></li><li><p class="paragraph" style="text-align:left;"><b>Step-by-Step Learning</b>: No prior experience needed! We guide you through the entire process at a beginner’s pace.</p></li></ul><p class="paragraph" style="text-align:start;">🔑 <b>Why this course is perfect for you:</b></p><ul><li><p class="paragraph" style="text-align:left;"><b>Build Essential Data Skills</b>: SQL and BigQuery are critical tools for any data professional, and mastering them will set you apart in your career.</p></li><li><p class="paragraph" style="text-align:left;"><b>Analyze GA4 Data Like a Pro</b>: Learn how to combine the power of BigQuery with SQL to make the most of your GA4 data.</p></li><li><p class="paragraph" style="text-align:left;"><b>Huge Savings</b>: 40% off with Black Friday offer.</p></li></ul><p class="paragraph" style="text-align:start;"><b>Sign up now</b> and take the first step towards mastering SQL and BigQuery!</p><div class="embed"><a class="embed__url" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER&utm_source=beehiiv&utm_medium=email&utm_campaign=40-off-bigquery-for-marketing-analytics-course" target="_blank"><div class="embed__content"><p class="embed__title"> BigQuery for Marketers and Marketing Analysts </p><p class="embed__description"> BigQuery for Marketers and Marketing Analysts. Step by step course that teaches you everything from scratch. </p><p class="embed__link"> academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER </p></div><img class="embed__image embed__image--right" src="https://s3.us-east-1.amazonaws.com/contents.newzenler.com/597/library/ptizent-cademy-25f8f3dfaa2ac0_lg.png"/></a></div><p class="paragraph" style="text-align:start;">Best regards,<br>Anil Batra<br>Optizent Academy</p><p class="paragraph" style="text-align:start;">P.S. This is the only course that gets you from not knowing what BigQuery and SQL is to mastering them. Don’t miss this opportunity, click here to enroll, <a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER&utm_source=beehiiv&utm_medium=email&utm_campaign=40-off-bigquery-for-marketing-analytics-course" target="_blank" rel="noopener noreferrer nofollow">https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?coupon=BQBFOFFER</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;"></p><h3 class="heading" style="text-align:left;" id="seeking-impartial-news-meet-1440">Seeking impartial news? Meet 1440.</h3><p class="paragraph" style="text-align:left;">Every day, 3.5 million readers turn to <a class="link" href="https://l.join1440.com/bh?utm_source=beehiiv&utm_medium=cpc&utm_campaign={{publication_name_param}}_{{publication_alphanumeric_id}}&utm_content=prospecting_impartial&_bhiiv=opp_a9b74de2-ee69-4638-8ee9-eae8b53ac819_1b75ca79&bhcl_id=1c5875af-7b06-4f55-a797-e77e2837777d_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">1440</a> for their factual news. We sift through 100+ sources to bring you a complete summary of politics, global events, business, and culture, all in a brief 5-minute email. Enjoy an impartial news experience.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://l.join1440.com/bh?utm_source=beehiiv&utm_medium=cpc&utm_campaign={{publication_name_param}}_{{publication_alphanumeric_id}}&utm_content=prospecting_impartial&_bhiiv=opp_a9b74de2-ee69-4638-8ee9-eae8b53ac819_1b75ca79&bhcl_id=1c5875af-7b06-4f55-a797-e77e2837777d_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Join for free today!</a></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=09bc9336-d26a-4cd5-b8f3-5e1e1f6de3a4&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Create Looker Studio Reports with GA4 Data in BigQuery</title>
  <description>Master GA4 BigQuery with Bite-sized lessons.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/dd01e7ec-a2ef-4480-ad0a-70206b62d6b5/bq-table-selector.JPG" length="61095" type="image/jpeg"/>
  <link>https://bigquery.optizent.com/p/create-looker-studio-reports-with-ga4-data-in-bigquery</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/create-looker-studio-reports-with-ga4-data-in-bigquery</guid>
  <pubDate>Sat, 19 Oct 2024 19:25:15 +0000</pubDate>
  <atom:published>2024-10-19T19:25:15Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">In this post I will show how you can use the <a class="link" href="https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALSYT&utm_source=beehiiv&utm_medium=email&utm_campaign=create-looker-studio-reports-with-ga4-data-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">GA4 data in BigQuery</a> to build reports in <a class="link" href="https://academy.optizent.com/courses/looker-studio?utm_source=beehiiv&utm_medium=email&utm_campaign=create-looker-studio-reports-with-ga4-data-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">Looker Studio</a>.</p><p class="paragraph" style="text-align:left;">To get started, make sure you have integrated GA4 and BigQuery and have a Looker Studio account ready.</p><p class="paragraph" style="text-align:left;">Here are the steps</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Go to Looker Studio and click on &quot;Blank Report&quot; to create a new report.</p><div class="image"><img alt="" class="image__image" style="" src="https://www.optizent.com/blog/wp-content/uploads/2024/10/look-studio-blank-report.jpg"/></div></li><li><p class="paragraph" style="text-align:left;">You will be promoted to &quot;Add data to report&quot;.</p></li><li><p class="paragraph" style="text-align:left;">Select BigQuery from the list of connectors. If you don&#39;t see BigQuery in the list then use the search bar above to search for BigQuery connector.</p><div class="image"><img alt="" class="image__image" style="" src="https://www.optizent.com/blog/wp-content/uploads/2024/10/look-studio-big-query-data-source.jpg"/></div></li><li><p class="paragraph" style="text-align:left;">Pick the table that you want to use for your report.  You can only pick one table from the list. To add all 4 GA4 tables you will have to make 4 data connections. Let&#39;s first connect with daily events table.</p><div class="image"><img alt="" class="image__image" style="" src="https://www.optizent.com/blog/wp-content/uploads/2024/10/bq-table-selector-1024x490.jpg"/></div></li><li><p class="paragraph" style="text-align:left;">Next pick the Configuration template, there is only one available for event table called &quot;Event&quot;. The template provides you the data in a format that you can easily use in Looker Studio. I assume there will be more templates that will be released in the future.  For some of the tables, you might not see an option to pick a template. In that case you will just pick the table and go to Step 8.</p></li><li><p class="paragraph" style="text-align:left;">Next click on the &quot;Add&quot; button in the top right bottom.</p></li><li><p class="paragraph" style="text-align:left;">You might be promoted with a message confirming that you are adding a data to the report. Click on &quot;ADD TO REPORT&quot; button.</p><div class="image"><img alt="" class="image__image" style="" src="https://www.optizent.com/blog/wp-content/uploads/2024/10/data-add-confirmation.jpg"/></div></li><li><p class="paragraph" style="text-align:left;">Now the data sources is added. You will see that Looker Studio automatically creates one table chart for you.</p></li><li><p class="paragraph" style="text-align:left;">Go ahead and modify the looker studio any way you want. You will see all your dimensions and metrics available in the dimensions and metrics pickers.</p></li><li><p class="paragraph" style="text-align:left;">Not the template that we picked in the step above will help you get the names of the paramater, counts of users etc.</p></li><li><p class="paragraph" style="text-align:left;">To add additional tables from BigQuery (or any other data source), click on &quot;Resource&quot; menu option on top.</p><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="" src="https://www.optizent.com/blog/wp-content/uploads/2024/10/manage-added-data-source.jpg"/></div><p class="paragraph" style="text-align:left;"></p></li><li><p class="paragraph" style="text-align:left;">Select &quot;Manage added data sources&quot;. This will show you all the data sources that you have added in your report.</p></li><li><p class="paragraph" style="text-align:left;">Click on &quot;+ ADD A DATA SOURCE&quot; and you will be presented with the same screen that you saw in Step 6 above.</p><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="" src="https://www.optizent.com/blog/wp-content/uploads/2024/10/add-a-data-source.jpg"/></div><p class="paragraph" style="text-align:left;"></p></li></ol><p class="paragraph" style="text-align:left;">Now you are ready to build Looker Studio reports using GA4 data in BigQuery.</p><p class="paragraph" style="text-align:left;">If you organization is data driven then the default template provided for tables is likely not going to be enough for your reporting needs.  In that case you will have to create databases views and table to meet your need. You will be able to connect with those tables and views the same way we did above.</p><p class="paragraph" style="text-align:left;">If you need help with GA4, BigQuery or Looker Studio, reach out to us at <a class="link" href="mailto:support@optizent.com" target="_blank" rel="noopener noreferrer nofollow">support@optizent.com</a> or  fill the <a class="link" href="https://www.optizent.com/contact?utm_source=beehiiv&utm_medium=email&utm_campaign=create-looker-studio-reports-with-ga4-data-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">contact us form</a>.</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="join-in-january-grow-all-year">Join in January, grow all year</h3><div class="image"><a class="image__link" href="https://www.honeybook.com/lp/2025-january-jumpstart?utm_source=beehiiv_MSP&utm_medium=partner&utm_campaign=janjumpstart_2025_{{publication_alphanumeric_id}}&_bhiiv=opp_9ca10471-a71e-4f0d-b224-965f9ce431e0_d65b9051&bhcl_id=90e00bec-4b51-4ef1-ad55-730c1863b154_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0a965221-d7cf-4d8f-bfc3-fc4f98b20949/JanuaryJumpstart_BeehiivVA_1200x600.png?t=1735931016"/></a></div><p class="paragraph" style="text-align:left;">Take on 2025 with the tools to manage leads, clients, and projects like a pro—and a chance to <a class="link" href="https://www.honeybook.com/lp/2025-january-jumpstart?utm_source=beehiiv_MSP&utm_medium=partner&utm_campaign=janjumpstart_2025_{{publication_alphanumeric_id}}&_bhiiv=opp_9ca10471-a71e-4f0d-b224-965f9ce431e0_d65b9051&bhcl_id=90e00bec-4b51-4ef1-ad55-730c1863b154_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">win a $10,000 prize package</a> for your business.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.honeybook.com/lp/2025-january-jumpstart?utm_source=beehiiv_MSP&utm_medium=partner&utm_campaign=janjumpstart_2025_{{publication_alphanumeric_id}}&_bhiiv=opp_9ca10471-a71e-4f0d-b224-965f9ce431e0_d65b9051&bhcl_id=90e00bec-4b51-4ef1-ad55-730c1863b154_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Start for free for a chance to win</a></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=a759b41a-bf8f-4f1b-824d-ead6458204f0&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>How to Use Google AI Model, Gemini in BigQuery</title>
  <description>Use the power of AI to generate SQL queries using natural language</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/6a69a9ca-cec8-48d2-8ca4-64c58e41eb00/sql-generation-tool2.JPG" length="27990" type="image/jpeg"/>
  <link>https://bigquery.optizent.com/p/how-to-use-google-ai-model-gemini-in-bigquery</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/how-to-use-google-ai-model-gemini-in-bigquery</guid>
  <pubDate>Fri, 11 Oct 2024 18:57:13 +0000</pubDate>
  <atom:published>2024-10-11T18:57:13Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">In the previous post, I walked you through the<a class="link" href="https://www.optizent.com/blog/using-google-ai-model-gemini-in-bigquery-to-generate-sql-queries/?utm_source=beehiiv&utm_medium=email&utm_campaign=how-to-use-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow"> steps of enabling Gemini, a Google AI model, in BigQuery</a>. In this of the post I will show you how to use AI in BigQuery.</p><p class="paragraph" style="text-align:left;">After Gemini, Google’s AI model, is enabled in BigQuery, click on the “* Pencil” icon on the right hand side of console window. It will open up a dropdown with a list of all available Gemini features and a checkmark next to the ones that are enabled.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/4d0b1380-eee0-483e-86a0-f64d251e9158/gemini-enabled.JPG?t=1728592953"/></div><p class="paragraph" style="text-align:left;">Clicking on the feature will allow you to disable it or enable it back again if you need it.</p><h2 class="heading" style="text-align:left;" id="what-do-these-features-do"><b>What Do These Features Do</b></h2><p class="paragraph" style="text-align:left;"><b>Auto-Generation</b></p><p class="paragraph" style="text-align:left;">With the features, you can write a natural language comment in the BigQuery query editor to generate a SQL query. </p><p class="paragraph" style="text-align:left;">Here are the step to use this feature</p><ul><li><p class="paragraph" style="text-align:left;">Type # (hashtag ) or -- (two dashes) to start the prompt.</p></li><li><p class="paragraph" style="text-align:left;">Next type your prompt</p></li><li><p class="paragraph" style="text-align:left;">Wait for Gemini to process your prompt and write the SQL</p></li><li><p class="paragraph" style="text-align:left;">Press tab to accept the SQL</p></li></ul><p class="paragraph" style="text-align:left;">In the screen below, is an example of a prompt and the SQL that Gemini wrote.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/260727ed-4588-4d75-ac2c-f37633f3f2b6/code-by-gemini-auto-generate.JPG?t=1728623926"/></div><p class="paragraph" style="text-align:left;"><b>SQL generation tool</b></p><p class="paragraph" style="text-align:left;">With this feature, you can enter natural language text in a tool to generate a SQL query, with options to refine query results, choose table sources, and compare results.</p><p class="paragraph" style="text-align:left;">To use this feature, click on the *Pencil icon that appears in the query window (see the image below). You can also right click in the query window to open the SQL Generation tool.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8093d9ee-1311-4cd6-b4c4-acdb012d9449/sql-generation-tool.JPG?t=1728625173"/></div><p class="paragraph" style="text-align:left;">Clicking on it will open the SQL Generation tool where you can write your prompt to generate SQL.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/6a69a9ca-cec8-48d2-8ca4-64c58e41eb00/sql-generation-tool2.JPG?t=1728625396"/></div><p class="paragraph" style="text-align:left;">After you write your prompt and click “GENERATE” button, you will see the following window with SQL. You can then refine the SQL further or accept it as is. I will write more about this in the future posts.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/40d10ae3-3d07-4926-877f-90bb9df384c3/sql-generation-tool3.JPG?t=1728625497"/></div><p class="paragraph" style="text-align:left;"><b>Explanation</b></p><p class="paragraph" style="text-align:left;">With this feature, you can prompt Gemini in to explain a SQL query in natural language. I will write more about this in the future posts. For now lets just see how it works.</p><p class="paragraph" style="text-align:left;">Select SQL in the query window and right click on “Explain current selection”. This will open a panel explaining the SQL that you selected.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/03838934-5730-462f-ac4c-93c4d2908b17/sql-explaination-gemini.JPG?t=1728625835"/></div><p class="paragraph" style="text-align:left;">So that’s all for now. I hope Google AI in BigQuery helps you write better and fast SQL code. <a class="link" href="https://bigquery.optizent.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=how-to-use-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">Click here to upgrade to support this newsletter and get advanced content.</a></p><hr class="content_break"><p class="paragraph" style="text-align:left;">Note: If you haven’t yet started with BigQuery then don’t be left behind. Here is a course to get you started, <a class="link" href="https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALSYT&utm_source=beehiiv&utm_medium=email&utm_campaign=how-to-use-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALSYT</a></p><p class="paragraph" style="text-align:left;">If have some background in BigQuery (have been following this newsletter series) then checkout my BigQuery for Marketers and Marketing Analytics course. <a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?utm_source=beehiiv&utm_medium=email&utm_campaign=how-to-use-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts</a> (Only BigQuery course designed for non-technical folks).</p><h2 class="heading" style="text-align:start;" id="need-big-query-and-ga-4-help">Need BigQuery and GA4 help?</h2><p class="paragraph" style="text-align:start;">Contact us at <a class="link" href="mailto:support@optizent.com" target="_blank" rel="noopener noreferrer nofollow">support@optizent.com</a> or fill the <a class="link" href="https://www.optizent.com/contact/?utm_source=beehiiv&utm_medium=email&utm_campaign=how-to-use-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow" style="color: rgb(76, 153, 186)">contact us form</a>.</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="use-ai-as-your-personal-assistant">Use AI as Your Personal Assistant</h3><div class="image"><a class="image__link" href="https://offers.hubspot.com/ai-delegation?utm_medium=email-media-newsletter&utm_source={{publication_alphanumeric_id}}&utm_campaign=creator&utm_content=beehiiv&utm_term=6-1-2024&_bhiiv=opp_5d8c7818-3177-463c-b433-02dc05275fed_928b37de&bhcl_id=2c940a9a-9e19-4af9-9014-460f48446888_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/17c776c8-8aad-45d6-aba9-71a2e51c315b/AI_Task_Delegation_2.png?t=1718208627"/></a></div><p class="paragraph" style="text-align:left;">Ready to embrace a new era of task delegation? </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://offers.hubspot.com/ai-delegation?utm_medium=email-media-newsletter&utm_source={{publication_alphanumeric_id}}&utm_campaign=creator&utm_content=beehiiv&utm_term=6-1-2024&_bhiiv=opp_5d8c7818-3177-463c-b433-02dc05275fed_928b37de&bhcl_id=2c940a9a-9e19-4af9-9014-460f48446888_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">HubSpot’s</a> highly anticipated AI Task Delegation Playbook is your key to supercharging your productivity and saving precious time.</p><p class="paragraph" style="text-align:left;">Learn how to integrate AI technology into your processes, allowing you to optimize resource allocation and maximize output with precision and ease. </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://offers.hubspot.com/ai-delegation?utm_medium=email-media-newsletter&utm_source={{publication_alphanumeric_id}}&utm_campaign=creator&utm_content=beehiiv&utm_term=6-1-2024&_bhiiv=opp_5d8c7818-3177-463c-b433-02dc05275fed_928b37de&bhcl_id=2c940a9a-9e19-4af9-9014-460f48446888_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Download Now!</a></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=eb354d30-1043-4df8-88e0-455f3f3ec036&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Enable Google AI Model, Gemini in BigQuery </title>
  <description>Use the power of AI to generate SQL queries using natural language</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/504ac0f7-a649-49ea-a6db-a3724fd6430e/enable-gemini.JPG" length="29595" type="image/jpeg"/>
  <link>https://bigquery.optizent.com/p/enable-google-ai-model-gemini-in-bigquery</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/enable-google-ai-model-gemini-in-bigquery</guid>
  <pubDate>Thu, 26 Sep 2024 17:38:34 +0000</pubDate>
  <atom:published>2024-09-26T17:38:34Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">Gemini is a Google AI model that you can now use in BigQuery to assist you in writing SQL queries for any data including GA4.</p><p class="paragraph" style="text-align:start;">It is a great tool for both beginners and experienced analysts. Beginners can learn SQL with help of Gemini while experienced folks can use it to expedite the SQL writing.</p><p class="paragraph" style="text-align:start;">Gemini is not enabled by default in your BigQuery console. Follow the steps below to enable it.</p><hr class="content_break"><p class="paragraph" style="text-align:start;">Note: If you haven’t yet started with BigQuery then don’t be left behind. Here is a course to get you started, <a class="link" href="https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALSYT&utm_source=beehiiv&utm_medium=email&utm_campaign=enable-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALSYT</a></p><hr class="content_break"><h2 class="heading" style="text-align:start;" id="how-to-enable-gemini-in-big-query">How to Enable Gemini in BigQuery</h2><ol start="1"><li><p class="paragraph" style="text-align:left;">Enable necessary APIs.</p></li><li><p class="paragraph" style="text-align:left;">Grant required Identity and Access Management (IAM) roles.</p></li><li><p class="paragraph" style="text-align:left;">Turn on Gemini in BigQuery features in the Google Cloud console.</p></li></ol><div class="image"><img alt="" class="image__image" style="" src="https://www.optizent.com/blog/wp-content/uploads/2024/09/enable-gemini.jpg"/></div><p class="paragraph" style="text-align:start;"><b>Enable Gemini APIs</b></p><p class="paragraph" style="text-align:start;">Note: You will need to be either an administrator or project owner with the <b><a class="link" href="https://serviceusage.services?utm_source=beehiiv&utm_medium=email&utm_campaign=enable-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">serviceusage.services</a></b><b>.enable</b> permission to perform the following steps.</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://console.cloud.google.com/marketplace/product/google/cloudaicompanion.googleapis.com?utm_source=beehiiv&utm_medium=email&utm_campaign=enable-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow" style="color: rgb(76, 153, 186)">Go to Gemini for Google Cloud page</a>.</p></li><li><p class="paragraph" style="text-align:left;">Click <b>Enable</b>.</p></li><li><p class="paragraph" style="text-align:left;">You will see the status as Enabled and now Gemini is available in BigQuery in the selected Google Cloud project.</p></li></ol><h3 class="heading" style="text-align:start;" id="iam-permissions"><b>IAM Permissions</b></h3><ol start="1"><li><p class="paragraph" style="text-align:left;">Go to the <a class="link" href="https://console.cloud.google.com/projectselector/iam-admin/iam?supportedpurview=&utm_source=beehiiv&utm_medium=email&utm_campaign=enable-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow" style="color: rgb(76, 153, 186)">IAM & Admin page.</a></p></li><li><p class="paragraph" style="text-align:left;">Click on <b>View by principals</b>.</p></li><li><p class="paragraph" style="text-align:left;">In the <b>Principal</b> column, find the user (principal) for which you want to enable access to Gemini in BigQuery</p></li><li><p class="paragraph" style="text-align:left;">Click edit <b>Edit principal</b> in that row.</p></li><li><p class="paragraph" style="text-align:left;">In the <b>Edit access</b> pane, click add <b>Add another role</b>.</p></li><li><p class="paragraph" style="text-align:left;">In the <b>Select a role</b> list, select <b>Gemini for Google Cloud User</b>.</p></li><li><p class="paragraph" style="text-align:left;">This will grant the Cloud AI Companion User IAM role (roles/cloudaicompanion.user) to the user.</p></li></ol><div class="image"><img alt="" class="image__image" style="" src="https://www.optizent.com/blog/wp-content/uploads/2024/09/view-by-principal-1024x415.jpg"/></div><h3 class="heading" style="text-align:start;" id="turn-on-big-query-features-in-your-"><b>Turn on BigQuery Features in Your Project</b></h3><ol start="1"><li><p class="paragraph" style="text-align:left;">In the Google Cloud console, on the project selector page, select the Google Cloud project.</p></li><li><p class="paragraph" style="text-align:left;">In the Google Cloud console, go to the <b>BigQuery</b> page.</p></li><li><p class="paragraph" style="text-align:left;">In the toolbar, click the pen with sparks (<b>Gemini)</b> drop-down icon.<br></p><div class="image"><img alt="" class="image__image" style="" src="https://www.optizent.com/blog/wp-content/uploads/2024/09/gemini-bigquery-console.jpg"/></div></li><li><p class="paragraph" style="text-align:left;">In the dropdown list of features, select the features that you want to enable in your project. I have enabled all the features (see the screenshot above):</p><ul><li><p class="paragraph" style="text-align:left;">Gemini in SQL query:</p><ul><li><p class="paragraph" style="text-align:left;"><b>Auto-generation</b>: Allows you to use Gemini in BigQuery to generate a SQL query using natural language prompts.</p></li><li><p class="paragraph" style="text-align:left;"><b>SQL generation tool</b>: Same as above to generate a SQL query, with options to refine query results, choose table sources, and compare results.</p></li><li><p class="paragraph" style="text-align:left;"><b>Explanation</b>: This help you use Gemini to explain the SQL query in natural language so that you can easily understand it.</p></li></ul></li><li><p class="paragraph" style="text-align:left;">Gemini in Python notebook:</p><ul><li><p class="paragraph" style="text-align:left;"><b>Code completion</b> (Preview): Use Gemini to contextually appropriate recommendations based on what you already have in the notebook.</p></li><li><p class="paragraph" style="text-align:left;"><b>Code generation</b>: Use Gemini to generate Python code using natural language.</p></li></ul></li></ul></li></ol><p class="paragraph" style="text-align:start;">Now Gemini is enabled and ready to be used. In the next post, I will show how to use Gemini to generate SQL.</p><h2 class="heading" style="text-align:start;" id="need-big-query-and-ga-4-help">Need BigQuery and GA4 help?</h2><p class="paragraph" style="text-align:start;">Contact us at <a class="link" href="mailto:support@optizent.com" target="_blank" rel="noopener noreferrer nofollow">support@optizent.com</a> or fill the <a class="link" href="https://www.optizent.com/contact/?utm_source=beehiiv&utm_medium=email&utm_campaign=enable-google-ai-model-gemini-in-bigquery" target="_blank" rel="noopener noreferrer nofollow" style="color: rgb(76, 153, 186)">contact us form</a>.</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="use-ai-as-your-personal-assistant">Use AI as Your Personal Assistant</h3><div class="image"><a class="image__link" href="https://offers.hubspot.com/ai-delegation?utm_medium=email-media-newsletter&utm_source={{publication_alphanumeric_id}}&utm_campaign=creator&utm_content=beehiiv&utm_term=6-1-2024&_bhiiv=opp_18e1bf8c-c16b-4f61-a0a0-19708dd542f8_928b37de&bhcl_id=4861ba5d-e47b-46d1-a864-72ebc151df43_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/17c776c8-8aad-45d6-aba9-71a2e51c315b/AI_Task_Delegation_2.png?t=1718208627"/></a></div><p class="paragraph" style="text-align:left;">Ready to embrace a new era of task delegation? </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://offers.hubspot.com/ai-delegation?utm_medium=email-media-newsletter&utm_source={{publication_alphanumeric_id}}&utm_campaign=creator&utm_content=beehiiv&utm_term=6-1-2024&_bhiiv=opp_18e1bf8c-c16b-4f61-a0a0-19708dd542f8_928b37de&bhcl_id=4861ba5d-e47b-46d1-a864-72ebc151df43_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">HubSpot’s</a> highly anticipated AI Task Delegation Playbook is your key to supercharging your productivity and saving precious time.</p><p class="paragraph" style="text-align:left;">Learn how to integrate AI technology into your processes, allowing you to optimize resource allocation and maximize output with precision and ease. </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://offers.hubspot.com/ai-delegation?utm_medium=email-media-newsletter&utm_source={{publication_alphanumeric_id}}&utm_campaign=creator&utm_content=beehiiv&utm_term=6-1-2024&_bhiiv=opp_18e1bf8c-c16b-4f61-a0a0-19708dd542f8_928b37de&bhcl_id=4861ba5d-e47b-46d1-a864-72ebc151df43_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Download Now!</a></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=c5111658-c323-43bb-bea6-2783da0a7d44&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>85% off BigQuery and SQL with GA4 Fundamentals Course</title>
  <description></description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/053c6cd7-7e88-4f45-8918-73416630d535/Getting_Started_with_BigQuery__1_.png" length="367627" type="image/png"/>
  <link>https://bigquery.optizent.com/p/bigquery-sql-fundamentals-ga4-course</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/bigquery-sql-fundamentals-ga4-course</guid>
  <pubDate>Thu, 19 Sep 2024 18:11:29 +0000</pubDate>
  <atom:published>2024-09-19T18:11:29Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">Are you ready to dive into the world of data analysis? </p><p class="paragraph" style="text-align:start;">I am excited to launch a new <a class="link" href="https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALS&utm_source=beehiiv&utm_medium=email&utm_campaign=85-off-bigquery-and-sql-with-ga4-fundamentals-course" target="_blank" rel="noopener noreferrer nofollow"><b>Beginner-Level SQL and BigQuery Course</b></a>, designed to teach you the fundamentals of <b>SQL</b> and how to use <b>BigQuery</b> with <b>Google Analytics 4 (GA4) data</b>!</p><p class="paragraph" style="text-align:start;">If you enroll during this launch period then you can get the course for only <a class="link" href="https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALS&utm_source=beehiiv&utm_medium=email&utm_campaign=85-off-bigquery-and-sql-with-ga4-fundamentals-course" target="_blank" rel="noopener noreferrer nofollow" style="color: rgb(51, 151, 255)">$14.55 (85% off the regular price)</a>.</p><p class="paragraph" style="text-align:start;">Here’s what you’ll learn:</p><ul><li><p class="paragraph" style="text-align:left;"><b>SQL Fundamentals Made Easy</b>: Master the basics of SQL with simple, easy-to-understand lessons perfect for beginners.</p></li><li><p class="paragraph" style="text-align:left;"><b>Introduction to BigQuery</b>: Learn how to work with BigQuery, Google’s powerful data warehouse, to run SQL queries on large datasets.</p></li><li><p class="paragraph" style="text-align:left;"><b>Work with GA4 Data</b>: Apply SQL and BigQuery to real-world GA4 data, helping you uncover deeper insights and make smarter business decisions.</p></li><li><p class="paragraph" style="text-align:left;"><b>Step-by-Step Learning</b>: No prior experience needed! We guide you through the entire process at a beginner’s pace.</p></li><li><p class="paragraph" style="text-align:left;"><b>Lifetime Access</b>: Study at your convenience and revisit the material whenever you want.</p></li></ul><p class="paragraph" style="text-align:start;">🔑 <b>Why this course is perfect for you:</b></p><ul><li><p class="paragraph" style="text-align:left;"><b>Build Essential Data Skills</b>: SQL and BigQuery are critical tools for any data professional, and mastering them will set you apart in your career.</p></li><li><p class="paragraph" style="text-align:left;"><b>Analyze GA4 Data Like a Pro</b>: Learn how to combine the power of BigQuery with SQL to make the most of your GA4 data.</p></li><li><p class="paragraph" style="text-align:left;"><b>Huge Savings</b>: Grab this course for just <b>15% of the original price</b> with our limited-time offer!</p></li></ul><p class="paragraph" style="text-align:start;"><b>Sign up now</b> and take the first step towards mastering SQL and BigQuery!</p><p class="paragraph" style="text-align:start;">Sign up at - &gt; <a class="link" href="https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALS&utm_source=beehiiv&utm_medium=email&utm_campaign=85-off-bigquery-and-sql-with-ga4-fundamentals-course" target="_blank" rel="noopener noreferrer nofollow">https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4</a> - <i>Only available for the next 24 hours, so enroll now. (Use Coupon Code: BQFUNDAMENTALS)</i></p><p class="paragraph" style="text-align:start;">If you have any questions or need more details, feel free to reply to this email. We can’t wait to help you on your learning journey!</p><p class="paragraph" style="text-align:start;">Best regards,<br>Anil Batra<br>Optizent Academy</p><p class="paragraph" style="text-align:start;">P.S. <a class="link" href="https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALS&utm_source=beehiiv&utm_medium=email&utm_campaign=85-off-bigquery-and-sql-with-ga4-fundamentals-course" target="_blank" rel="noopener noreferrer nofollow" style="color: rgb(51, 151, 255)">With an </a><b><a class="link" href="https://academy.optizent.com/courses/bigquery-sql-fundamentals-ga4?coupon=BQFUNDAMENTALS&utm_source=beehiiv&utm_medium=email&utm_campaign=85-off-bigquery-and-sql-with-ga4-fundamentals-course" target="_blank" rel="noopener noreferrer nofollow" style="color: rgb(51, 151, 255)">85% discount</a></b>, this is the perfect time to start learning SQL and BigQuery. Don’t miss out – enroll today!</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=7aeeca32-4a32-40ff-bff9-dfd59698ee29&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Upgrade your BigQuery skills </title>
  <description>Master GA4 Data Analysis in BigQuery and learn SQL</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/23075574-1166-4a5c-906d-05848336aaa1/Copy_of_Copy_of_Copy_of_Don_t_Like_GA4.png" length="90354" type="image/png"/>
  <link>https://bigquery.optizent.com/p/upgrade-bigquery-skills-5bb4</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/upgrade-bigquery-skills-5bb4</guid>
  <pubDate>Tue, 30 Jul 2024 06:55:33 +0000</pubDate>
  <atom:published>2024-07-30T06:55:33Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h2 class="heading" style="text-align:left;" id="upgrade-your-big-query-and-sql-skil">Upgrade your BigQuery and SQL Skills</h2><p class="paragraph" style="text-align:left;">As a founding member of this BigQuery newsletter, you have the opportunity to lock in the <a class="link" href="https://bigquery.beehiiv.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=upgrade-your-bigquery-skills" target="_blank" rel="noopener noreferrer nofollow">premium version of the newslette</a>r for a very low price. This price is about to go up, this might be your last chance to upgrade for a low price.</p><p class="paragraph" style="text-align:left;">SQL and BigQuery skills will open a lot of new job opportunities in various fields such as Data Analytics, Data Engineering, and Marketing Analytics to name a few.</p><p class="paragraph" style="text-align:left;"><b>SQL is a skill that I learned 30 years ago to find my first job and it still pays me.</b> </p><p class="paragraph" style="text-align:left;">The premium version provides:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Advanced lessons and content.</p></li><li><p class="paragraph" style="text-align:left;">SQL scripts to recreate GA4 metrics and reports in BigQuery</p></li><li><p class="paragraph" style="text-align:left;">Lessons to leverage all types of data, not just GA4, in BigQuery</p></li><li><p class="paragraph" style="text-align:left;">The SQL queries that you can use right away to help you solve business problems and shine in front of your boss. These queries will save you lots of hours and money. We charge our clients hundreds and thousands of dollars to write these SQL Queries. and you are getting them for just a few dollars. </p></li></ol><p class="paragraph" style="text-align:left;">It is time for you to upgrade your skills. You have a lot to gain by adding this skill to your resume.</p><p class="paragraph" style="text-align:left;">Click below to become a premium member so that you never have to worry about learning SQL and BigQuery.</p><p class="paragraph" style="text-align:left;">If you have any questions then don’t hesitate to reach out to me at <a class="link" href="mailto:anil@optizent.com" target="_blank" rel="noopener noreferrer nofollow">anil@optizent.com</a></p><p class="paragraph" style="text-align:left;">Upgrade by clicking on the button below or going to <a class="link" href="https://bigquery.beehiiv.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=upgrade-your-bigquery-skills" target="_blank" rel="noopener noreferrer nofollow">https://bigquery.beehiiv.com/upgrade</a></p><div class="paywall"><hr class="paywall__break"/><div class="paywall__content"><h2 class="paywall__header"> Subscribe to Premium to read the rest. </h2><p class="paywall__description"> Become a paying subscriber of Premium to get access to this post and other subscriber-only content. </p><p class="paywall__links"><a class="paywall__upgrade_link" href="https://bigquery.optizent.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=upgrade-your-bigquery-skills">Upgrade</a> Translation missing: en.app.shared.conjuction.or <a class="paywall__login_link" href="https://bigquery.optizent.com/login?utm_source=beehiiv&utm_medium=email&utm_campaign=upgrade-your-bigquery-skills">Sign In</a></p><div class="paywall__upsell"><div class="paywall__upsell_header"><h3> A subscription gets you </h3></div><ul class="paywall__upsell_features"><li class="paywall__upsell_feature"> Advanced Content </li><li class="paywall__upsell_feature"> Readymade SQL Scripts </li></ul></div></div></div></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=cae6d2e5-3829-4050-abdf-29842287a965&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>BigQuery Table Explorer</title>
  <description>BigQuery Console Feature to Help You Generate SQL Queries</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/149836c7-79e7-4fd5-a72f-700503801f35/table-exploer-final.JPG" length="86842" type="image/jpeg"/>
  <link>https://bigquery.optizent.com/p/bigquery-table-explorer</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/bigquery-table-explorer</guid>
  <pubDate>Fri, 26 Jul 2024 15:14:24 +0000</pubDate>
  <atom:published>2024-07-26T15:14:24Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">BigQuery Table Explorer provides a way for you to explore the data contained in various fields (columns) of a table and also create no-code SQL queries based on your selection of the fields.</p><p class="paragraph" style="text-align:left;">This feature is great for both beginners who are learning SQL and getting familiar with <a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?utm_source=beehiiv&utm_medium=email&utm_campaign=bigquery-table-explorer" target="_blank" rel="noopener noreferrer nofollow">BigQuery, SQL and the GA4 </a>data, as well as for those who are experts and need to quickly review the distinct values in a a column.</p><p class="paragraph" style="text-align:left;">Below are the step to use Table Explorer feature in BigQuery. </p><p class="paragraph" style="text-align:left;">In the Google Cloud console, go to the project that contains the data that you want to explore.</p><p class="paragraph" style="text-align:left;">In the Explorer pane, select the table that you want to explore and create the query for.</p><p class="paragraph" style="text-align:left;">This opens up table schema. You can select the columns from the schema or click the “TABLE EXPLORER” tab, and then click “SELECT FIELDS” button.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/301dfe2a-24d4-454d-9374-719912e775ea/table-explorer-tables.JPG?t=1721956961"/><div class="image__source"><span class="image__source_text"><p>Table Schema view</p></span></div></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1302ac20-c91b-476a-b367-30d8b5e1ccd6/table-explorer-tab.JPG?t=1722006410"/><div class="image__source"><span class="image__source_text"><p>Table Explorer Tab</p></span></div></div><p class="paragraph" style="text-align:left;">In the Select fields pane, you can select up to 10 table fields to explore. </p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/7c4dc353-8c0f-49b0-afeb-111e4a593e28/select-fields.JPG?t=1722006466"/></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Once you select the columns click on “EXPLORE” button on top (if you go from the Schema tab) or click “Save” button when you from “TABLE EXPLORER” tab.</p><p class="paragraph" style="text-align:left;">This will now show you cards for each column that you selected and SQL Query based on your selection.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/d5242c75-72e0-428c-b108-92400e61ac30/table-explore.JPG?t=1721956878"/></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/cebaa466-8293-47d1-95aa-2167a7889094/explore-sql.JPG?t=1721957028"/></div><p class="paragraph" style="text-align:left;">You can copy this query into a new query in query editor, or apply the query in table explorer. </p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/149836c7-79e7-4fd5-a72f-700503801f35/table-exploer-final.JPG?t=1721957139"/></div><h2 class="heading" style="text-align:left;" id="video-of-table-explorer">Video of Table Explorer</h2><p class="paragraph" style="text-align:left;">If you want to watch the video of BigQuery Table Explorer then click on the following link. </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://youtu.be/Os9FQaalXNY?utm_source=beehiiv&utm_medium=email&utm_campaign=bigquery-table-explorer" target="_blank" rel="noopener noreferrer nofollow">https://youtu.be/Os9FQaalXNY</a></p><h2 class="heading" style="text-align:left;" id="a-few-more-things-to-know">A few more things to know</h2><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Exceptions</b>: Nested record type columns such as event_params are not supported in this feature.</p></li><li><p class="paragraph" style="text-align:left;"><b>Cost</b>: Table explorer runs queries to display table exploration results. These queries incur compute pricing charges. You can also incur compute charges if you run a query generated by table explorer.</p></li><li><p class="paragraph" style="text-align:left;"><b>Permissions</b>: You will BigQuery Job user on the project and BigQuery Data Viewer permissions on all the tables that you want to explore. </p><p class="paragraph" style="text-align:left;">If you created the account are admin then you have all the required permissions.</p></li><li><p class="paragraph" style="text-align:left;">Learn BigQuery with GA4 data at <a class="link" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?utm_source=beehiiv&utm_medium=email&utm_campaign=bigquery-table-explorer" target="_blank" rel="noopener noreferrer nofollow">https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts</a></p></li></ol><p class="paragraph" style="text-align:left;">Happy Learning!</p><p class="paragraph" style="text-align:left;">Anil Batra, Your Digital Analytics Coach<br><a class="link" href="https://www.optizent.com?utm_source=beehiiv&utm_medium=email&utm_campaign=bigquery-table-explorer" target="_blank" rel="noopener noreferrer nofollow">Optizent.com</a></p><hr class="content_break"><h3 class="heading" style="text-align:left;">Use AI as Your Personal Assistant</h3><div class="image"><a class="image__link" href="https://offers.hubspot.com/ai-delegation?utm_medium=email-media-newsletter&utm_source={{publication_alphanumeric_id}}&utm_campaign=creator&utm_content=beehiiv&utm_term=6-1-2024&_bhiiv=opp_c5facadb-dcfa-4b4d-b3f0-2d0832aa43ec_928b37de&bhcl_id=a26ccbce-9b0f-4687-817f-debe51db6150_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/17c776c8-8aad-45d6-aba9-71a2e51c315b/AI_Task_Delegation_2.png?t=1718208627"/></a></div><p class="paragraph" style="text-align:left;">Ready to embrace a new era of task delegation? </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://offers.hubspot.com/ai-delegation?utm_medium=email-media-newsletter&utm_source={{publication_alphanumeric_id}}&utm_campaign=creator&utm_content=beehiiv&utm_term=6-1-2024&_bhiiv=opp_c5facadb-dcfa-4b4d-b3f0-2d0832aa43ec_928b37de&bhcl_id=a26ccbce-9b0f-4687-817f-debe51db6150_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">HubSpot’s</a> highly anticipated AI Task Delegation Playbook is your key to supercharging your productivity and saving precious time.</p><p class="paragraph" style="text-align:left;">Learn how to integrate AI technology into your processes, allowing you to optimize resource allocation and maximize output with precision and ease. </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://offers.hubspot.com/ai-delegation?utm_medium=email-media-newsletter&utm_source={{publication_alphanumeric_id}}&utm_campaign=creator&utm_content=beehiiv&utm_term=6-1-2024&_bhiiv=opp_c5facadb-dcfa-4b4d-b3f0-2d0832aa43ec_928b37de&bhcl_id=a26ccbce-9b0f-4687-817f-debe51db6150_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Download Now!</a></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=0213a4e3-d9d9-4043-8eff-0c6594e8c280&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Purchases not showing up in GA4</title>
  <description>How BigQuery helped.</description>
  <link>https://bigquery.optizent.com/p/purchases-not-showing-ga4</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/purchases-not-showing-ga4</guid>
  <pubDate>Wed, 24 Jul 2024 20:22:49 +0000</pubDate>
  <atom:published>2024-07-24T20:22:49Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">Recently <a class="link" href="https://www.optizent.com/google-analytics-consulting-services/?utm_source=beehiiv&utm_medium=email&utm_campaign=purchases-not-showing-up-in-ga4" target="_blank" rel="noopener noreferrer nofollow">we were auditing a GA4</a> account but no purchase data was showing up.</p><p class="paragraph" style="text-align:left;">The natural way for anybody to debug that is to make sure</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Purchase event is firing</p></li><li><p class="paragraph" style="text-align:left;">Make sure it is sending the right parameters</p></li><li><p class="paragraph" style="text-align:left;">Make sure it is sending to the right GA4 property</p></li><li><p class="paragraph" style="text-align:left;">and so on.</p></li></ol><p class="paragraph" style="text-align:left;">And that’s exactly were the first steps. This setup was a bit more complicated because purchase data was sent via server-side tracking. So we did check the <a class="link" href="https://academy.optizent.com/courses/google-tag-manager-server-side?utm_source=beehiiv&utm_medium=email&utm_campaign=purchases-not-showing-up-in-ga4" target="_blank" rel="noopener noreferrer nofollow">server-side setup</a> as well and it looked fine.</p><p class="paragraph" style="text-align:left;">Everything looked fine. However no data was showing up in GA4.</p><p class="paragraph" style="text-align:left;">Our default audit setup also includes sending the GA4 data to BigQuery. In this case the client had that already setup so we could see the past data.</p><p class="paragraph" style="text-align:left;">And guess what? The purchase data was in BigQuery but not in GA4.</p><p class="paragraph" style="text-align:left;">So GA4 was hiding that data, which happens in case of <a class="link" href="https://www.optizent.com/blog/ga4-thresholding-applied-what-is-ga4-data-threshold-and-how-to-resolve-it/?utm_source=beehiiv&utm_medium=email&utm_campaign=purchases-not-showing-up-in-ga4" target="_blank" rel="noopener noreferrer nofollow">thresholding but there there was no thresholding message shown in GA4.</a></p><p class="paragraph" style="text-align:left;">So BigQuery confirmed that indeed all the purchase data was being sent to GA4 and there was no issue with purchase tags, trigger or values. Having this knowledge shifted our focus from debugging tag firing and parameters to why GA4 is withholding that information.</p><p class="paragraph" style="text-align:left;">Further digging into BigQuery data showed us the reason.</p><p class="paragraph" style="text-align:left;">There was an issue with user id setup.</p><p class="paragraph" style="text-align:left;">Now I can’t go into every single detail because every setup in different and every issue is different but the point of this post is to tell you the important of looking at the raw data because aggregated data in GA4 does not tell you the full story.</p><p class="paragraph" style="text-align:left;">Ability to send GA4 data to BigQuery is one of the best features of GA4 . Don’t let it go waste. Having the data in BigQuery gives deeper insights and debugging capabilities that are just not possible with GA4 interface.</p><p class="paragraph" style="text-align:left;">So if you haven’t yet started with BigQuery then do it right away. You will be amazed how much time and effort you save while debugging GA4.</p><p class="paragraph" style="text-align:left;">(Note: I do cover such cases and go over the details of how we solved them in<a class="link" href="https://academy.optizent.com/courses/membership?utm_source=beehiiv&utm_medium=email&utm_campaign=purchases-not-showing-up-in-ga4" target="_blank" rel="noopener noreferrer nofollow"> Optizent Inner Circle Membership</a>).</p><hr class="content_break"><h3 class="heading" style="text-align:left;" id="get-smarter-on-ai-in-5-minutes-a-da">Get smarter on AI in 5 minutes a day.</h3><p class="paragraph" style="text-align:left;">The Rundown is the world’s largest AI newsletter, read by over 600,000 professionals from companies like Apple, OpenAI, NASA, Tesla, and more.</p><p class="paragraph" style="text-align:left;">Their expert research team spends all day learning what’s new in AI and gives you ‘the rundown’ of the most important developments in one free email every morning.</p><p class="paragraph" style="text-align:left;">The result? Readers not only keep up with the insane pace of AI but also learn <b>why it actually matters.</b></p><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/4d03390d-2481-4299-b949-ffd8b38b4c38?email={{email}}&utm_source=beehiiv&utm_campaign={{publication_name_param}}&redirect_to=https%3A%2F%2Fupscribe.page%2Faa34c745df&redirect_delay=1&_bhiiv=opp_955c4e40-8451-409e-b2f8-fd59c9ce95a3_e4221c46&bhcl_id=20212549-808a-4f6b-aae5-10df79e40c0e_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Subscribe with one click.</a></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=f8f42db4-a1f3-4916-b446-abe35294f4d9&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>GA4 To BigQuery in 3 Simple Steps</title>
  <description>Beginners guide to sending your GA4 data to BigQuery</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ccc2b345-9a90-4320-b4d0-547d62097778/bigquery-api.JPG" length="57625" type="image/jpeg"/>
  <link>https://bigquery.optizent.com/p/3-steps-ga4-bigquery</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/3-steps-ga4-bigquery</guid>
  <pubDate>Fri, 19 Jul 2024 16:17:37 +0000</pubDate>
  <atom:published>2024-07-19T16:17:37Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">If you have already connected GA4 to BigQuery then you can skip this email. If you haven’t yet started then continue reading.</p><p class="paragraph" style="text-align:left;">Recently a lot of Universal Analytics clients were scrambling to backup there old data. Some of them learned that they can&#39;t back up the entire historical data because of the data retention settings they had in place.</p><p class="paragraph" style="text-align:start;">If you have migrated to GA4, it is time to make sure that you don&#39;t run into the same issues in the future.</p><p class="paragraph" style="text-align:start;">In <a class="link" href="https://academy.optizent.com/courses/digital-marketing-and-analytics-live-classes?coupon=LIVESESSIONS&utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-to-bigquery-in-3-simple-steps" target="_blank" rel="noopener noreferrer nofollow">my recent live session</a>, I covered three simple steps to get your GA4 data backed up in BigQuery every day, and that&#39;s what I am going to show you in this post. If you would rather watch the video then go to <a class="link" href="https://www.youtube.com/watch?v=n3vrKaMdtkw&utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-to-bigquery-in-3-simple-steps" target="_blank" rel="noopener noreferrer nofollow">https://www.youtube.com/watch?v=n3vrKaMdtkw</a>.</p><h2 class="heading" style="text-align:start;" id="ga-4-to-big-query-in-3-simple-steps">GA4 to BigQuery in 3 Simple Steps</h2><ol start="1"><li><p class="paragraph" style="text-align:left;">Create a BigQuery Account and Project in Google Cloud</p></li><li><p class="paragraph" style="text-align:left;">Enable GA4 to BigQuery Setting in GA4</p></li><li><p class="paragraph" style="text-align:left;">Enable BigQuery API in Google Clouds</p></li></ol><h3 class="heading" style="text-align:start;" id="step-1-create-a-big-query-and-proje"><b>Step 1: Create a BigQuery and Project In Google Cloud</b></h3><p class="paragraph" style="text-align:start;">Go to <a class="link" href="https://cloud.google.com/bigquery?utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-to-bigquery-in-3-simple-steps" target="_blank" rel="noopener noreferrer nofollow">https://cloud.google.com/bigquery</a></p><p class="paragraph" style="text-align:start;">Click on &quot;Get Started for Free&quot; or a big button on the page that let&#39;s your create your account.</p><p class="paragraph" style="text-align:start;">Go through the steps and make sure to enter your credit card and signup for paid version. Don&#39;t worry you won&#39;t be charged right away and you might never be charged as BigQuery give you a lot of free data storage and query processing every month. If you are worried then reach out to us and we can help you setup some alters which will alter you if you are about to go over your free threshold.</p><p class="paragraph" style="text-align:start;">When you create an account, your project will be automatically created. Project is where your GA4 dataset will be created.</p><h3 class="heading" style="text-align:start;" id="step-2-enable-ga-4-big-query-integr"><b>Step 2: Enable GA4 + BigQuery integration</b></h3><p class="paragraph" style="text-align:start;">Go to Admin panel in GA4.</p><p class="paragraph" style="text-align:start;">Go to &quot;Product links&quot; section and click on &quot;BigQuery links&quot;.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/5adb88bc-c22c-4d9c-b31c-e83bb39c9969/image.png?t=1721405470"/></div><p class="paragraph" style="text-align:start;">Follow the prompts and pick the project that you just created in the previous step.</p><p class="paragraph" style="text-align:start;">Check all the boxes that you see. If you want to know what those boxes are for then <a class="link" href="https://www.youtube.com/watch?v=n3vrKaMdtkw&utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-to-bigquery-in-3-simple-steps" target="_blank" rel="noopener noreferrer nofollow">watch the video</a>.</p><p class="paragraph" style="text-align:start;">Go ahead and save.</p><p class="paragraph" style="text-align:start;">Now you are ready to send the GA4 data to BigQuery.</p><h3 class="heading" style="text-align:start;" id="step-3-enable-big-query-ap-is"><b>Step 3: Enable BigQuery APIs.</b></h3><p class="paragraph" style="text-align:start;">In BigQuery click on the hamburger menu in the top left corner, scroll down to API & Services and then select Library.</p><p class="paragraph" style="text-align:start;">You can also go directly to <a class="link" href="https://console.cloud.google.com/apis/library?utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-to-bigquery-in-3-simple-steps" target="_blank" rel="noopener noreferrer nofollow">https://console.cloud.google.com/apis/library</a></p><p class="paragraph" style="text-align:start;">Search for BigQuery APIs and then click on enable button.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c0a9a776-65f8-4eee-8ec1-409f462154f9/image.png?t=1721366130"/></div><p class="paragraph" style="text-align:start;">That&#39;s it, now your GA4 data will start to flow to BigQuery. You will have to wait for 24 hours or so for the first day of the data.</p><p class="paragraph" style="text-align:start;">We can get you and your team trained on BigQuery. If interested then email me at <a class="link" href="mailto:support@optizent.com" target="_blank" rel="noopener noreferrer nofollow">support@optizent.com</a>. We can also help you setup everything and get it working for you.</p><h2 class="heading" style="text-align:left;" id="watch-the-ga-4-to-big-query-in-3-st">Watch The GA4 to BigQuery in 3 Steps Video</h2><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/163d0dcb-f8a1-4fc4-be9c-f6464163f74a/GA4_Data_To_BigQuery__2_.png?t=1721367518"/></div><h2 class="heading" style="text-align:left;" id="upgrade-to-premium-level">Upgrade to Premium Level</h2><p class="paragraph" style="text-align:start;">I cover a lot of advanced level concepts and SQL in the advanced section of my newsletter. Currently, you have an opportunity to lock in a low discount prices and get access to all of my premium content. </p><p class="paragraph" style="text-align:start;">Upgrade by visiting <a class="link" href="https://bigquery.beehiiv.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-to-bigquery-in-3-simple-steps" target="_blank" rel="noopener noreferrer nofollow">https://bigquery.beehiiv.com/upgrade</a></p><hr class="content_break"><h3 class="heading" style="text-align:left;">Learn AI in 5 Minutes a Day</h3><div class="image"><a class="image__link" href="https://magic.beehiiv.com/v1/31a7c576-0eb2-4ef3-abc7-bc75ede786fe?email={{email}}&utm_source=beehiiv&utm_campaign={{publication_name_param}}&_bhiiv=opp_d33722d1-6600-41ad-8959-4b17d36d445b_65769d95&bhcl_id=2e497659-3dd9-45d8-843c-8b41ab8d4cf1_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/05871070-24c8-4c42-a00f-a6b736c829a4/hero_imagery.png?t=1712076292"/></a></div><p class="paragraph" style="text-align:left;">AI Tool Report is one of the fastest-growing and most respected newsletters in the world, with over 550,000 readers from companies like OpenAI, Nvidia, Meta, Microsoft, and more. </p><p class="paragraph" style="text-align:left;">Our research team spends hundreds of hours a week summarizing the latest news, and finding you the best opportunities to save time and earn more using AI.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/31a7c576-0eb2-4ef3-abc7-bc75ede786fe?email={{email}}&utm_source=beehiiv&utm_campaign={{publication_name_param}}&_bhiiv=opp_d33722d1-6600-41ad-8959-4b17d36d445b_65769d95&bhcl_id=2e497659-3dd9-45d8-843c-8b41ab8d4cf1_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Sign up with 1-Click</a></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=df164a40-ea4e-45d3-8555-15a1d35a4a16&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>25 String Functions in BigQuery that You Must Know</title>
  <description>GA4 BigQuery Step by Step</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/23075574-1166-4a5c-906d-05848336aaa1/Copy_of_Copy_of_Copy_of_Don_t_Like_GA4.png" length="90354" type="image/png"/>
  <link>https://bigquery.optizent.com/p/25-string-functions-in-bigquery</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/25-string-functions-in-bigquery</guid>
  <pubDate>Tue, 02 Jul 2024 19:30:25 +0000</pubDate>
  <atom:published>2024-07-02T19:30:25Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
    <category><![CDATA[Beginner Level]]></category>
    <category><![CDATA[Intermediate Level]]></category>
    <category><![CDATA[Bigquery]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"><span style="color:rgb(31, 31, 31);font-size:16px;">String functions in BigQuery allow you to manipulate the data that you retrieve with your SQL queries.</span></p><p class="paragraph" style="text-align:left;">In this post, I am introducing 10+ string functions that you must know to excel in BigQuery. In future posts, I will share specific use cases for these functions.</p><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>CONCACT</b>(value 1, value 2, value 3, ….) - This function allows you to combine various values into a single value. For example, if you have first name and last name in separate fields but you need the full name of the person then you can use this function to combine those values.</p><p class="paragraph" style="text-align:left;">Example: SELECT CONCAT(“Anil”, “ “, “Batra”) will return ‘Anil Batra’</p></li><li><p class="paragraph" style="text-align:left;"><b>LOWER</b>(value)- This function turns all the characters of the specified value into lowercase.</p><p class="paragraph" style="text-align:left;">Example: SELECT LOWER(“OPTIZENT”) will return ‘optizent’</p></li><li><p class="paragraph" style="text-align:left;"><b>UPPER</b>(value) - This function turns all the characters of the specified value into uppercase. </p><p class="paragraph" style="text-align:left;">Example: SELECT UPPER(“optizent’) will return ‘OPTIZENT’</p></li><li><p class="paragraph" style="text-align:left;"><b>CHAR_LENGTH</b>(value) - This function returns the number of characters in the specified value.</p><p class="paragraph" style="text-align:left;">Example: SELECT CHAR_LENGTH(“OPTIZENT”) will return 8</p></li><li><p class="paragraph" style="text-align:left;"><b>CHARCATER_LENGTH</b>(value) - Similar to CHAR_LENGTH, this function returns the number of characters in the specified value.</p><p class="paragraph" style="text-align:left;">Example: SELECT CHARACTER_LENGTH(“OPTIZENT”) will return 8</p></li><li><p class="paragraph" style="text-align:left;"><b>LENGTH</b>(value) - Similar to CHAR_LENGTH, this function returns the number of characters in the specified value.</p></li><li><p class="paragraph" style="text-align:left;"><b>SUBSTR</b>(value, position, [length]) - this function returns a portion of the specified value starting from the position that is specified in the function to the end of the string or number of characters specified in the length parameter, which is optional.</p><p class="paragraph" style="text-align:left;">Example: SELECT SUBSTRING(“Anil Batra”, 6) will return ‘Batra’</p><p class="paragraph" style="text-align:left;">SELECT SUBSTRING(“Anil Batra”, 6, 3) will return ‘Bat’</p></li><li><p class="paragraph" style="text-align:left;"><b>SUBSTRING</b>(value, position, [length])) - This is an alias of SUBSTR and works just like it.</p></li><li><p class="paragraph" style="text-align:left;"><b>SPLI</b>T(value, [delimiter]) - This function splits the specified value, containing multiple values separated by a delimiter, into an array of individual values. The delimiter is optional and the default delimiter is a comma.</p><p class="paragraph" style="text-align:left;">Example: SELECT SPLIT(“Anil, Batra, Optizent”) will return an array as [“Anil”, “Batra”, “Optizent”]</p></li><li><p class="paragraph" style="text-align:left;"><b>TRIM</b>(value, [set of characters to be removed]) - This function removes the specified set of characters from the beginning and end of the value passed. The set of characters is optional and if nothing is specified then whitespace characters are removed. The values passed in the function are case-sensitive.</p><p class="paragraph" style="text-align:left;">Example: SELECT TRIM(“ Anil Batra ”) will return “Anil Batra”</p><p class="paragraph" style="text-align:left;">SELECT TRIM(“ Anil Batra”, &quot;a”) will return “Anil Batr”</p></li><li><p class="paragraph" style="text-align:left;"><b>RTRIM</b>(value, [set of characters to be removed]) - Similar to TRIM but only the ending character (right-hand side) is removed.</p><p class="paragraph" style="text-align:left;">Example: SELECT RTRIM(“ Anil Batra”, &quot;A”) will return “Anil Batra” since there is no lowercase “a” on the right-hand side</p></li><li><p class="paragraph" style="text-align:left;"><b>LTRIM</b>(value, [set of characters to be removed]) - Similar to TRIM but only the leading character (left-hand side) is removed.</p><p class="paragraph" style="text-align:left;">Example: SELECT LTRIM(“ Anil Batra”, &quot;A”) will return “nil Batra”.</p></li><li><p class="paragraph" style="text-align:left;"><b>INITCAP</b>(value, [delimiters]) - return the value by capitalizing the initial character of each value separated by the specified delimiters. If no delimiter is specified then whitespace is considered the delimiter.</p><p class="paragraph" style="text-align:left;">Example: SELECT INITCAP(“anil batra”) will return “Anil Batra”</p></li><li><p class="paragraph" style="text-align:left;"><b>LEFT</b>(value, length) - Get a specified number of characters starting from the left of the value specified in the function.</p><p class="paragraph" style="text-align:left;">Example: SELECT LEFT(&quot;Optizent Analytics&quot;, 8 ) will return Optizent.</p></li><li><p class="paragraph" style="text-align:left;"><b>RIGHT</b>(value, length) - Get the specified number of characters starting from the right of the value specified in the function.</p><p class="paragraph" style="text-align:left;">Example: SELECT RIGHT(&quot;Optizent Analytics&quot;, 9 ) will return Analytics.</p></li><li><p class="paragraph" style="text-align:left;"><b>LPAD</b>(value, return length, [pattern to use for padding]) - This function returns the number of characters specified in return length by adding the pattern to the specified value.</p><p class="paragraph" style="text-align:left;">Example: SELECT LPAD(&quot;Optizent Analytics&quot;, 20, &quot;@&quot;) will return “@@Optizent Analytics”. Since the length of the input value (Optizent Analytics) is 18, the function added two @ symbols to make it a length of 20.</p></li><li><p class="paragraph" style="text-align:left;"><b>RPAD</b>(value, return length, [pattern to use for padding]) - Same as LPAD but adds the pattern at the end.</p><p class="paragraph" style="text-align:left;">Example: SELECT RPAD(&quot;Optizent Analytics&quot;, 20, &quot;@&quot;) will return “Optizent Analytics@@”. Since the length of the input value (Optizent Analytics) is 18, the function added two @ symbols to make it a length of 20.</p></li></ol><p class="paragraph" style="text-align:left;">In the above examples, I took a static string value to illustrate how these functions work but you can use these functions on any column in SQL commands.</p><div class="section" style="background-color:transparent;margin:0.0px 0.0px 0.0px 0.0px;padding:0.0px 0.0px 0.0px 0.0px;"><p class="paragraph" style="text-align:left;">In the <a class="link" href="https://bigquery.optizent.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=25-string-functions-in-bigquery-that-you-must-know" target="_blank" rel="noopener noreferrer nofollow">premium version of this newsletter</a>, I have covered 8 more BigQuery String functions.</p><p class="paragraph" style="text-align:left;">To see the entire list <a class="link" href="https://bigquery.optizent.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=25-string-functions-in-bigquery-that-you-must-know" target="_blank" rel="noopener noreferrer nofollow">become a premium subscriber of this newsletter</a>. Premium membership gives you full access to all the SQL and advanced notes and concepts.</p></div><p class="paragraph" style="text-align:left;">Stay tuned for many such lessons.</p><p class="paragraph" style="text-align:left;">Thank you,<br>Anil Batra, <a class="link" href="http://Optizent.com?utm_source=beehiiv&utm_medium=email&utm_campaign=25-string-functions-in-bigquery-that-you-must-know" target="_blank" rel="noopener noreferrer nofollow">Optizent.com</a></p><hr class="content_break"><div class="recommendation"><p class="recommendation__sponsored">Sponsored</p><figure class="recommendation__logo"><img alt="simple.ai by @dharmesh" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/publication/logo/4ce2dfb6-5010-4ceb-b46d-f91c89152a38/1516232433623.jpeg"/></figure><h3 class="recommendation__title"> simple.ai by @dharmesh </h3><p class="recommendation__description"> AI and agents, made simple. Learn how to grow your career or business in the AI age with Dharmesh Shah (co-founder & CTO of HubSpot). Join 2+ million subscribers. </p><a class="recommendation__link" href="https://magic.beehiiv.com/v1/4ce2dfb6-5010-4ceb-b46d-f91c89152a38?boost_send_id=&recommendation_id=492ad0ce-6541-41a9-8316-c814111ac0a9&utm_source=beehiiv&utm_medium=email&utm_campaign=25-string-functions-in-bigquery-that-you-must-know"> Subscribe </a></div></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=01383287-84eb-472e-92d4-264934b4c550&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>GA4 Cohort Analysis in BigQuery</title>
  <description>Recreating GA4 Metrics and Reports in BigQuery</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8f8a8166-d8b7-469e-a884-b55816e486f1/cohort-report.JPG" length="58451" type="image/jpeg"/>
  <link>https://bigquery.optizent.com/p/cohort-analysis-bigquery-ga4</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/cohort-analysis-bigquery-ga4</guid>
  <pubDate>Tue, 21 May 2024 16:21:03 +0000</pubDate>
  <atom:published>2024-05-21T16:21:03Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"><span style="color:rgb(31, 31, 31);font-size:16px;">A group of users who share a common characteristic is called a Cohort. For example, you can create a cohort of all the users who were acquired on a particular date or a cohort of all the users who visited your site on a particular date/week/month, etc. In GA4, you can build a cohort exploration to understand the behavior of a cohort.</span></p><p class="paragraph" style="text-align:left;">Here is a cohort report showing you the users who did any activity on a particular date (in rows). In the columns, you shave the retention of those users.</p><p class="paragraph" style="text-align:left;">For example, on May 13th (first row of data) there were 629 users who did any activity on the site. I used “any event” as cohort criteria and “any event” as return criteria to see the activity. Of those 629, only 37 came back the following day, and only 17 the following day, and so on. </p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8f8a8166-d8b7-469e-a884-b55816e486f1/cohort-report.JPG?t=1716257010"/></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">If you are not familiar with how this exploration works then join my <a class="link" href="https://ga4.optizent.com/subscribe?utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-cohort-analysis-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">GA4 Newsletter</a>, I will discuss it there. In this post, I will share how you can create similar reports using BigQuery. </p><p class="paragraph" style="text-align:left;">In GA4 there are a few things you have to do.</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Decide the granularity of the data. In my example, I am using it daily.</p></li><li><p class="paragraph" style="text-align:left;">Get the list of users who belong to the cohort. In my example, I am looking at users on a particular day, who did any activity on the site.</p></li><li><p class="paragraph" style="text-align:left;">Use that list to query if the user returned on the following day.</p></li><li><p class="paragraph" style="text-align:left;">Repeat this for the date range you want to build the report for.</p></li><li><p class="paragraph" style="text-align:left;">Repeat the above 4 steps for each of the dates in different rows.</p></li></ol><p class="paragraph" style="text-align:left;">Check out the past editions of this newsletter to see how I write the various queries. I am using the concepts that I have covered in the past.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Sample Query</p><div class="codeblock"><pre><code>SELECT distinct user_pseudo_id 
FROM `optizent-test-project.analytics_XXXXX.events_20240413` 
where is_active_user = true</code></pre></div><p class="paragraph" style="text-align:left;">The above query gives you a list of active users on a given date, 13th May in the example above.</p><div class="codeblock"><pre><code>select count(distinct user_pseudo_id) 
FROM `optizent-test-project.analytics_289314775.events_202405*` 
where is_active_user = true
and user_pseudo_id in (&#39;the users selected in the first query&#39;)
and _TABLE_SUFFIX BETWEEN &#39;14&#39; and &#39;19&#39;</code></pre></div><p class="paragraph" style="text-align:left;">This query gives you the count of users who came on 13and and also came on the 6 days following the main date.</p><div class="section" style="background-color:transparent;margin:0.0px 0.0px 0.0px 0.0px;padding:0.0px 0.0px 0.0px 0.0px;"><p class="paragraph" style="text-align:left;">If you want to see the complete sample query, <a class="link" href="https://bigquery.optizent.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=ga4-cohort-analysis-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">become a premium subscriber of this newsletter</a>. Premium membership gives you full access to all the SQL and advanced concepts.</p></div><p class="paragraph" style="text-align:left;">Use the sample queries to practice how to use GA4 data in BigQuery. Stay tuned for more such queries and use cases</p><p class="paragraph" style="text-align:left;">Thank you,<br>Anil Batra, Optizent.com</p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=ce0374ef-e95e-45a1-af50-126b42493ce6&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Recreate GA4 Standard Metrics in BigQuery</title>
  <description>Learn how to calculate Views, Sessions and Users related metrics in BigQuery</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/62725454-5f36-408b-8adf-ea206360a1d0/standard-metrics.JPG" length="8825" type="image/jpeg"/>
  <link>https://bigquery.optizent.com/p/recreate-ga4-standard-metrics-bigquery</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/recreate-ga4-standard-metrics-bigquery</guid>
  <pubDate>Tue, 26 Mar 2024 19:12:01 +0000</pubDate>
  <atom:published>2024-03-26T19:12:01Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;">In the past several posts, I have shown you how to recreate various GA4 standard metrics in BigQuery.</p><p class="paragraph" style="text-align:left;">In this post, I am going to bring all of these together so that you can have all of these in one post. This is the post that you might want to bookmark.</p><h2 class="heading" style="text-align:left;" id="views">Views:</h2><div class="codeblock"><pre><code>SELECT  count(*) 
FROM  `your-project.your-dataset.events_######`
WHERE event_name = &#39;page_view&#39;</code></pre></div><p class="paragraph" style="text-align:left;">In addition to the Views metrics, GA4 also has “Views per session” and “Views per user” metrics.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c39216fe-f3ed-4e8c-b458-4124e9b5a578/views-metrics.JPG?t=1710473136"/></div><p class="paragraph" style="text-align:left;">More details at <a class="link" href="https://bigquery.optizent.com/p/page-view-related-metrics-ga4-bigquery?utm_source=beehiiv&utm_medium=email&utm_campaign=recreate-ga4-standard-metrics-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">https://bigquery.optizent.com/p/page-view-related-metrics-ga4-bigquery</a></p><hr class="content_break"><h2 class="heading" style="text-align:left;" id="sessions">Sessions</h2><p class="paragraph" style="text-align:left;"><span style="color:rgb(34, 34, 34);font-family:Helvetica, Arial, sans-serif;font-size:16px;">There are three ways to get the “Session” metrics in GA4 and each one tells a different story. Here is the right one</span></p><div class="codeblock"><pre><code>SELECT COUNT(DISTINCT CONCAT(user_pseudo_id,value.int_value))
FROM your_project_id.your_dataset_id.your_table_id, unnest(event_params)
WHERE key = &#39;ga_session_id&#39;</code></pre></div><p class="paragraph" style="text-align:left;">More details at <a class="link" href="https://bigquery.optizent.com/p/calculate-ga4-sessions-in-bigquery?utm_source=beehiiv&utm_medium=email&utm_campaign=recreate-ga4-standard-metrics-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">https://bigquery.optizent.com/p/calculate-ga4-sessions-in-bigquery</a></p><hr class="content_break"><h2 class="heading" style="text-align:left;" id="engaged-sessions">Engaged Sessions</h2><p class="paragraph" style="text-align:left;">Here is the SQL. Check the details at <a class="link" href="https://bigquery.optizent.com/p/ga4-engaged-sessions-bigquery?utm_source=beehiiv&utm_medium=email&utm_campaign=recreate-ga4-standard-metrics-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">https://bigquery.optizent.com/p/ga4-engaged-sessions-bigquery</a></p><div class="codeblock"><pre><code>SELECT
 COUNT(DISTINCT
 CASE
     WHEN (SELECT value.string_value FROM      UNNEST(event_params) WHERE key = &#39;session_engaged&#39;) = &#39;1&#39;
  THEN CONCAT(user_pseudo_id,(select value.int_value FROM UNNEST(event_params) WHERE key = &#39;ga_session_id&#39;)) 
  END) as engaged_sessions
from
  `your-project.your-dataset.events_######`</code></pre></div><hr class="content_break"><h2 class="heading" style="text-align:left;" id="total-users">Total Users</h2><p class="paragraph" style="text-align:left;"><span style="color:rgb(31, 31, 31);font-family:Google Sans Text, Roboto, Helvetica Neue, Helvetica, sans-serif, Noto Color Emoji;">“Total Users” is the total number of people who visited your site or app in the specified date range. As mentioned above we will use two different methods to calculate the “Total Users” metrics.</span></p><ol start="1"><li><p class="paragraph" style="text-align:left;">Using user_pseudo_id column in GA4, the SQL will be:</p></li></ol><div class="codeblock"><pre><code>SELECT COUNT(DISTINCT user_pseudo_id)
FROM your_project_id.your_dataset_id.event_######</code></pre></div><p class="paragraph" style="text-align:left;">Since each user’s ID is stored in the user_pseudo_id column, we just need to a distinct count (unique count) of those IDs.</p><ol start="2"><li><p class="paragraph" style="text-align:left;">Using user_id column in GA4, the SQL will be</p></li></ol><div class="codeblock"><pre><code>SELECT COUNT(DISTINCT user_id)
FROM your_project_id.your_dataset_id.event_######</code></pre></div><p class="paragraph" style="text-align:left;">In the above SQL, instead of using user_pseudo_id, I used the user_id column, which stores the known user IDs.</p><p class="paragraph" style="text-align:left;">To calculate Active Users check, <a class="link" href="https://bigquery.optizent.com/p/calculate-total-users-and-active-users-ga4-bigquery?utm_source=beehiiv&utm_medium=email&utm_campaign=recreate-ga4-standard-metrics-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">https://bigquery.optizent.com/p/calculate-total-users-and-active-users-ga4-bigquery</a></p><p class="paragraph" style="text-align:left;">Are you enjoying this newsletter? Would you be willing to write a testimonial?<br>If yes then please hit reply with your comments.</p><p class="paragraph" style="text-align:left;">Thank you,<br>Anil Batra, <a class="link" href="https://www.optizent.com?utm_source=beehiiv&utm_medium=email&utm_campaign=recreate-ga4-standard-metrics-in-bigquery" target="_blank" rel="noopener noreferrer nofollow">Optizent.com</a></p><p class="paragraph" style="text-align:left;">P.S. Need help with GA4 BigQuery? Email me at anil@optizent.com</p><hr class="content_break"><div class="embed"><a class="embed__url" href="https://academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts?utm_source=beehiiv&utm_medium=email&utm_campaign=recreate-ga4-standard-metrics-in-bigquery" target="_blank"><div class="embed__content"><p class="embed__title"> BigQuery for Marketers and Marketing Analysts </p><p class="embed__description"> BigQuery for Marketers and Marketing Analysts. Step-by-step course that teaches you everything from scratch. </p><p class="embed__link"> academy.optizent.com/courses/bigquery-for-marketers-and-marketing-analysts </p></div><img class="embed__image embed__image--right" src="https://s3.us-east-1.amazonaws.com/contents.newzenler.com/597/library/ptizent-cademy-25f8f3dfaa2ac0_lg.png"/></a></div></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=df759d67-2575-4a23-b946-3199de441a12&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Upgrade your BigQuery skills</title>
  <description>Master GA4 Data Analysis in BigQuery and learn SQL</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/23075574-1166-4a5c-906d-05848336aaa1/Copy_of_Copy_of_Copy_of_Don_t_Like_GA4.png" length="90354" type="image/png"/>
  <link>https://bigquery.optizent.com/p/upgrade-bigquery-skills</link>
  <guid isPermaLink="true">https://bigquery.optizent.com/p/upgrade-bigquery-skills</guid>
  <pubDate>Mon, 18 Mar 2024 18:41:33 +0000</pubDate>
  <atom:published>2024-03-18T18:41:33Z</atom:published>
    <dc:creator>Anil Batra</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Helvetica',Arial,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><h2 class="heading" style="text-align:left;" id="upgrade-your-big-query-and-sql-skil">Upgrade your BigQuery and SQL Skills</h2><p class="paragraph" style="text-align:left;">As a founding member of this BigQuery newsletter, you have the opportunity to lock in the <a class="link" href="https://bigquery.beehiiv.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=upgrade-your-bigquery-skills" target="_blank" rel="noopener noreferrer nofollow">premium version of the newslette</a>r for a very low price. </p><p class="paragraph" style="text-align:left;">SQL and BigQuery skills will open a lot of new job opportunities in various fields such as Data Analytics, Data Engineering, and Marketing Analytics to name a few.</p><p class="paragraph" style="text-align:left;"><b>SQL is a skill that I learned 30 years ago to find my first job and it still pays me.</b> </p><p class="paragraph" style="text-align:left;">The premium version provides:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Advanced lessons and content.</p></li><li><p class="paragraph" style="text-align:left;">SQL scripts to recreate GA4 metrics and reports in BigQuery</p></li><li><p class="paragraph" style="text-align:left;">Lessons to leverage all types of data, not just GA4, in BigQuery</p></li><li><p class="paragraph" style="text-align:left;">The SQL queries that you can use right away to help you solve business problems and shine in front of your boss. These queries will save you lots of hours and money. We charge our clients hundreds and thousands of dollars to write these SQL Queries. and you are getting them for just a few dollars. </p></li></ol><p class="paragraph" style="text-align:left;">It is time for you to upgrade your skills. You have a lot to gain by adding this skill to your resume.</p><p class="paragraph" style="text-align:left;">Click below to become a premium member so that you never have to worry about learning SQL and BigQuery.</p><p class="paragraph" style="text-align:left;">If you have any questions then don’t hesitate to reach out to me at <a class="link" href="mailto:anil@optizent.com" target="_blank" rel="noopener noreferrer nofollow">anil@optizent.com</a></p><p class="paragraph" style="text-align:left;">Upgrade by clicking on the button below or going to <a class="link" href="https://bigquery.beehiiv.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=upgrade-your-bigquery-skills" target="_blank" rel="noopener noreferrer nofollow">https://bigquery.beehiiv.com/upgrade</a></p><div class="paywall"><hr class="paywall__break"/><div class="paywall__content"><h2 class="paywall__header"> Subscribe to Premium to read the rest. </h2><p class="paywall__description"> Become a paying subscriber of Premium to get access to this post and other subscriber-only content. </p><p class="paywall__links"><a class="paywall__upgrade_link" href="https://bigquery.optizent.com/upgrade?utm_source=beehiiv&utm_medium=email&utm_campaign=upgrade-your-bigquery-skills">Upgrade</a> Translation missing: en.app.shared.conjuction.or <a class="paywall__login_link" href="https://bigquery.optizent.com/login?utm_source=beehiiv&utm_medium=email&utm_campaign=upgrade-your-bigquery-skills">Sign In</a></p><div class="paywall__upsell"><div class="paywall__upsell_header"><h3> A subscription gets you </h3></div><ul class="paywall__upsell_features"><li class="paywall__upsell_feature"> Advanced Content </li><li class="paywall__upsell_feature"> Readymade SQL Scripts </li></ul></div></div></div></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/?utm_campaign=4dd614b9-82a9-446b-9948-d6dbeff8fb9f&utm_medium=post_rss&utm_source=ga4_bigquery_newsletter_for_marketing_analytics">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

  </channel>
</rss>
