<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nataliia Rumiantsewa</title>
    <description>The latest articles on DEV Community by Nataliia Rumiantsewa (@natalyineu).</description>
    <link>https://dev.to/natalyineu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4285254%2F7b221679-be29-420a-8bed-2330067862ff.jpg</url>
      <title>DEV Community: Nataliia Rumiantsewa</title>
      <link>https://dev.to/natalyineu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/natalyineu"/>
    <language>en</language>
    <item>
      <title>Multi-Touch Attribution for Small Business: Data Guide</title>
      <dc:creator>Nataliia Rumiantsewa</dc:creator>
      <pubDate>Sat, 05 Dec 2026 18:56:44 +0000</pubDate>
      <link>https://dev.to/natalyineu/multi-touch-attribution-for-small-business-data-guide-6ha</link>
      <guid>https://dev.to/natalyineu/multi-touch-attribution-for-small-business-data-guide-6ha</guid>
      <description>&lt;p&gt;Multi-touch attribution (MTA) splits the credit for one sale or lead across several marketing touches instead of giving it all to one. For a small advertiser, it is worth using as a directional tool once paths include several channels, and it should be paired with simpler checks such as promo codes, "how did you hear about us" questions and call tracking. Below: how each model works, what GA4 actually offers, and where MTA breaks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key findings
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Marketing attribution models fall into two groups, single-touch and multi-touch, according to &lt;a href="https://www.stackadapt.com/resources/blog/what-is-marketing-attribution" rel="noopener noreferrer"&gt;StackAdapt&lt;/a&gt; (secondary).&lt;/li&gt;
&lt;li&gt;GA4 Attribution reports offer 3 models: data-driven, paid and organic last click, and Google paid channels last click. The first click, linear, time decay and position-based models were no longer available as of November 2023 (&lt;a href="https://support.google.com/analytics/answer/10596866" rel="noopener noreferrer"&gt;Google Analytics Help&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;All GA4 attribution models exclude direct visits from credit unless the whole path is direct (&lt;a href="https://support.google.com/analytics/answer/10596866" rel="noopener noreferrer"&gt;Google Analytics Help&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;55% of advertisers frequently see conflicting results across their measurement tools, and they use nearly four tools on average, per a 2025 Kantar study cited by &lt;a href="https://www.stackadapt.com/resources/blog/what-is-marketing-attribution" rel="noopener noreferrer"&gt;StackAdapt&lt;/a&gt; (secondary).&lt;/li&gt;
&lt;li&gt;StackAdapt's analysis of about 5 million conversion paths found 52.5% spanned multiple channels (&lt;a href="https://www.stackadapt.com/resources/blog/last-touch-attribution" rel="noopener noreferrer"&gt;StackAdapt&lt;/a&gt;, secondary, own platform data).&lt;/li&gt;
&lt;li&gt;Cross-device matching rates quoted by one vendor guide run 40-60% for deterministic, 60-80% for probabilistic and 70-85% combined (&lt;a href="https://www.attnagency.com/blog/ctv-attribution-incrementality" rel="noopener noreferrer"&gt;Attn&lt;/a&gt;, secondary).&lt;/li&gt;
&lt;li&gt;StackAdapt advises using MTA for directional optimization and treating it as less definitive on causality (&lt;a href="https://www.stackadapt.com/resources/blog/ai-predictive-analytics-advertising" rel="noopener noreferrer"&gt;StackAdapt&lt;/a&gt;, secondary).&lt;/li&gt;
&lt;li&gt;Last-touch credit goes to the final clicked ad, which can undercount TV (&lt;a href="https://adwave.com/resources/garage-door-company-advertising" rel="noopener noreferrer"&gt;Adwave&lt;/a&gt;, secondary).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is multi-touch attribution and why does it matter for a small business?
&lt;/h2&gt;

&lt;p&gt;Multi-touch attribution assigns partial credit to each touchpoint in a customer's path to purchase, instead of crediting one touch only. &lt;a href="https://adwave.com/resources/ad-analysis-examples" rel="noopener noreferrer"&gt;Adwave&lt;/a&gt; (secondary) describes it exactly that way: a model that assigns partial credit to each touchpoint. Single-touch models, by contrast, hand all credit to one interaction.&lt;/p&gt;

&lt;p&gt;The reason it matters is simple. People rarely convert after one ad. A prospect may see an Instagram ad, search the studio name, open the Google listing and then book. A report that credits only the final click makes the earlier touches look worthless, and budget gets cut from the channels that started the journey.&lt;/p&gt;

&lt;p&gt;The measurement problem is widespread, not a small-business quirk. 78% of US decision-makers think at least 10% of marketing spend is wasted due to insufficient measurement, per &lt;a href="https://www.stackadapt.com/resources/blog/what-is-marketing-attribution" rel="noopener noreferrer"&gt;StackAdapt&lt;/a&gt; (secondary, citing eMarketer). Small advertisers feel this more sharply because each wasted dollar is a larger share of the budget.&lt;/p&gt;

&lt;p&gt;An honest caveat applies to all of this. Most of the statistics above come from an ad-tech vendor's blog retelling other studies. They show that the industry struggles with measurement. They do not show that a particular model will fix a particular small business.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the six attribution models and how does each one credit a sale?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.stackadapt.com/resources/blog/attribution-modelling" rel="noopener noreferrer"&gt;StackAdapt&lt;/a&gt; (secondary) states that 6 attribution models are commonly used. Five are formula-based and one, data-driven, learns weights from data. The table below lists what each does.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;How credit is assigned&lt;/th&gt;
&lt;th&gt;Best suited to&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;First touch&lt;/td&gt;
&lt;td&gt;Single-touch&lt;/td&gt;
&lt;td&gt;100% to the first interaction&lt;/td&gt;
&lt;td&gt;Judging which channels create awareness&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Last touch&lt;/td&gt;
&lt;td&gt;Single-touch&lt;/td&gt;
&lt;td&gt;100% to the final interaction before conversion&lt;/td&gt;
&lt;td&gt;Short, one-channel sales cycles&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linear&lt;/td&gt;
&lt;td&gt;Multi-touch&lt;/td&gt;
&lt;td&gt;Equal credit to every touch point&lt;/td&gt;
&lt;td&gt;Journeys where every touch is believed to matter&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Time decay&lt;/td&gt;
&lt;td&gt;Multi-touch&lt;/td&gt;
&lt;td&gt;More credit to touches closer to the conversion&lt;/td&gt;
&lt;td&gt;Promotions with a clear deadline&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Position-based (U-shaped)&lt;/td&gt;
&lt;td&gt;Multi-touch&lt;/td&gt;
&lt;td&gt;40% to first and last touch, rest divided among the middle&lt;/td&gt;
&lt;td&gt;Journeys where discovery and closing both matter&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data-driven&lt;/td&gt;
&lt;td&gt;Multi-touch&lt;/td&gt;
&lt;td&gt;Algorithm weights credit using journey data, no predefined formula&lt;/td&gt;
&lt;td&gt;Accounts with enough conversion data&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Definitions follow &lt;a href="https://www.stackadapt.com/resources/blog/what-is-marketing-attribution" rel="noopener noreferrer"&gt;StackAdapt&lt;/a&gt; (secondary) and &lt;a href="https://adwave.com/resources/multi-channel-marketing-approach" rel="noopener noreferrer"&gt;Adwave&lt;/a&gt; (secondary) for first and last touch.&lt;/p&gt;

&lt;p&gt;A W-shaped model, described in the same StackAdapt article, gives 30% each to the first touch, the last touch and the point where a prospect becomes a lead, then divides the remaining 10% among other touches. It suits longer B2B funnels with a clear lead stage more than a walk-in business.&lt;/p&gt;

&lt;p&gt;Each formula encodes a belief. First touch believes discovery is what matters. Last touch believes closing is. Linear believes nobody can say. None of them measures cause and effect; they only redistribute credit across touches that were already observed.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does GA4 credit conversions, and what happened to the old models?
&lt;/h2&gt;

&lt;p&gt;Google Analytics 4 is where most small advertisers will meet attribution. The Attribution reports offer 3 models: data-driven attribution, paid and organic last click, and Google paid channels last click, per &lt;a href="https://support.google.com/analytics/answer/10596866" rel="noopener noreferrer"&gt;Google Analytics Help&lt;/a&gt;. The help page also states that the first click, linear, time decay and position-based models were no longer available as of November 2023.&lt;/p&gt;

&lt;p&gt;That has a practical consequence. A small business cannot flip between all the textbook models inside GA4. The linear or position-based views in this guide have to be built by hand, in a spreadsheet or in a separate tool.&lt;/p&gt;

&lt;p&gt;The two last-click options differ in scope:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Paid and organic last click ignores direct traffic and gives 100% of the key event value to the last channel clicked. Google also calls this model "Last non-direct click"; the two names refer to the same model.&lt;/li&gt;
&lt;li&gt;Google paid channels last click gives 100% of the value to the last Google Ads channel clicked before converting. It falls back to paid and organic last click when the path has no Google Ads click.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;All GA4 attribution models exclude direct visits from receiving credit, unless the path to the key event consists entirely of direct visits (&lt;a href="https://support.google.com/analytics/answer/10596866" rel="noopener noreferrer"&gt;Google Analytics Help&lt;/a&gt;). A customer who types the studio name after seeing an ad is credited to the earlier channel, not to "direct".&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Data-driven attribution is specific to each advertiser and each key event. It incorporates factors such as time from key event, device type, number of ad interactions, order of ad exposure and type of creative assets. Depending on data availability, it may use aggregate data from Data sharing settings. Conversions can be reattributed for up to 7 days after the conversion. Engaged views count when a user watches an ad for 30 seconds, or to the end if shorter.&lt;/p&gt;

&lt;p&gt;Only a user with the Marketer role or above at the property level can change attribution settings. Check who holds that role before assuming the setting is correct. More on setup basics is in the &lt;a href="https://www.datalatte.pro/blog/google-analytics-4-for-small-business" rel="noopener noreferrer"&gt;GA4 for small business guide&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;Full guide with all sources, data tables and FAQ: &lt;a href="https://www.datalatte.pro/blog/multi-touch-attribution-small-business-guide" rel="noopener noreferrer"&gt;Multi-Touch Attribution for Small Business: Data Guide&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>marketing</category>
      <category>data</category>
      <category>datascience</category>
    </item>
    <item>
      <title>Auto-replying to Google reviews with Python: what Google requires first</title>
      <dc:creator>Nataliia Rumiantsewa</dc:creator>
      <pubDate>Sat, 05 Dec 2026 18:28:10 +0000</pubDate>
      <link>https://dev.to/natalyineu/auto-replying-to-google-reviews-with-python-what-google-requires-first-486h</link>
      <guid>https://dev.to/natalyineu/auto-replying-to-google-reviews-with-python-what-google-requires-first-486h</guid>
      <description>&lt;p&gt;Posting a reply to a Google review through the API is a single request. Getting permission to send it is the hard part.&lt;/p&gt;

&lt;p&gt;Google requires a verified Business Profile that has been active for &lt;strong&gt;60+ days&lt;/strong&gt;, with a website listed, plus an approved "Application for Basic API Access". Reading reviews is one call (up to 50 per page). A reply can be at most &lt;strong&gt;4,096 bytes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This post covers the access checklist, the limits that bite, and a design for an LLM reply agent that does not embarrass the business.&lt;/p&gt;

&lt;h2&gt;
  
  
  Access checklist
&lt;/h2&gt;

&lt;p&gt;Per Google's &lt;a href="https://developers.google.com/my-business/content/prereqs" rel="noopener noreferrer"&gt;prerequisites page&lt;/a&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A Google Cloud project.&lt;/li&gt;
&lt;li&gt;A verified Business Profile (yours or a client's), active 60+ days, with a website.&lt;/li&gt;
&lt;li&gt;A submitted Application for Basic API Access (contact form, with your project number, from an email that owns or manages the profile).&lt;/li&gt;
&lt;li&gt;After approval, enable the Business Profile APIs for the project.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Check approval in the Cloud console: a quota of &lt;strong&gt;0 queries per minute&lt;/strong&gt; means not approved yet, &lt;strong&gt;300&lt;/strong&gt; means approved. If it is 0, submit the access application instead of asking for a quota increase.&lt;/p&gt;

&lt;p&gt;Two gotchas:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Over-quota requests return HTTP 429. Google recommends exponential backoff with jitter.&lt;/li&gt;
&lt;li&gt;On Google Workspace accounts, an admin must enable Search and/or Maps with Business Profile, otherwise replies return 403.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The review endpoints live in the older v4 API on &lt;code&gt;mybusiness.googleapis.com&lt;/code&gt;. Check Google's deprecation schedule before building anything long-lived.&lt;/p&gt;

&lt;h2&gt;
  
  
  Finding the IDs
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# accounts&lt;/span&gt;
curl -H &lt;span class="s2"&gt;"Authorization: Bearer ACCESS_TOKEN"&lt;/span&gt; \
  &lt;span class="s2"&gt;"https://mybusinessaccountmanagement.googleapis.com/v1/accounts"&lt;/span&gt;

&lt;span class="c"&gt;# locations (readMask is required)&lt;/span&gt;
curl -H &lt;span class="s2"&gt;"Authorization: Bearer ACCESS_TOKEN"&lt;/span&gt; \
  &lt;span class="s2"&gt;"https://mybusinessbusinessinformation.googleapis.com/v1/accounts/ACCOUNT_ID/locations?readMask=name,title"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;OAuth scope: &lt;code&gt;https://www.googleapis.com/auth/business.manage&lt;/code&gt;. The v4 review path is &lt;code&gt;accounts/ACCOUNT_ID/locations/LOCATION_ID&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agent design
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Refresh OAuth token
   |
GET reviews (50 per page, newest first)
   |
Skip reviews that already have a reviewReply
   |
Stop words (refund, lawyer, injured ...) -&amp;gt; flag for the owner, no draft
   |
Draft reply with the LLM (model may answer HOLD -&amp;gt; flag for the owner)
   |
1-3 stars, or DRY_RUN on -&amp;gt; print the draft, post nothing
   |
4-5 stars and DRY_RUN off -&amp;gt; PUT the reply, log the review
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Choices worth copying even if you rewrite the code:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dry run by default.&lt;/strong&gt; Nothing posts until &lt;code&gt;DRY_RUN=0&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Only 4-5 star reviews can be auto-posted.&lt;/strong&gt; Everything lower is draft-only.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The model can say HOLD.&lt;/strong&gt; The prompt tells it to output &lt;code&gt;HOLD&lt;/code&gt; for health, money, legal or safety content; the script treats that as "owner decides".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No generic fallback reply.&lt;/strong&gt; If the model call fails, skip the review instead of posting boilerplate.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A log file prevents double replies.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The prompt rules that matter: use the reviewer's first name if given, mention one specific detail, under 90 words, no discounts, no admitting legal fault, no private details, and for 1-3 stars thank them and invite direct contact.&lt;/p&gt;

&lt;p&gt;Note: the full script in the original article is a template written from Google's and Groq's documentation and has not been run against a live profile. Read it, run it in dry-run mode, and test on your own reviews first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Full code and strategy
&lt;/h2&gt;

&lt;p&gt;The complete Python script (about 150 lines, stdlib only) and the policy side (what Google and the FTC allow, which reviews a human should always handle) are here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.datalatte.pro/blog/ai-agent-google-reviews-auto-reply-script" rel="noopener noreferrer"&gt;Review Response Agent: Python Script for Google Reviews&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you serve local businesses and would rather not manage API approval, a hosted setup already has it: &lt;a href="https://www.datalatte.pro/services/ai-agents/review-management" rel="noopener noreferrer"&gt;AI review management&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>python</category>
      <category>ai</category>
      <category>automation</category>
      <category>api</category>
    </item>
  </channel>
</rss>
