Linux 软件免费装

All-in-one CAPI for Meta & Pinterest + GTM

开发者 suhanduman
cenkcagdas
更新时间 2025年9月30日 00:23

标签

pinterest GTM meta pixel capi conversion api

下载

3.1.0 3.1.1

详情介绍:

Stop losing sales to ad blockers and browser restrictions. Send accurate events to Meta CAPI & Pinterest CAPI and manage all tags with GTM. This plugin creates a direct, reliable server-side bridge between your store and the Meta (Facebook) and Pinterest Conversions APIs (CAPI), while also integrating Google Tag Manager (GTM) for your browser-side tags. The key advantage is getting all the benefits of server-side tracking—like improved data accuracy and better ad optimization—without the cost and complexity of a separate GTM Server Container. This powerful approach helps you capture more conversions, build stronger lookalike audiences, and achieve a higher ROI on your ad campaigns. Key Benefits: Core Features: Please check the installation page for the recommended GTM settings for deduplication.

安装:

  1. Upload the plugin folder to the /wp-content/plugins/ directory and activate it.
  2. Navigate to the Meta CAPI & GTM page from your main WordPress menu.
  3. Enter your GTM Container ID to inject the GTM script on your site.
  4. Enter your Meta Pixel ID and API Access Token for the server-side connection. Do the same for Pinterest if applicable.
  5. Go to the "Event Management" tab to select which CAPI events you want to track.
  6. Configure your GTM container using the instructions in the "Recommended GTM Setup" section below.
Recommended GTM Setup Crucial First Steps: To prevent duplicate events and ensure data accuracy, you must configure two settings in your Meta account and GTM container.
  1. Turn Off Meta's Automatic Event Tracking:
  2. In your Meta Business Suite, navigate to Events Manager and select your Pixel.
  3. Go to the Settings tab.
  4. Scroll to the Event Setup section and turn Off the toggle for Track Events Automatically Without Code. This plugin will handle all event sending.
  5. Pause Automatically Created GTM Tags:
  6. In your GTM container, please pause or delete any automatically created tags that start with FB_. Since we will be creating our own tags manually, only they should be active.
TEMPLATE SETUP To save time and prevent errors, we have created a GTM container template. You can import this file to automatically create all the necessary variables, triggers, and tags. Step 1: Download the Template Go to the "Meta CAPI & GTM" settings page in your WordPress admin panel. You will see an info box at the top with a link to download the gtm-template.json template file. Download this file to your computer. Step 2: Import the Template into GTM
  1. Go to your Google Tag Manager container.
  2. Navigate to the Admin section.
  3. Click on Import Container.
  4. Click Choose container file and select the gtm-template.json file you downloaded.
  5. Choose a New workspace and give it a descriptive name (e.g., "CAPI Import").
  6. IMPORTANT: Choose the Merge import option. Do NOT choose "Overwrite", as this could delete your existing tags.
  7. The preview screen will show you all the new tags, triggers, and variables that will be added. Click Confirm.
Step 3: Configure Your IDs After the import is complete, you must update the placeholder IDs with your own tracking IDs.
  1. Go to the Tags section.
  2. Find and click on the "GA4 - Google Tag (Configuration)" tag.
  3. Replace GA4_MEASUREMENT_ID with your actual GA4 Measurement ID (e.g., G-XXXXXXXXXX).
  4. Save the tag.
  5. Find and click on the "Meta - PageView" tag.
  6. Replace META_PIXEL_ID with your actual Meta Pixel ID.
  7. Save the tag.
  8. Find and click on the "Pinterest - PageView" tag.
  9. Replace PINTEREST_TAG_ID with your actual Pinterest Tag ID.
  10. Save the tag.
Step 4: Publish Once you have updated your IDs, click the Submit button in the top right corner, then Publish your container. Your GTM setup is now complete! MANUAL SETUP Step 1: Create GTM Variables Create the following variables of the type Data Layer Variable. Step 2: Create GTM Triggers Create the following triggers using the Custom Event type. Step 3: Create GTM Tags A) Meta Tags (Facebook Pixel) Install the "Facebook Pixel" template from the GTM Community Template Gallery. Create the following tags. B) Pinterest Tags Prerequisite: Install the "Pinterest Tag" template from the GTM Community Template Gallery. You must also create the following Data Layer Variables for e-commerce data: C) Google Analytics 4 Tags Prerequisite: Before you begin, make sure you have your Measurement ID (starts with G-) from your Google Analytics 4 property. You must also create the following Data Layer Variables:

更新日志:

3.1.0 3.0.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0