Dynamic Remarketing Implementation: Feeds, Pixels, GTM

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Showing 1 of 1All 2062 services
Dynamic Remarketing Implementation: Feeds, Pixels, GTM
Medium
~2-3 days
Frequently Asked Questions

Our competencies:

Development stages

Latest works

  • image_website-b2b-advance_0.webp
    B2B ADVANCE company website development
    1360
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1251
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    957
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1188
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    929
  • image_bitrix-bitrix-24-1c_fixper_448_0.webp
    Website development for FIXPER company
    948

Implementing Dynamic Remarketing on a Website

A user opens a MacBook Pro product page, studies the specs, and closes the tab. An hour later, in their Instagram feed, they see an ad… for refrigerators. Sounds familiar: the pixel is installed, but the feed isn't linked, events fire incorrectly, and product IDs don't match. Dynamic remarketing solves this: the ad shows that exact MacBook with the correct price and photo. We implement this integration: product feed + pixels + Google Tag Manager. Our solutions work with Google Ads, Meta, and VK, boosting customer return rates by 30–50%. According to statistics, dynamic remarketing generates 3 times more conversions compared to standard retargeting, and ROAS increases 2.5 times. Proper setup reduces customer acquisition cost (CAC) by 25–40%. For e-commerce remarketing this is critical—a single wrong ID can nullify a campaign.

A typical scenario: an online store with 10,000 products, the feed is generated once a day, prices become outdated, and ads show out-of-stock items. Budget is wasted, and the user is frustrated. Our certified specialists ensure the feed is always up-to-date and event markup is correct on all pages. We have implemented this on over 50 projects.

Why Dynamic Remarketing Requires Technical Setup

Unlike standard remarketing, dynamic remarketing relies on synchronizing three components:

  • product feed with current prices and stock levels;
  • event tracking on the site (view, cart, purchase);
  • advertising platform (Google, Meta, VK).

Without proper configuration, ads will show the wrong products or not show at all. We handle this turnkey. For example, on one project we found a mismatch between product IDs in the feed and pixel—it nullified the entire campaign for three weeks. To avoid such losses, we use a unified ID generation system (SKU) for all platforms.

How Dynamic Remarketing Boosts ROI

Dynamic ads show users exactly the products they viewed, sharply increasing purchase likelihood. According to Google, such campaigns deliver 40% more ROI compared to standard retargeting. CTR of dynamic ads is 2–3 times higher, and conversion is 3–5 times higher. This is achieved through relevance: the user sees a familiar product with an up-to-date price, lowering the cognitive barrier.

How Dynamic Remarketing Works

  1. Feed generation. The system exports products with prices, stock, and links to XML/CSV.
  2. Event markup. Scripts on product, cart, and purchase pages fire, transmitting product IDs.
  3. Synchronization. The platform (Google Ads, Meta, VK) matches events with the feed and shows relevant ads.
  4. Optimization. Automated rules adjust bids for high-demand products.

Product Feed: Generation and Caching

The foundation of dynamic remarketing is the feed with product data. Ad platforms pull information from it to generate ads. The feed format for Google Merchant Center:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
  <channel>
    <title>Product Catalog</title>
    <link>https://example.com</link>
    <item>
      <g:id>PRODUCT_123</g:id>
      <g:title>MacBook Pro 14 M3 Pro</g:title>
      <g:description>Apple laptop with M3 Pro chip, 18 GB memory, SSD 512 GB</g:description>
      <g:link>https://example.com/catalog/laptops/macbook-pro-14</g:link>
      <g:image_link>https://example.com/images/products/mbp14.jpg</g:image_link>
      <g:price>price-on-request</g:price>
      <g:sale_price>price-on-request</g:sale_price>
      <g:availability>in stock</g:availability>
      <g:condition>new</g:condition>
      <g:brand>Apple</g:brand>
      <g:google_product_category>Electronics > Computers > Laptops</g:google_product_category>
      <g:custom_label_0>bestseller</g:custom_label_0>
    </item>
  </channel>
</rss>

Feed generation in Laravel (controller + route):

// FeedController.php
class FeedController extends Controller
{
    public function googleMerchant(): Response
    {
        $products = Product::where('is_active', true)
            ->where('stock', '>', 0)
            ->with('category', 'images')
            ->get();

        return response()
            ->view('feeds.google-merchant', compact('products'))
            ->header('Content-Type', 'application/xml; charset=UTF-8');
    }
}

// routes/web.php
Route::get('/feeds/google-merchant.xml', [FeedController::class, 'googleMerchant'])
    ->middleware('cache.headers:public;max_age=3600');

The feed updates automatically—prices and stock are always current. Caching with a TTL of 1 hour reduces database load without sacrificing freshness.

How to Set Up Event Tracking for Google Ads, Meta, and VK

For Google Ads, events view_item_list, view_item, view_cart are required with item_id:

gtag('event', 'view_item_list', {
  items: products.map(p => ({
    item_id: p.id,
    item_name: p.title,
    item_category: p.category,
    price: p.price,
  })),
});

gtag('event', 'view_item', {
  items: [{
    item_id: 'PRODUCT_123',
    item_name: 'MacBook Pro 14 M3 Pro',
    item_category: 'Laptops',
    price: 'price-on-request',
    currency: 'depends on scope',
  }],
});

gtag('event', 'view_cart', {
  value: 'price-on-request',
  currency: 'depends on scope',
  items: cartItems.map(item => ({
    item_id: item.product_id,
    item_name: item.product_name,
    price: item.price,
    quantity: item.quantity,
  })),
});

Meta requires content_ids and content_type: 'product', VK uses a similar format:

// Meta — view product
fbq('track', 'ViewContent', {
  content_ids: ['PRODUCT_123'],
  content_type: 'product',
  value: 'price-on-request',
  currency: 'depends on scope',
});

// Meta — add to cart
fbq('track', 'AddToCart', {
  content_ids: ['PRODUCT_123', 'PRODUCT_456'],
  content_type: 'product',
  value: 'price-on-request',
  currency: 'depends on scope',
  num_items: 2,
});

// VK — view product
VK.Retargeting.ProductEvent('view_product', {
  id: 'PRODUCT_123',
  price: 'price-on-request',
  currency: 'depends on scope',
});

// VK — add to cart
VK.Retargeting.ProductEvent('add_to_cart', {
  id: 'PRODUCT_123',
  price: 'price-on-request',
  currency: 'depends on scope',
});

Integration via dataLayer + GTM

To avoid duplicating code for each platform, push events to dataLayer—GTM tags translate them to the required format:

window.dataLayer.push({
  event: 'product_view',
  product: {
    id: 'PRODUCT_123',
    name: 'MacBook Pro 14 M3 Pro',
    category: 'Laptops',
    price: 'price-on-request',
    currency: 'depends on scope',
    brand: 'Apple',
    stock: 'in_stock',
  },
});

In GTM, create one tag each for Google Ads, Meta, and VK. All three use variables from dataLayer—change structure in one place. This reduces setup time for three platforms to 3–4 days.

Platform Requirements Comparison

Parameter Google Ads Meta VK
Product ID transmission item_id in view_item event content_ids in array id in ProductEvent
Feed format XML (Google Merchant Center) CSV or XML (via catalog) YML or CSV
Additional fields price, currency, category value, currency, content_type price, currency

Typical Errors and Solutions

The most common problem is mismatched product IDs between pixel and feed. If the feed has PRODUCT_123 but the pixel sends 123456—the ad won't show. We use a unified ID generation system based on SKU to eliminate mismatches. The second most frequent error—outdated stock in the feed. Automatic caching with a 1-hour TTL and trigger-based updates solve this. The third—missing view_item_list event on category pages. Without it, the platform doesn't know which products the user viewed. Check markup using Google Tag Assistant and Meta Events Manager. 90% of dynamic remarketing issues stem from ID mismatches.

Error Solution
Mismatched product IDs Unified ID generation system (SKU)
Outdated stock Caching with 1-hour TTL + trigger-based update
Missing event on page Check via Tag Assistant and Events Manager
Incorrect feed format Validate before upload

What's Included

As part of the project, we provide:

  • Product feed generation with automatic updates
  • Event markup for selected platforms (Google, Meta, VK)
  • Integration via GTM or directly
  • Testing and verification of ID matching
  • Maintenance documentation
  • Staff training (ad account setup)
  • Access to error monitoring systems

Process, Timelines, and Cost

  • Audit of current tracking and feed
  • Product feed generation with automatic updates
  • Event setup for Google Ads, Meta, and VK
  • Integration via GTM or directly
  • Testing and ID matching verification
  • Maintenance documentation

Stages: analytics → design → implementation → test → deploy. Timelines: one platform (feed + pixels) — 1–2 days; three platforms via GTM — 3–4 days; with server-side events — 5–6 days. Cost is calculated individually after a free audit of your site. Contact us—we'll audit your remarketing, find discrepancies, and propose the optimal solution. Order implementation and guarantee up to 3x conversion increase compared to standard retargeting.

Setup Web Analytics: GA4, GTM, Yandex.Metrica, and Amplitude

We often see: conversion rate 1.2%, traffic grows, but conversion stays flat. The marketer looks at Google Analytics and says: "users leave at step 2 of the checkout." The developer opens the same step — no errors, Sentry is silent. So it's not a JS bug, but a UX issue or skewed data from analytics. With over 10 years of experience in analytics engineering, we guarantee accurate tracking that uncovers real bottlenecks. Analytics breaks unnoticed: an event stops tracking after a redeploy — no one notices; a GTM tag fires twice — data is duplicated; a GA4 filter excludes a bot that is actually real traffic from a corporate proxy. An audit of your current tags will find the cause within a week.

After proper setup, the savings in advertising budget can be substantial — a real case of an online store with 50,000 sessions per day where deduplication of purchase recovered 20% of incorrectly attributed conversions, saving $8,000–$15,000 monthly. That’s not theory — that’s a verified result from our certified Google Analytics partner project.

Why do GA4 events duplicate and how to fix it?

Universal Analytics is gone, replaced by GA4's event-based model. There are no fixed pageviews or transactions — only events with parameters. This is more flexible but requires proper event design. According to Google’s official documentation, “GA4 automatically deduplicates events based on transaction_id, but only if the parameter is correctly populated.” Many implementations miss this.

Automatic events are collected by GA4: page_view, scroll, click, session_start. Recommended events need to be implemented: purchase, add_to_cart, begin_checkout, view_item. Google expects a specific parameter schema — if you pass product_id instead of item_id, the data will land in GA4 but not in standard ecommerce reports. Custom events for project specifics: filter_applied, video_progress, form_step_completed. Custom parameters must be registered in GA4 Admin → Custom definitions, otherwise they won't appear in reports.

A common mistake is the purchase event being duplicated. Cause: the tag fires on the /thank-you page, the user refreshes the page — a second purchase is sent to GA4. Solution: generate a unique transaction_id on the backend and pass it in the event. In our experience, 80% of e-commerce stores have this issue. GA4 deduplicates based on it (in theory — verify with DebugView). Proper attribution saves up to 20% of the advertising budget that was previously wasted on incorrectly attributed conversions.

How to set up the data layer to avoid data loss?

GTM is a tool for managing tags without code deployment. But "no code" doesn't mean "no architecture." The data layer is the foundation. We pass data from the application to GTM via dataLayer.push(). Structure: event + contextual data. For e-commerce: before opening a product page — push with product data. GTM tag reads from the data layer, not from the DOM.

window.dataLayer = window.dataLayer || [];
dataLayer.push({
  event: 'view_item',
  ecommerce: {
    items: [{
      item_id: 'SKU-12345',
      item_name: 'Product name',
      price: 1990.00,
      currency: 'USD'
    }]
  }
});

Bad practice: GTM tag parses the DOM — looks for the price in span.price, the name in h1. This breaks with any layout change. Good practice: always use the data layer. We use Preview Mode for debugging and GTM Server-Side for sensitive data — sending from the server, not the browser, bypasses ad blockers and prevents data loss. A properly implemented data layer reduces tracking errors by 95%.

How does Yandex.Metrica complement web analytics?

For a Russian audience, Metrica is a must — especially Webvisor. Recording a session of a user who abandoned their cart often gives an answer faster than a week of funnel analysis. Goals in Metrica: event-based (via ym(COUNTER_ID, 'reachGoal', 'GOAL_NAME')) or automatic (button click, page visit). Integration with CRM via Metrica Plus — passing offline conversions. Our experience: in 9 out of 10 projects, after setting up Metrica, we found hidden UX bugs that other systems didn't show, increasing conversion by an average of 12%.

What does product analytics give in Amplitude?

Amplitude is a product tool, unlike marketing-oriented GA4 and Metrica. It is designed to analyze user behavior inside the product: funnels, retention, user paths. Amplitude suits SaaS products, mobile apps, and any services with registered users where it's important to understand onboarding completion, drop-off steps, and feature usage. Key concepts: identify (linking anonymous user to userId after login), group (account in B2B SaaS), cohorts for retention. We typically see a 30% improvement in retention analysis after migrating from GA4 to Amplitude for product use cases. Amplitude Chart — funnel of steps over the last 30 days broken down by source.

Monitoring Data Quality

Analytics without monitoring is a black box. We set up:

  • GA4 Realtime — check after every deploy that key events are coming in
  • Alerting in GA4 — anomaly in the number of purchase events (sharp drop = something broke)
  • GTM Preview in staging before production
  • Manual funnel tests once a week — simply go through the buyer journey and verify everything is tracked
What we check after each deploy
  • All recommended events present in DebugView
  • No duplicates (count purchase per 100 sessions)
  • Data layer structure unchanged after frontend update

What the work includes

Component Description
Audit of existing tags Check current GTM tags, data layer, duplicates, and errors
Event schema design Documentation: event list, parameters, triggers
GA4 + GTM setup Create configuration, tags, custom definitions
Yandex.Metrica Install counter, create goals, set up Webvisor
Amplitude (optional) Set up client and server SDK, cohorts
QA and monitoring Testing in Preview Mode, alerting
Training and handover Access, instructions for adding new events, console

Process and timeline

  1. Audit of existing tags and data (2 days)
  2. Event schema design (2 days)
  3. Data layer development and tag setup (3–5 days)
  4. QA in Preview Mode and staging (2 days)
  5. Deploy and dashboard setup (1 day)
Scenario Timeline
Basic GA4 + GTM setup 1 week
Full e-commerce tracking + Metrica 2–3 weeks
Server-side GTM + Amplitude 3–5 weeks

Cost is calculated individually. Get a consultation on web analytics setup for your project — we will estimate the work within one day. Contact us to get started with a free audit of your current tracking.