Shopify: Install GA4 Server-Side and FB Ads Conversion API with GTM and Stape - Tutorial
ฝัง
- เผยแพร่เมื่อ 6 ก.พ. 2025
- Requirements:
Shopify access: Orders, Store, Edit Code in the Store, Customer Events, Install Apps, and other complementary to these
Google Tag Manager Admin access at the account level
Stape access.
DNS Manager
Steps:
Create a GTM Server Side Container
Copy the container config
Create a Stape container
Name the container
Paste the container config
Create a Custom Domain
Map the Custom domain in your DNS Manager
Add the Custom Domain in the GTM server-side config and test it
Download the GTM Client Side Tag Template
Add the GTM Client Side template in your GTM Client Side Container
Edit the GA4 Measurement ID in the Variables section
Edit the Server Container URL and add the custom domain
Install the Stape App in the Shopify Store
Configure the Stape App
Generate Tab
Add custom domain
Add custom loader
Add Cookie Keeper
Data Layer Tab
Add e-commerce data layer event
Add a Custom pixel
Webhook
Add Send webhooks to server GTM container
Add custom dimension
Test the standard setup activating GTM client-side and server-side
Double-check that the app widget is enabled on the current theme click Customize, then, App embeds, and make sure it is enabled for the Stape Server GTM
If the GTM client side does not appear, force the injection via the Stape app
Download the GTM Server Side Tag Template
github.com/jjb...