Make sure you are looking for this in the server container and not in your web container. Here's the direct link: tagmanager.google.com/gallery/#/owners/stape-io/templates/facebook-tag
The trigger is already configured, but the trigger description is present after adding it in the video. In this case, the trigger must be: Type: Custom Events Event name: purchase This trigger fires on: Client name contains or equals GA4
Hello, these videos have been very helpful in configuring my Stape server. However, I believe that the ease of understanding of these videos could be greatly improved. I had to create a diagram and fill in many gaps by taking information from various parts of the video, and I consider myself to be an extremely technical person. Probably a better approach could be to start with a diagram, an initial situation, and a goal, and then proceed step by step starting from scratch with GTM web and server until reaching the solution. It would also be nice if things were explained in detail about what they are and what they are used for, so that we can understand them as well.
Thank you so much for your feedback, we really appreciate it! You are right, the video assumes that you already have experience with tracking, especially with GTM. Unfortunately, to describe everything in detail would be an hours long video We recommend you take a look at the Stape Academy, which is free for Stape users and where these and many other aspects are described and explained in more detail: academy.stape.io.
@ I did and I managed to learn GTM and configure correctly my server :) I think you guys have a lot of potential outside of the “experts” like me. I was a goofy guy now I’m tracking the s* out of my website.
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
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?
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.
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”?
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
@@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.
Setting up the Meta Conversion API does not differ depending on the platform on which your site is built. Please refer to our article describing the setup process: stape.io/blog/how-to-set-up-facebook-conversion-api
The standard recommendation for GA4 is to use a trigger for just all GA4 events. That is, you need to use a trigger without a specific event name, just with the condition client name = GA4 (or whatever your GA4 client is called).
Hey, thank you for the video. I have both server side tracking : Meta and GA4. The problem is that when I'm debugging, in my events manager on Meta, i'm seeing that the event is sended twice by the server... I've already checked if the event-id is activated in the web container for ga4 also from meta tag but I still have the same problem. Do you know what could be? Maybe my Facebook CAPI in server container is from "inherit from client"? Thank you
Overreporting of server events usually indicates that you have an additional CAPI integration that passes server events. If your site is built on Shopify or WordPress, these may be native integrations that you did not disable after setting up Meta CAPI via server GTM container.
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
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 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
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!
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.
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.
@@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.
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"
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
@@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
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.
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.
@@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?
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?
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).
@@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
i can't find the Facebook conversion API of Stape in the Community Template Gallery - 8:08
Make sure you are looking for this in the server container and not in your web container.
Here's the direct link: tagmanager.google.com/gallery/#/owners/stape-io/templates/facebook-tag
mee too, solutions?
why you not show when create the “GA4 purchase” trigger at 11:45?
The trigger is already configured, but the trigger description is present after adding it in the video.
In this case, the trigger must be:
Type: Custom Events
Event name: purchase
This trigger fires on:
Client name contains or equals GA4
@@Stape thankyou for the reply, but please next time just make video uncut and start from scratch
I can't find where you put your container url in web GTM tag settings so It knows where to send events to
13:27 meta requires the user information to be hashed... How to I do that?
FB Tag automatically hash user data. That means you don't need to do any additional steps.
Stape is the easiest solution for setting up server-side tracking for any platform.
Great video!
If we want to add the fbp and fbc... how we can do it? From client or server container? Thank you
You can send these parameters to event data with any name and just overwrite them in the FB tag, user data section
Hello, these videos have been very helpful in configuring my Stape server. However, I believe that the ease of understanding of these videos could be greatly improved. I had to create a diagram and fill in many gaps by taking information from various parts of the video, and I consider myself to be an extremely technical person.
Probably a better approach could be to start with a diagram, an initial situation, and a goal, and then proceed step by step starting from scratch with GTM web and server until reaching the solution.
It would also be nice if things were explained in detail about what they are and what they are used for, so that we can understand them as well.
Thank you so much for your feedback, we really appreciate it!
You are right, the video assumes that you already have experience with tracking, especially with GTM.
Unfortunately, to describe everything in detail would be an hours long video
We recommend you take a look at the Stape Academy, which is free for Stape users and where these and many other aspects are described and explained in more detail: academy.stape.io.
@ I did and I managed to learn GTM and configure correctly my server :) I think you guys have a lot of potential outside of the “experts” like me. I was a goofy guy now I’m tracking the s* out of my website.
We are very glad that our material has helped you on your way!
Thanks for the video! Can we only user server tracking only for Facebook without sending data to GA4. So GA4 to stay client based?
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
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.
You need to create it on tagmanager.google.com and host it somewhere in order to set up Meta Conversion API.
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?
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.
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”?
@@gabrielfiume7953@gabrielfiume7953 please send an email with some details of the error to support@stape.io, we will try to help
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
@@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.
What if your site is not on wordpress? How do you trigger the events in that case?
Setting up the Meta Conversion API does not differ depending on the platform on which your site is built.
Please refer to our article describing the setup process: stape.io/blog/how-to-set-up-facebook-conversion-api
please provide exported containers :( (whole gmt as example)
Container templates will be added to stape soon. unfortunately do not have exact time for now.
can you tell me what is inside custom event ee ?
The standard recommendation for GA4 is to use a trigger for just all GA4 events.
That is, you need to use a trigger without a specific event name, just with the condition client name = GA4 (or whatever your GA4 client is called).
Hey, thank you for the video.
I have both server side tracking : Meta and GA4. The problem is that when I'm debugging, in my events manager on Meta, i'm seeing that the event is sended twice by the server... I've already checked if the event-id is activated in the web container for ga4 also from meta tag but I still have the same problem. Do you know what could be? Maybe my Facebook CAPI in server container is from "inherit from client"? Thank you
Overreporting of server events usually indicates that you have an additional CAPI integration that passes server events.
If your site is built on Shopify or WordPress, these may be native integrations that you did not disable after setting up Meta CAPI via server GTM container.
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
You can use any web or server GTM templates with stape. There's no need to use only stape templates.
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 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
@@Stape thank you for quick reply
I don't have "Event Data" option in variables category
Make sure you're watching this in a server container. You are probably trying to find it in the GTM web container.
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!
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.
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.
@@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.
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"
Facebook Conversion API from Stape is NOT available in the tag templates gallery and i don't know how to add it
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
@@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
Facebook Conversion API from Stape is NOT available in the tag templates gallery
this is a link to Facebook CAPI tag tagmanager.google.com/gallery/#/owners/stape-io/templates/facebook-tag
@@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?
@@Hosse10 This template is for the server GTM, looks like you are searching in the web GTM gallery.
how to add items datalayer value in SGTM??
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.
how to convert from IPv4 to ipv6, meta ads are asking for this.
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.
@@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?
How to make Variable? How can i see the variable making video
Please specify the variable you are inquiring about.
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?
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).
@@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