דרישות מוקדמות
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כדי להטמיע רימרקטינג דינמי, צריך לעמוד בדרישות המוקדמות הבאות.
הטמעה של Google Tag ושל קטע קוד של אירוע רימרקטינג
קודם צריך לתייג את האתר לצורך רימרקטינג.
אפשר לאחזר את הערכים googleGlobalSiteTag
או event_snippet
מה-API באמצעות TagSnippet
של השדה conversion_action
.
כך מטמיעים תגים באתר באופן ידני:
קבלת Google Tag וקטע הקוד של אירוע רימרקטינג
Google Tag מגדיר קובץ Cookie חדש באתר שלכם, שאוסף מידע על הקליק על המודעה שהפנה מבקר לאתר ומוסיף מבקרים באתר לרשימות רימרקטינג רגילות בחשבון Google Ads.
כדי לוודא שהתיוג פועל עם רימרקטינג דינמי, בוחרים באפשרות איסוף מאפיינים או פרמטרים ספציפיים כדי להתאים אישית מודעות במהלך השלב יצירת מקור נתונים של תג Google Ads, כמו שמוצג בהמשך:

הוראות מפורטות להשגת Google Tag וקטע קוד של אירוע רימרקטינג מופיעות במאמר תיוג האתר באמצעות Google Ads.
מטמיעים את Google Tag.
חובה להטמיע את Google Tag בכל הדפים באתר ששולחים מידע על שיווק מחדש, אבל צריך רק Google Tag אחד לכל חשבון Google Ads. אפשר להשתמש בקטע הקוד של האירוע כדי לעקוב אחרי פעולות נוספות שאתם רוצים שייספרו כאירועי רימרקטינג. צריך להטמיע את קטע הקוד הזה בדפים באתר שבהם רוצים לעקוב אחרי המרות, מיד אחרי Google Tag בקטע <head></head>
.
Google Tag פועל גם עם תגים אחרים, כמו תגי Google Analytics.
מידע נוסף על אופן הפעולה של תגים ב-Google Analytics
מטמיעים קטע קוד של אירוע בדפי האתר שרוצים לעקוב אחריהם, עם ערכים תואמים של פרמטרים מותאמים אישית.
פרמטרים מותאמים אישית הם רכיבים בקוד של תג הרימרקטינג שמאפשרים לתג לשלוח מידע על פריטים או על בחירות ספציפיות באתר לחשבון Google Ads. פרמטרים מותאמים אישית קשורים ישירות לפידים של נתונים עסקיים, שבהם מוסיפים את הערכים שמתאימים למידע שהתג אוסף.
כדי להשתמש ברימרקטינג דינמי, צריך להשתמש בפרמטרים המותאמים אישית שמסומנים בסימן Required
, כמו שמתואר במאמר אירועים ופרמטרים של רימרקטינג דינמי.
כשמוסיפים את הערך של פרמטר מותאם אישית לתג הרימרקטינג, הוא מסתנכרן עם הפיד כדי להציג במודעות את אותו מוצר או שירות שהמבקר צפה בו בעבר.
דוגמה לאופן ההתקנה של קטע קוד של אירוע באתר קמעונאי (שימו לב: ecomm_prodid
הוא מזהה המוצר ב-Merchant Center שמתאים למוצר בדף):
gtag('event', 'page_view', {
ecomm_pagetype: 'product',
ecomm_prodid: 34592212,
ecomm_totalvalue: 29.99,
ecomm_category: 'Home & Garden',
isSaleItem: false
});
הגדרות מפורטות של הפרמטרים והערכים התקינים שלהם זמינות במאמר אירועים ופרמטרים של רימרקטינג דינמי.
שם האירוע שבו אתם משתמשים (למשל, page_view
בדוגמה שלמעלה) יכול להיות שם של אירוע מותאם אישית שתבחרו או אחד מהאירועים הרגילים המומלצים שלנו.
הערך לא צריך להיות זהה לערך ספציפי כלשהו לצורך הטמעה של רימרקטינג דינמי, כל עוד הפרמטרים של נתוני האירוע (ecomm_pagetype
, ecomm_prodid
ו-ecomm_totalvalue
בדוגמה הזו) מוגדרים בצורה נכונה.
לקבלת מסמכים מפורטים על פרמטרים מותאמים אישית לסוגי עסקים שונים ועל אופן הפעולה של Google Tag, אפשר לעיין במאמר הגדרת מעקב המרות באתר.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-26 (שעון UTC)."],[[["\u003cp\u003eInstall the Google tag and remarketing event snippet on all website pages to enable dynamic remarketing.\u003c/p\u003e\n"],["\u003cp\u003eWhen setting up the Google tag, ensure you select "Collect specific attributes or parameters to personalize ads" for dynamic remarketing functionality.\u003c/p\u003e\n"],["\u003cp\u003eUtilize custom parameters within the event snippet to send specific product or service information to your Google Ads account for targeted ads.\u003c/p\u003e\n"],["\u003cp\u003eEnsure the custom parameters, such as 'ecomm_prodid', align with your business data feeds for accurate product or service synchronization in ads.\u003c/p\u003e\n"]]],[],null,["# Prerequisites\n\nFollow these prerequisites to implement dynamic remarketing.\n\nInstall Google tag and remarketing event snippet\n------------------------------------------------\n\nBegin by\n[tagging your site for remarketing](//support.google.com/google-ads/answer/2476688).\nYou can retrieve the `googleGlobalSiteTag` or `event_snippet` from the API using\nthe [`TagSnippet`](/google-ads/api/reference/rpc/v21/TagSnippet) of the\n[`conversion_action`](/google-ads/api/fields/v21/conversion_action) field.\n\nHere are the steps for embedding tags in your website manually:\n\n1. **Get the Google tag and the remarketing event snippet.**\n\n The Google tag sets a new cookie on your site which collects information\n about the ad click that brought a visitor to your site and adds website\n visitors to standard remarketing lists in your Google Ads account.\n\n To make sure the tagging works with dynamic remarketing, select **Collect\n specific attributes or parameters to personalize ads** during the step\n **Create the Google Ads tag data source**, as shown below:\n\n For detailed instructions for acquiring the Google tag and remarketing event\n snippet, see\n [Tag your website using Google Ads](//support.google.com/google-ads/answer/2476688).\n2. **Install the Google tag.**\n\n You must install the Google tag on all the pages of your website that\n send remarketing information, but you need only one Google tag for each\n Google Ads account. The event snippet can be used to track additional actions\n that are to be counted as remarketing events. Install this snippet on site\n pages you'd like to track, right after the Google tag in the\n `\u003chead\u003e\u003c/head\u003e` section.\n\n The Google tag also works with other tags such as Google Analytics tags.\n [Read more about how tags work in Google\n Analytics](/analytics/devguides/collection/gtagjs).\n3. **Install an event snippet on site pages you would like to track, with\n corresponding custom parameter values.**\n\n Custom parameters are elements in your remarketing tag code that allow your\n tag to send information about specific items or selections on your website to\n your Google Ads account. Custom parameters are directly related to business\n data feeds, where you add the values that correspond to the information\n the tag collects.\n\n To use dynamic remarketing, you'll need to use the custom parameters marked\n as `Required`, as described in\n [Dynamic remarketing events and parameters](//support.google.com/google-ads/answer/7305793).\n\n When you add the value of a custom parameter to your remarketing tag,\n it will sync with your feed to show the same product or service in\n your ads previously viewed by the same visitor.\n\n Here is an example of how to install an event snippet for a retail site (note\n the `ecomm_prodid` is the [Merchant Center Product\n ID](//support.google.com/merchants/answer/7052112) that corresponds to the\n product on the page): \n\n gtag('event', 'page_view', {\n ecomm_pagetype: 'product',\n ecomm_prodid: 34592212,\n ecomm_totalvalue: 29.99,\n ecomm_category: 'Home & Garden',\n isSaleItem: false\n });\n\n For detailed definitions of the parameters and their valid values,\n see\n [Dynamic remarketing events and parameters](//support.google.com/google-ads/answer/7305793).\n\n The event name you use (such as `page_view` in the above example) can be a\n custom event name of your choosing or one of our recommended standard events.\n It doesn't need to match any specific value for the purpose of implementing\n dynamic remarketing, as long as the event data parameters (`ecomm_pagetype`,\n `ecomm_prodid`, and `ecomm_totalvalue` in this example) are correctly set.\n\n For detailed documentation on custom parameters for different business types\n and how the Google tag works, refer to\n [Set up conversion tracking for your website](//support.google.com/google-ads/answer/12216424)."]]