Facebook / Meta Conversion API setup + Event Deduplication [Step-by-step guide]

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 46

  • @awais.involvz
    @awais.involvz 4 місяці тому +3

    Stape is the easiest solution for setting up server-side tracking for any platform.

  • @DavidGarcíaOliva
    @DavidGarcíaOliva 16 годин тому

    I guess it's necessary to create or enable a GTM-Server-Side container at some point, right? Either directly on GTM or via Wordpress.

    • @Stape
      @Stape  14 годин тому

      You need to create it on tagmanager.google.com and host it somewhere in order to set up Meta Conversion API.

  • @amarketing7433
    @amarketing7433 25 днів тому

    Thanks for the video! Can we only user server tracking only for Facebook without sending data to GA4. So GA4 to stay client based?

    • @Stape
      @Stape  25 днів тому

      yes, you can. In such cases we suggest using Data Tag/Data Client to send data from web to server GTM stape.io/blog/sending-data-from-google-tag-manager-web-container-to-the-server-container

  • @simonmasanet8866
    @simonmasanet8866 4 місяці тому +1

    I've already setup Facebook CAPI but using Adsmurai Templates and a Stape hosted server container.
    Can I use an Adsmurai template on my web container and read the events sent with Facebook Conversion API from Stape on the server side ? Or do I need to fully set up stape templates on both web and server ?
    Can

    • @Stape
      @Stape  4 місяці тому

      You can use any web or server GTM templates with stape. There's no need to use only stape templates.

  • @anapenzin2768
    @anapenzin2768 2 місяці тому

    Pode mostrar como fazer isso para o evento VER CONTEÚDO? Incluindo como criar as variáveis. Detalhe: fiz para o evento pageview com ajuda de vídeos aula no youtube e não marquei a opção Enable Advanced Matching. Mas fiz o envio de parâmetros no contêiner do servidor. Posso repetir esse processo para o evento de viewcontent (ver conteúdo)? Obrigada!

  • @LubiousCo
    @LubiousCo 3 місяці тому

    Hi, I would love to do the same but my ecommerce store doesn't have DataLayers, but I think I am still able to send some data through using maybe the id="variable" attribute. Here's an example of a this line of code: Do you know what I should do to pass that attribute through, please?
    Phone number has id="phone" || Address has: id="address" || City has: id="city" ||||| The class for every attribute is class="border_inputs"

  • @khusravsultanov7333
    @khusravsultanov7333 3 місяці тому

    Hello.
    Quick question. You are adding user information into FB event tag. Meta asks to send that information hashed. Can we do that with Augment feature in sgtm? And do you have full guides on how to increase event quality score for FB with implementation process in sgtm?
    Thank you.

    • @Stape
      @Stape  3 місяці тому +1

      Stape Facebook CAPI tag automatically hashes data in a required format before sending it to meta, there is no need to do it manually.
      But if you want to hash data manually, I suggest using one of the variable templates inside the sGTM template gallery; a few can hash data. Transformation is unnecessary if you manually hash data; only use the correct variable inside the tag settings.
      We have a blog post describing how to increase the event match quality score. If you have already done basic steps to increase EMQ, then I would suggest either storing user data using a data tag or using a stape store to enrich data stape.io/blog/facebook-event-match-quality-what-it-is-and-how-to-increase-it

    • @khusravsultanov7333
      @khusravsultanov7333 3 місяці тому

      @@Stape thank you for quick reply

  • @EchoesOfTomorrowFilms
    @EchoesOfTomorrowFilms 3 місяці тому +1

    please provide exported containers :( (whole gmt as example)

    • @Stape
      @Stape  3 місяці тому

      Container templates will be added to stape soon. unfortunately do not have exact time for now.

  • @yevtyurin134
    @yevtyurin134 2 місяці тому

    Is there any way to prevent the user_engagement event from being sent to the server? I don't need this event, and it only consumes server requests from Stape.

    • @Stape
      @Stape  2 місяці тому

      In theory, you can set an individual trigger for this event and not use server-side GA4. However, this will definitely affect GA4 reporting, so I do not recommend it.

    • @yevtyurin134
      @yevtyurin134 2 місяці тому

      @@Stape But I only use GTM server for TikTok and Meta, so I don't really need this event.
      As for sending it as a separate event, the configuration tag only allows blocking the PageView and sending it as a separate event, but I haven't seen any option for user_engagement.
      Additionally, in the GA4 tags, it doesn't allow me to set the server URL for separate events either.

  • @gabrielfiume7953
    @gabrielfiume7953 3 місяці тому

    hello, how do you create the “GA4 purchase” trigger at 11:45?
    Do you create a personalized event with the name (.*)\_stape_purchase(.*) or (.*)puchase(.*) or juste 'purchase' ? and do i have to configure "Conditions under which the trigger is executed" ?
    another thing, my user data does not appear correctly in sGTM debug mode. Do you know the potentially common error?

    • @Stape
      @Stape  3 місяці тому +1

      in my case this trigger is set to (.*)purchase(.*) and client name equals GA4.
      I would suggest checking how you send user data from the web to the server. Maybe the issue is in structuring user data in web GTM.

    • @gabrielfiume7953
      @gabrielfiume7953 3 місяці тому

      I checked the video several times with my web server and sGTM, and I have no configuration errors.
      Perhaps we need to add parameters to the Google tag on “Shared event parameters”?

    • @Stape
      @Stape  3 місяці тому

      @@gabrielfiume7953@gabrielfiume7953 please send an email with some details of the error to support@stape.io, we will try to help

    • @gabrielfiume7953
      @gabrielfiume7953 3 місяці тому

      I sent a message but it sends me to the agency services which is my last option.
      I just have one last question about the problem.
      I think that the problem is with web GTM and I think that the user data of the "FB - Purchase" tag is not transmitted to the server level because a connection is missing.
      So I have several theories:
      - The woocommerce extension does not work correctly and when I check the boxes in the data layers tab some do not apply
      - if I follow the tutorial in your video "How to use Stape Data Tag and Data Client" it could solve the problem but chatGTP does not necessarily recommend it to me because it could create transmission problems
      - and when you show the data layer variables (example dl - billing email at 7:04) the variable is linked to: data tag ee / user data / fb - prucahase.... perhaps there is a missing information at this level.
      what do you think?
      please excuse me for all these questions but your video is one of the best on the subject

    • @Stape
      @Stape  3 місяці тому

      @@gabrielfiume7953@gabrielfiume7953 we do not have any complaints about the WP plugin's work, so I suggest using web and server GTM debuggers to check the data layer in web GTM, event data in sGTM, and variables. To me, there seems to be a problem with variables in web GTM.

  • @juancavel
    @juancavel 16 днів тому

    13:27 meta requires the user information to be hashed... How to I do that?

    • @Stape
      @Stape  16 днів тому +1

      FB Tag automatically hash user data. That means you don't need to do any additional steps.

  • @HafizBehroz
    @HafizBehroz 3 місяці тому

    Facebook Conversion API from Stape is NOT available in the tag templates gallery and i don't know how to add it

    • @Stape
      @Stape  3 місяці тому

      this is a link to Facebook CAPI tag in the template gallery or you can use search tagmanager.google.com/gallery/#/owners/stape-io/templates/facebook-tag

    • @HafizBehroz
      @HafizBehroz 3 місяці тому

      @@Stape i tried this before and it doesn't work. it shows me this message and then i go in my tag manager templates and when i search there. it shows nothing.
      ''To use this template in your workspace, open Tag Manager, find this template in Templates > Search Gallery and add it to your workspace.''
      this msg i get if i try to add this template to my workspace and then as i mentioned above

  • @harrybarry5224
    @harrybarry5224 4 місяці тому

    Facebook Conversion API from Stape is NOT available in the tag templates gallery

    • @Stape
      @Stape  4 місяці тому

      this is a link to Facebook CAPI tag tagmanager.google.com/gallery/#/owners/stape-io/templates/facebook-tag

    • @Hosse10
      @Hosse10 3 місяці тому

      @@Stape I cannot add it via your link. It says that I must search in the community template gallery. But there is it not findable. What should I do?

    • @Stape
      @Stape  3 місяці тому

      @@Hosse10 This template is for the server GTM, looks like you are searching in the web GTM gallery.

  • @parthshah7394
    @parthshah7394 4 місяці тому

    how to add items datalayer value in SGTM??

    • @Stape
      @Stape  4 місяці тому

      You can use stape data tag/data client to send data to sGTM. There is a checkbox that allows you to send all information from the web GTM data layer to sGTM. stape.io/blog/sending-data-from-google-tag-manager-web-container-to-the-server-container.

  • @FabioJose-u6l
    @FabioJose-u6l 3 місяці тому

    how to convert from IPv4 to ipv6, meta ads are asking for this.

    • @Stape
      @Stape  3 місяці тому

      ipv6 works automatically for all stape containers that were created in 2024. If your container was created earlier, you should either add a new custom domain; if you are using a default domain, you should make a new container.

    • @anapenzin2768
      @anapenzin2768 2 місяці тому

      @@Stape eu criei o contêiner stape esse ano (2024) e adicionei domínio personalizado e mesmo assim a meta está me pedindo isso de converter IPv4 para v6. Ignoro ou preciso fazer alguma coisa?

  • @storyoflife8458
    @storyoflife8458 4 місяці тому

    How to make Variable? How can i see the variable making video

    • @Stape
      @Stape  4 місяці тому

      Please specify the variable you are inquiring about.

  • @mk_groow
    @mk_groow Місяць тому +1

    hello. thank you for the guide. I've come across one issue. I noticed, that the event_id for page_view on sGTM does not match with the id on client GTM. As example, on client GTM, the event_id ends with 521, while on sGTM it's 520. Now, when I check the client GTM preview, I notice that the event_id with 520 actually happens on gtm.init (Initialization) with Google Tag. FB page view happens on gtm.js (Contained Loaded). So it seems to me that sGTM inherit the event_id for FB page view from Initialization event and not from the Container Loaded event, which causes the discrepancy in the event_id value between those page_view events for FB. What solution would you propose for this please?

    • @Stape
      @Stape  Місяць тому

      It seems that the FB pageview event and the tag that delivers data from the web to sGTM (in your case Google Tag) have different triggers in web GTM. Try using the same trigger for both tags (either Initialization or Contained Loaded).

    • @mk_groow
      @mk_groow 21 день тому

      @@Stape But Google Tag should be on gtm.init event. So there must be some workaround. Do you have any experience with this? Setting up Google Tag in gtm.js is not the proper solution, it's just quick fix. Nor page_view should be on gtm.init