با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
قبل از شروع
مطمئن شوید که مراحل را در Get Started کامل کرده اید تا مطمئن شوید برنامه ای با Firebase فعال دارید و آخرین SDK Firebase In-App Messaging اضافه کرده اید.
یک کمپین جدید ایجاد کنید
کمپین جدید خود را در صفحه پیامرسانی کنسول Firebase راهاندازی کنید.
اگر برای اولین بار کاربر هستید، روی ایجاد اولین کمپین خود کلیک کنید.
اگر نه، کمپین جدید را کلیک کنید.
مرحله 1: سبک و محتوا
در کنسول، از قالبهای پیامرسانی Firebase In-App Messaging برای ترکیب ویژگیهای مختلف برای ارائه اهداف متفاوت با پیامهای درونبرنامه خود استفاده کنید.
نشانی وب تصویر HTTPS ارائه دهید. می توانید Firebase Hosting برای میزبانی تصاویر خود استفاده کنید.
lens
lens
lens
lens
اقدام
از پیوندهای وب یا پیوندهای عمیق برای ارسال کاربران خود به صفحات خارجی یا صفحات خاص در برنامه خود استفاده کنید. برای ایجاد و مدیریت لینک های عمیق می توانید از Firebase Dynamic Links استفاده کنید. الگوهای Modal و Image فقط شامل یک دکمه X هستند که به کاربران امکان می دهد پیام را رد کنند.
lens
lens
lens
رنگ متن / پس زمینه
با وارد کردن کد رنگ Hex یا استفاده از گرادیان رنگ برای یافتن رنگ خاصی که با برند شما مطابقت دارد، تصاویر بصری پیام را سفارشی کنید.
lens
lens
lens
عنوان/ بدنه پیام
توجه کاربر خود را با یک هدر مرتبط و یک توضیح مختصر جلب کنید. Firebase به طور خودکار متن شما را برای جا دادن به کاربران شما ترجمه و مقیاس می کند.
lens
lens
دکمه اصلی
عملکرد دکمه پیش فرض برای رد کردن پیام تنظیم شده است. یک URL برای تغییر مسیر کاربران به عنوان اقدام ارائه دهید.
lens
دکمه ثانویه
عملکرد دکمه پیش فرض برای رد کردن پیام تنظیم شده است. یک URL برای تغییر مسیر کاربران به عنوان اقدام ارائه دهید.
در پنجره کمپین Compose کنسول Firebase ، پیام خود را با ویژگیهای موجود برای هر الگو مطابق میل خود سفارشی کنید.
در سمت راست پنجره کمپین نوشتن ، پیشنمایش پیام خود را در جهت افقی یا عمودی برای یک دستگاه تلفن یا رایانه لوحی مشاهده کنید.
در صورت تمایل، متادیتای سفارشی را برای کمپین خود تعریف کنید. هنگامی که یک کمپین برای کاربر نمایش داده می شود، این ابرداده در سمت سرویس گیرنده با استفاده از تماس های SDK در دسترس خواهد بود. به عنوان مثال، ممکن است بخواهید کمپین را با یک کد تبلیغاتی تگ کنید که می توانید از آن در مشتری استفاده کنید.
مرحله 2: کاربران خود را هدف قرار دهید
یک نام برای کمپین خود وارد کنید.
این نام برای گزارش کمپین استفاده می شود و بخشی از پیام قابل مشاهده نیست.
(اختیاری) شرح کمپین را ارائه دهید.
این توضیحات برای گزارش کمپین استفاده می شود و بخشی از پیام قابل مشاهده نیست.
روی منوی انتخاب برنامه کلیک کنید و مشخص کنید که کدام برنامه را می خواهید با این کمپین مرتبط کنید.
(اختیاری) روی دکمه و کلیک کنید تا کاربران هدف خود را بیشتر محدود کنید.
از منوی کشویی Select برای انتخاب مشخصات اضافی استفاده کنید.
مشاهده درصد کاربران بالقوه واجد شرایط برای این کمپین.
این تعداد بر اساس کاربران فعالی که در 7 روز گذشته با این سرویس تماس گرفتهاند تخمین زده میشود. کاربران واجد شرایط فقط در صورتی این پیام را میبینند که شرایط راهاندازی رخ دهد.
(اختیاری) اگر برنامه شما کاربرانی را به چندین زبان هدف قرار می دهد، از شما خواسته می شود که کمپین را به آن زبان ها بومی سازی کنید. از گفتگو برای افزودن ترجمه های خود استفاده کنید یا از Google Translate برای بومی سازی آسان کمپین استفاده کنید.
مرحله 3: برنامه ریزی پیام خود
تاریخ و زمان شروع کمپین خود را شرح دهید.
کمپین شما می تواند زمانی شروع شود که کمپین را منتشر کنید یا شروع برنامه ریزی شده داشته باشید.
تاریخ و زمان پایان کمپین خود را شرح دهید.
کمپین شما می تواند به طور نامحدود اجرا شود یا یک نقطه پایانی برنامه ریزی شده داشته باشد.
برای افزودن حداقل یک رویداد ماشه روی Event + کلیک کنید.
پس از انتشار کمپین، به صفحه پیام رسانی بروید و روی نام کمپین کلیک کنید تا اطلاعات مربوط به سابقه تبدیل کمپین را مشاهده کنید.
انتشار کمپین شما
پس از اصلاح کمپین خود، می توانید روی ذخیره به عنوان پیش نویس کلیک کنید تا گزینه ای برای بازگشت و ویرایش کمپین در وضعیت پیش نویس وجود داشته باشد.
یا، می توانید روی انتشار کلیک کنید تا پیام خود را در تاریخ برنامه ریزی شده برای کاربران هدف ارسال کنید. پس از انتشار می توانید کمپین خود را ویرایش کنید.
هنگامی که یک کمپین منتشر شده را متوقف کنید، دیگر نمی توانید آن را منتشر کنید. با این حال، میتوانید در هر زمانی یک کمپین در حال اجرا را متوقف یا ویرایش کنید. همچنین میتوانید یک کمپین موجود را کپی کنید تا تغییرات جزئی ایجاد کنید و از ایجاد یک کمپین کاملاً جدید اجتناب کنید.
برای کمپینهای پیامرسانی با Gemini در Firebase ، اطلاعات هوش مصنوعی دریافت کنید
Gemini در Firebase خلاصه، بینش و راهنماییهای کمپین پیامرسانی را برای بهبود عملکرد کمپین Firebase Cloud Messaging و In-App Messaging Firebase ارائه میدهد. با تجزیه و تحلیل دادههای کمپین، Gemini در Firebase میتواند به شما در درک دامنه و تأثیر کمپینهایتان کمک کند و استراتژیهایی را برای بهبود تعامل و رشد کاربر پیشنهاد میکند.
برای کمپین های پیام رسانی به بینش هوش مصنوعی دسترسی داشته باشید
برای استفاده از بینش هوش مصنوعی کمپین پیام رسانی، مطمئن شوید که پروژه شما دارای موارد زیر است:
تاریخ آخرین بهروزرسانی 2025-09-04 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-09-04 بهوقت ساعت هماهنگ جهانی."],[],[],null,["\u003cbr /\u003e\n\nBefore you begin\n\nMake sure you complete the steps in [Get\nStarted](/docs/in-app-messaging/get-started) to\nensure you have an app with Firebase enabled and have added the latest Firebase In-App Messaging\nSDK.\n\nCreate a new campaign\n\nSet up your new campaign in the Firebase console's\n[Messaging page](https://console.firebase.google.com/project/_/messaging).\n\n- If you are a first time user, click **Create your first campaign**.\n- If not, click **New campaign**.\n\nStep 1: Style and content\n\nIn the console, use Firebase In-App Messaging message templates to incorporate different\nfeatures to serve different purposes with your in-app messages.\n\n[Explore use cases](/docs/in-app-messaging/explore-use-cases) to see\nexamples for stylizing the messages templates.\n\n\n| Message Template Type |||| Feature | Feature Description |\n| Feature | Feature Description |\n|---------|---------------------|------------|--------|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Card | Modal | Image only | Banner |\n| lens | lens | lens | lens | Image | Provide an HTTPS Image URL. You can use [Firebase Hosting](/docs/hosting) to host your images. |\n| lens | lens | lens | lens | Action | Use weblinks or deep links to send your users to external pages or specific pages in your app. You can use [Firebase Dynamic Links](/docs/dynamic-links) to create and manage deep links. Templates **Modal** and **Image only** include an X button, allowing users to dismiss the message. |\n| lens | lens | | lens | Text/background color | Customize the message visuals by entering the Hex Color Code or using the color gradient to find the specific hue that matches your brand. |\n| lens | lens | | lens | Message title/body | Catch your user's attention with a relevant header and a concise description. Firebase automatically translates and scales your text to accommodate your users. |\n| lens | lens | | | Primary button | The default button action is set to dismiss the message. Provide a URL to redirect users as the action. |\n| lens | | | | Secondary button | The default button action is set to dismiss the message. Provide a URL to redirect users as the action. |\n\n\u003cbr /\u003e\n\n1. In Firebase console's **Compose campaign** window, customize your\n message to your liking with the features available to each template.\n\n2. On the right-hand side of the **Compose campaign** window, preview your message\n in landscape or portrait orientation for a phone or tablet device.\n\n The in-console preview provides a general idea of how your message appears\n on a mobile device. Actual message rendering varies depending on the device.\n [Test with a real device to see the exact rendering](/docs/in-app-messaging/get-started#send_a_test_message).\n3. If desired, define custom metadata for your campaign. This metadata will be available\n on the client side using SDK callbacks when a campaign is displayed to a user.\n For example, you might want to tag the campaign with a promo code that\n you can use on the client.\n\nStep 2: Target your users\n\n1. Enter a name for your campaign.\n\n This name is used for campaign reporting and is not part of the visible\n message.\n2. (Optional) Provide a campaign description.\n\n This description is used for campaign reporting and is not part of the visible\n message.\n3. Click on the **Select app** dropdown and identify which\n app you want to associate with this campaign.\n\n4. (Optional) Click the **and** button to further narrow down your\n target users.\n\n Use the **Select** dropdown to choose additional specifications.\n5. View the percentage of potential users that are eligible for this\n campaign.\n\n This number is estimated based on active users who contacted the service\n in the last 7 days. Eligible users only see this message if a trigger\n condition occurs.\n6. (Optional) If your app targets users in multiple languages, you will be\n prompted to localize the campaign in those languages. Use the dialog to\n either add your own translations or use Google Translate to localize the\n campaign easily.\n\nStep 3: Scheduling your message\n\n1. Describe a start date and time for your campaign.\n\n Your campaign can start when you publish the campaign or have a scheduled\n start.\n2. Describe an end date and time for your campaign.\n\n Your campaign can run indefinitely or have a scheduled endpoint.\n3. Click Event + to add at least one trigger event.\n\n - You can enter default events or [events logged through Firebase Analytics](/docs/analytics/android/events) to trigger your in-app message. These events can be user actions, system events, or errors.\n - Your in-app message is triggered when any of your events occur.\n4. Specify your per-device frequency limit. The limit allows you to\n control how often your users see your message.\n\n - By default, a campaign is not shown after it has been viewed by (that is, impressed on) the user once.\n - Or, you can set the frequency of messages in days.\n\nStep 4: Conversion events (optional)\n\nFirebase tracks the number of impressions that result in a completed conversion\nevent.\n\n1. In the **Compose campaign** window, use the **Select conversion event**\n dropdown to choose from:\n\n - The default conversion events.\n - Any [events you enabled as conversions](https://support.google.com/firebase/answer/6317522#enable).\n2. After you publish the campaign, go to the\n [Messaging page](https://console.firebase.google.com/project/_/messaging)\n and click on the campaign's name to see data related to the\n campaign's conversion history.\n\nPublishing your campaign\n\nAfter modifying your campaign, you can click **Save as draft** for the option to\nreturn and edit the campaign in draft status.\n\nOr, you can click **Publish** to release your message to targeted users on the\nscheduled date. You can edit your campaign after it has been published.\n\nOnce you stop a published campaign, you will not be able to publish it again.\nHowever, you may stop or edit a running campaign at any time. You can also\nduplicate an existing one to make slight variations and avoid creating a\ncompletely new campaigns.\n\nGet AI insights for messaging campaigns with Gemini in Firebase\n\nGemini in Firebase\nprovides messaging campaign summarization, insights,\nand guidance to improve your Firebase Cloud Messaging and In-App Messaging\ncampaign performance. By analyzing campaign data,\nGemini in Firebase can help you understand your campaigns' reach and impact\nand suggests strategies to improve user engagement and growth.\n\nAccess AI insights for messaging campaigns\n\nTo use messaging campaign AI insights, make sure that your project has the\nfollowing:\n\n- Gemini in Firebase is enabled for your project. Learn more at\n [Set up Gemini in Firebase](/docs/gemini-in-firebase/set-up-gemini).\n\n- Firebase Cloud Messaging or In-App Messaging is enabled in your Firebase\n project.\n\n- At least one campaign exists and appears in the Firebase console.\n\nAfter ensuring these requirements are met:\n\n1. Open [**Messaging**](//console.firebase.google.com/project/_/messaging) in the\n Firebase console to access campaign data.\n\n2. After your campaign data loads, click **Generate AI insights**.\n\n A summary and analysis of your messaging campaigns appears.\n\nPricing\n\nSee\n[Gemini in Firebase pricing](/docs/gemini-in-firebase#pricing) for more\ninformation."]]