Shopify Server-Side Tracking Made Easy | GA4, Google Ads & Meta — Transcript
Full transcript
- 0:00In this video, you'll learn how to set
- 0:02up shop inside conversion tracking.
- 0:04Also, how to activate server set
- 0:06tracking and setup tracking for Google
- 0:08ads, Google Analytics 4, also for
- 0:10Facebook and conversion API. How you can
- 0:13activate fast tracking and track the
- 0:15full funnel and I'll share everything
- 0:17step by step like completely from a
- 0:19scratch. So, we will activate server
- 0:21tracking using stem.io. Also we will
- 0:23send our data by using our own fast
- 0:25domain to our Facebook pixel, Facebook
- 0:27conversion API, Google ads also
- 0:29gulantics score. Also we will track the
- 0:31complete full funnel including like view
- 0:33code to add toart check out purchase
- 0:35also add shipping info payment info and
- 0:37more also at the same time I'm going to
- 0:40show you like guys how you can send all
- 0:42of the sensory parameter like cor user
- 0:44information for event match quality
- 0:46increase also for inhouse conversion
- 0:47tracking. This is the easiest way to
- 0:49implement short service tracking and
- 0:52you'll never find any video exist in
- 0:54YouTube explain you the simple way. So
- 0:56let's watch this video and if you have
- 0:59any question feel free to ask me anytime
- 1:01you can directly ask me by WhatsApp. At
- 1:03the same time you can also ask in the
- 1:04video comment. So I'll try to response
- 1:06always. So here is our exact set of
- 1:08flow. So user actually visit our website
- 1:10and they can actually make a purchase or
- 1:12do any other action and we use Google
- 1:15tag manager to send all of this data.
- 1:17Here you can see we have we will
- 1:18actually install Google tag manager web
- 1:20container. We install Google tag manager
- 1:22server container. I'll explain
- 1:23everything what is server, what is web,
- 1:25how you can also create each account,
- 1:26how you can actually make any connection
- 1:28also how you can actually create a step
- 1:30account or others everything necessary
- 1:32what need. So basically you can also see
- 1:36like uh we we can actually implement two
- 1:38kinds of setup. This is a bit important
- 1:40that's why I just you know wanted to say
- 1:41that first of all like we can implement
- 1:44two different setup like we can only
- 1:46implement client set tracking and with
- 1:48client set tracking we can achieve like
- 1:50up to 65 to 80% data accuracy and with
- 1:53our uh we can also implement server set
- 1:55tracking which is called fast party
- 1:57tracking active. I'll show in this video
- 1:59how you can implement actually fast
- 2:00tracking like server tracking for your
- 2:02all of this advertising platform. So
- 2:04with fast for tracking setup we can
- 2:07achieve up to 90 to 99% data accuracy.
- 2:09So ad block or restriction you may hear
- 2:11about that uh it not able to actually
- 2:14block our data our ads platform data. So
- 2:17yeah let's go into the setup. So first
- 2:19of all all you have to do we have to
- 2:20create a Google tag manager account. So
- 2:22go to Google tag manager like tag
- 2:24manager.google.com.
- 2:25If you already have an account which is
- 2:27great. If you not have an account then
- 2:28create in here uh click in here create
- 2:30account and write in here the name. So
- 2:32I'm going to write in here like you know
- 2:34um Tify YT and I'll set up this using ST
- 2:38I just write in here ST okay and then
- 2:42click in here also like so this is
- 2:44actually account name and inside account
- 2:46you can create multiple container so
- 2:48we'll create in here another container
- 2:50which is like Shopify wave and then
- 2:52choose from here the wave and then click
- 2:54in here create okay and we also we have
- 2:57to you know accept the Google tag
- 3:00measure trans condition so Yes.
- 3:03And here you go. Our Google Tag Manager
- 3:05web container has been created. You're
- 3:08going to like show us now the I guess
- 3:09it's still loading
- 3:12here. So
- 3:15yeah, it's going to few details like how
- 3:18you can install the Google Tag Manager
- 3:19into our website back end. But I'll
- 3:21share with you guys how you can do that
- 3:22also how we can implement first party
- 3:24tracking with more advanced way.
- 3:27However, yeah. So now let's click in
- 3:30here. Okay. go to our Google tag manager
- 3:33admin and then we need to now create a
- 3:36new container which is for server. So
- 3:39let's click in here in the plus icon and
- 3:42then write in here like Shopify server.
- 3:45In your case you may you can write in
- 3:47here like your website and then server
- 3:48or you can write in here your business
- 3:50name and then write in here server.
- 3:52Okay. And then make sure select in here
- 3:56the server and then click in here
- 3:58create.
- 4:00Perfect. So now we have our Google tag
- 4:02maner web container and server
- 4:04container. Before I go to the server
- 4:06tracking and full funnel tracking setup,
- 4:08I just want to clarify once again what
- 4:10is service tracking. I think this is a
- 4:12bit confus uh you have in your mind. So
- 4:16basically for example uh a user visit
- 4:18our website right and then they actually
- 4:20visit from Google ads or Facebook ads.
- 4:24So if they have in their browser ad
- 4:25block are enabled or if they visit from
- 4:28safari there is very high chance the
- 4:31user data will be automatically blocked
- 4:35and even the user visitor from Google
- 4:37ads or Facebook ads but our Google and
- 4:39Facebook ads cannot able to actually get
- 4:41this user information because this data
- 4:43already blocked because like this ad
- 4:46blocker actually block the tracking
- 4:47script and then our those advertising
- 4:50platform actually not receive the
- 4:52information from the this side and those
- 4:54platform actually you know flying blind
- 4:57and our at cost we see very high also we
- 5:00see we are not receiving right
- 5:02conversion data so that's why the
- 5:04service tracking is very important
- 5:06specifically now and because like
- 5:08nowadays chrome or also others all of
- 5:11these browser already enable you know
- 5:12this kind of tracking in script
- 5:14automatically they got they block this
- 5:16tracking script okay so we have created
- 5:18Google tag manager web container we have
- 5:20create Google tag maner server container
- 5:21now all we need to do in here which is
- 5:24I'm going to go to here away basically.
- 5:26Okay. So now we have to actually create
- 5:27a state account. So recently I actually
- 5:30like not recently actually I write this
- 5:32in like almost a year ago. Uh I'll
- 5:34create a video about server set tracking
- 5:36like how you can implement service
- 5:37tracking for your website
- 5:40which is basically I show like seret
- 5:42tracking basic. So if you could go to
- 5:44here you can see I'll be adding here a
- 5:45reference link. I'll add this link also
- 5:47in my video description. So if you could
- 5:49go to from this link, I'll add this link
- 5:51in the video description then I can also
- 5:54directly help you with if you have any
- 5:56problem if you face any problem with
- 5:57service tracking I can directly help you
- 5:59with that if you actually go through my
- 6:01referral link. Okay. So uh yeah just a
- 6:04referral link that's it. So if you could
- 6:06go to this site step.io uh from the uh
- 6:10top link in the description and then we
- 6:14need to create in here a new account. So
- 6:16to create an account and you can just
- 6:18enter your email address in here. Okay?
- 6:20Or you can click in here try for free.
- 6:22Let's click in here and then write in
- 6:24here your email address. So I already
- 6:27have an account to be honest. But if you
- 6:29not have any account just create from
- 6:30here a account. That's it's very very
- 6:32simple. So I'll just click in here u you
- 6:36know I'll go back because I already have
- 6:38an account. I'll or click in here sign
- 6:40in or login. And then I'm going to
- 6:42provide my email address. Click in here
- 6:43continue.
- 6:45I will provide in here the password and
- 6:47then click in here continue
- 6:49and
- 6:51here you go you can see our step account
- 6:53properly created. Now your question will
- 6:56be like why I should go with step there
- 6:58is like uh and why do we we even need in
- 7:01here step. So basically when you
- 7:04implement server set tracking there is a
- 7:07require actually paid server and this is
- 7:09not like normal web hosting server this
- 7:11is specifically create or dedicatedly
- 7:13create for this kind of server set
- 7:15tracking. So in the market there is like
- 7:18uh such a good platform in step at this
- 7:20moment that we have in here also like uh
- 7:22Google cloud also others similar
- 7:25platform but step in this market I find
- 7:28good. I already use this for all of my
- 7:29client and so I highly recommend like if
- 7:32you ser tracking then go with actually
- 7:34step okay so u yeah so basically we have
- 7:38created here step account and we need to
- 7:41now create a new container so let's go
- 7:43to here if you could go to here here you
- 7:46see sgtm I already have few previous
- 7:48container but in our case we need to
- 7:50actually create in here a new container
- 7:52so if you could go to dashboard you can
- 7:54see my previous container in here but
- 7:56I'll create in here new container So for
- 7:58that I have to click in here create hgtm
- 8:00container and then click in here
- 8:03manually. Okay and then write in here
- 8:06the container name. So the container
- 8:08name is I will write in here like
- 8:09Shopify
- 8:12in your case you may write in here
- 8:13something like you know uh in your
- 8:16wasted business business name and then
- 8:19like something like that tape. Now here
- 8:22it's ask us to actually add in here the
- 8:26container configuration. So container
- 8:29configuration basically let's go back to
- 8:31our Google tag manager server container.
- 8:33If you stay the end of the video and you
- 8:34still have any question or wanted to
- 8:36check if I can help you directly you can
- 8:37chat with me by using the top link in
- 8:39the description or you can book a call
- 8:41using the top link in the description or
- 8:43if you want to also get an free audit
- 8:45your setup which is completely free. I
- 8:47will audit your setup one like directly.
- 8:49I'll just reduce your setup and share
- 8:51with you the next step how you can also
- 8:52fix that those issue then you can also
- 8:55claim your free audit by using the top
- 8:57link in the description. So yeah uh
- 8:59let's get back into the video and here
- 9:01is the ID. If you click in here the
- 9:04server container make sure you have
- 9:05chosen your server and then click in
- 9:07here manually and then just copy this
- 9:10code. This is actually your container
- 9:11config code and go back to state paste
- 9:14in here the code. Yeah that is your
- 9:16container configuration and then if you
- 9:19see in here here is actually server. So
- 9:21actually choose from here your you know
- 9:23nearest server maybe in your if you see
- 9:25in here in your country is available
- 9:26which is great. just choose from here
- 9:27your country server if not then actually
- 9:30try to choose in here your nearest uh
- 9:32country okay so I'm going to choose in
- 9:34here like USA origin and then I'll click
- 9:36in here create container okay
- 9:41once you click in here create container
- 9:42it will ask you to like provide your and
- 9:44you know go with their pro plan but
- 9:47since we're going to just implement this
- 9:48setup so there's no required to actually
- 9:50go with service tracking I could I mean
- 9:52go with paid plan for a start with just
- 9:54go with free plan once you see okay or
- 9:57implementation is working very well then
- 9:59you can actually you know uh up upgrade
- 10:01with paid plan but for for testing
- 10:03purpose until everything act activate
- 10:05properly just go with actually paid free
- 10:07plan it's work for us now and click in
- 10:11here continue with free plan okay so the
- 10:15plan has been now created and it's
- 10:17deploying however
- 10:20so uh here you can see there is a like u
- 10:24option which is called actually Add new.
- 10:28Okay. So here is the game start. So
- 10:30let's click in here in the edit icon
- 10:32like fencil icon. If you could go to
- 10:33your container then you'll find in here
- 10:36icon like that fencil icon. Let's click
- 10:39in here. Once you click in here step
- 10:41will ask you to like provide your wet
- 10:44information. So let's go back to here
- 10:46and then like enter your wasted
- 10:48information. So in my case this is
- 10:50basically umam.com.
- 10:53Sorry this is another site. So the
- 10:56graceful beauty here is my shop website.
- 10:58I just copy this URL from here. Let's go
- 11:00back to here and paste the website URL
- 11:02in here and click in here scan domain.
- 11:06Okay. So here you can see this is
- 11:08already scan the domain and it's already
- 11:09detect this is actually Shopify website
- 11:11and click in here next. Okay. And then
- 11:14clicking here set up uh start from
- 11:17scratch. Next and then uh click in here
- 11:20manually. Next. And then which paid ad
- 11:25are you running? So in our case we will
- 11:27choose in here G4 Google ads and
- 11:30Facebook ads right and if you also run
- 11:32ads for LinkedIn or clio or Microsoft or
- 11:37Pinterest or whatever the advertising
- 11:38platform what available in here you can
- 11:40also choose this conversion I mean
- 11:42choose this platform in here. So I'm
- 11:44going to like choose in here only these
- 11:45three platform but if you're choosing
- 11:46here also this platform that's also you
- 11:48know work for you and then click in here
- 11:50next.
- 11:52And then it ask us to provide in here
- 11:54the measurement ID. So where actually
- 11:56you'll find the measurement ID. So if
- 11:58you already have an account in Google
- 11:59Analytics 4 then go back to Google
- 12:01Analytics 4 and then go to settings I
- 12:04mean admin from the admin you have to go
- 12:07to here data streams and here you can
- 12:10see here is our data streams and then
- 12:11you have to just create in here a data
- 12:12streams. Okay. Now your question will be
- 12:15hey Abdul maybe I I not have in here any
- 12:17for account. So how can I actually
- 12:19create a Googleantics for account? So to
- 12:20create gentics for account and data
- 12:22stream streams is very simple.
- 12:25Go to gulantics. You'll find an option
- 12:27like called create an account and then
- 12:29click in here create and click in here
- 12:31create account and then once you click
- 12:33here create account you have to write in
- 12:34here your account name and then you just
- 12:36you know it will ask you a very vasic
- 12:38question if you just you know like
- 12:40company size or stuff like that. So once
- 12:43you create actually account
- 12:44automatically you'll see for your a
- 12:46property will automatically create. So
- 12:48what you have to do in here go to data
- 12:51stream after that and then click in here
- 12:53add stream and then click in here wave
- 12:55and then click in here yes and paste in
- 12:58here your reset URL right in here your
- 13:00stream name then automatically you can
- 13:03see in here I mean just not
- 13:04automatically you have create just I
- 13:06mean you have properly after that you
- 13:07can see you successfully create a Google
- 13:10analytics data streams okay so in my
- 13:13case I already have an streams in here
- 13:16and I believe you also have a Google and
- 13:17export data streams now. Then click in
- 13:20here and here you'll find a code which
- 13:22is called like measurement ID and there
- 13:24is the measurement ID code. So copy this
- 13:26code from here. Go back to our um step
- 13:30paste in here the ID
- 13:33and then click in here next. And it ask
- 13:35us to actually provide in here our
- 13:37Google's conversion ID also you know
- 13:39purchase conversion level. I'll explain
- 13:41everything what is called conversion
- 13:42level and where we even also find it.
- 13:44else it will ask for begin check out
- 13:46conversion level at conversion level. So
- 13:49let's go back to our Google ads and then
- 13:52click in here goals and then once you
- 13:55click in here goals we can able to now
- 13:57create a new conversion action. Okay so
- 14:00scroll down here you'll see a option
- 14:01which is called create a conversion
- 14:02action. Click in here and then it will
- 14:07like you know open that. Click in here
- 14:09edit data source and then paste in here
- 14:11your URL and click in here scan. Once
- 14:14you scan here you can see you'll find
- 14:15option which is called Google tag and
- 14:17this is at this moment not install no
- 14:19worries just select in here and then
- 14:21click in here done and then click in
- 14:23here save and continue. Now we're going
- 14:24to create in here you know three
- 14:25conversion action. So I'll choose in
- 14:27here this website and manually with code
- 14:31and then conversion settings.
- 14:34Okay. and select in here primary for
- 14:36purchase and then the purchase I will
- 14:38write in here as server since this date
- 14:41actually came from server also make sure
- 14:43enable inhance conversion tracking
- 14:45because like with this setup what I'm
- 14:46going to show in here it will also
- 14:47support actually enhance conversion
- 14:48tracking now if you click in here add
- 14:52another category then we can able to
- 14:54actually select in here another category
- 14:56so it could be like add to cut so I
- 14:58choose in here add to cut selecting add
- 15:00to cut and then again choosing here like
- 15:02select data source so data source is
- 15:04actually this side and then manually
- 15:06with code and right in here I mean
- 15:08choose ch just click in here like
- 15:10conversion settings and set it like
- 15:12secondary for now you can make it
- 15:14primary I'll also explain what is called
- 15:16primary and what is secondary and also
- 15:18write in here um a toart server
- 15:23so if you choose actually primary then
- 15:26you actually you know optimize this
- 15:28conversion action for your campaign and
- 15:30if you choose this for secondary this is
- 15:32just only you can see the conversion
- 15:33action data But it will actually like
- 15:35you know uh not for not used for viding
- 15:38optimization. It will only for you know
- 15:40just a secondary conversion action. You
- 15:42can see this for u like how many
- 15:44conversion you have received or etc.
- 15:46this kind of data. Once you actually
- 15:48feel good with secondary conversion
- 15:49action with I mean if need sometime you
- 15:52know if we run a a campaign we may
- 15:54optimize our campaign just for view
- 15:56product not for purchase. So in this
- 15:58kind of situation you also have to you
- 16:00know make it primary for view item or
- 16:02add to cardart
- 16:04and when a user make an add toart we
- 16:06actually not collect this user
- 16:08information. So turn off this and then
- 16:11clicking here done. Now we're going to
- 16:13create for another conversion action
- 16:14which is begin check out. Selecting here
- 16:17begin checkout. Select in here the octed
- 16:19URL and then click in here secondary.
- 16:23And then we have to basically uh write
- 16:25in here server right and then let's also
- 16:29enable turn off in here the enhance
- 16:30conversion settings and then click in
- 16:33save and continue. So here you can see
- 16:36we have created here three conversion
- 16:38action purchase head to cart begin check
- 16:40out. You can also create few others all
- 16:42others conversion action like p view or
- 16:45add payment info like that. So in our
- 16:48case like we're going to like you know
- 16:49just only now implement for purchase we
- 16:51can check out and add toart since for
- 16:53Shopify those are actually important
- 16:54conversion action and click in here save
- 16:57and continue.
- 16:59Okay and then once you click in here
- 17:01save and continue here you can see a we
- 17:03have successfully create three
- 17:05conversion action and now clicking use
- 17:07Google tag measure since we're going to
- 17:08set up this using Google tag manager.
- 17:11Now here you can see it ask us for
- 17:14conversion ID and conversion level and
- 17:16here is our conversion ID and level. So
- 17:19now copy this conversion ID from here
- 17:21and paste in here the conversion ID and
- 17:23then copy from here this level like this
- 17:25is for our server. I just copy this
- 17:27conversion level for server uh sorry
- 17:29purchase and then paste in here the
- 17:32purchase conversion level. go back to
- 17:35Google Ads and then copy the at toart
- 17:39conversion level
- 17:41and then go back to our state and paste
- 17:44in here the add toart conversion level.
- 17:46Now for begin check out which is this
- 17:48one. Copy this and paste in here.
- 17:52Perfect. Now click in here next. Then we
- 17:56also said we're going to set up in here
- 17:58Facebook conversion API. So you can also
- 18:01write in here you know Facebook pixel
- 18:02ID. You can provide in here I mean paste
- 18:04in here your Facebook pixel ID. So where
- 18:07you'll find the Facebook pixel ID right
- 18:10so to collect Facebook pixel ID also the
- 18:14AP access token you have to go to
- 18:16Facebook event manager so which is
- 18:17called you know event manager.fas.com
- 18:19facebook.com. So if you could go to
- 18:21here, if you already have any pixel,
- 18:24just choose your pixel and if you not
- 18:27have any pixel, then you have to create
- 18:29click in here create sorry connect data
- 18:32and then you can actually click in here
- 18:33wave and then you can create a new
- 18:35pixel. So you know Facebook now actually
- 18:38call data set but previously the name
- 18:41was actually pixel. So the same thing
- 18:42but name has been changed. So let's say
- 18:45I believe you already created a pixel or
- 18:47you already have an a pixel right this
- 18:49very simple super simple like you have
- 18:50to just click in here create a pixel and
- 18:53then for example this is our pixel like
- 18:54this one or like I'm going to write this
- 18:56name like this one like Shopify demo so
- 18:58I'll like uh rename that like Shopify
- 19:02uh server so we can identify that more
- 19:04easily okay so now we have properly
- 19:07created a new pixel on our Facebook
- 19:09event manager for example sorry I'm
- 19:12going to choose this one this is likely
- 19:14like have few issue however and then if
- 19:17you now click in here settings you can
- 19:20see there is actually our
- 19:23data set sorry this is actually a bit
- 19:24slow okay so here you can see like data
- 19:26set ID so if you click in here then the
- 19:30ID automatically copy in your clipboard
- 19:32now this is basically what is called
- 19:34pixel ID so the pixel new name is
- 19:37actually now data set so the data set
- 19:40you know means like the pixel so this is
- 19:42now fixel ID so we have just copy Copy
- 19:44this pixel ID in our clipboard. Now
- 19:47let's go back to our uh Google.
- 19:52Okay, sorry. Let's go back to now our
- 19:54server container. Right.
- 20:00So now paste in here the fixel ID. Okay.
- 20:02So now we have to also provide in here
- 20:03the API copy token. So this is basically
- 20:07called API access token and step right
- 20:10in here copy token. So it should be
- 20:12changed that name. However, the same
- 20:14meaning. So, so now you know let's go
- 20:16back to Facebook manager once again. And
- 20:19if you scroll down here, you'll find a
- 20:23option which is called generate access
- 20:25token. So, if you now click in here,
- 20:27then it going to ask you to like choose
- 20:29in here your pixel. I mean select in
- 20:32here your pixel. So, I'm going to like
- 20:33select in here the pixel for I wanted to
- 20:36create this API access token. And then
- 20:39uh let's click in here generate access
- 20:40token. So it's going to like create in
- 20:43here a new access token. Okay, click in
- 20:46here. So it's going to automatically
- 20:47copy in your clipboard. Now let's go
- 20:50back to the step. And once you go to a
- 20:53step and paste in here the access token.
- 20:56Now click in here next. And then
- 20:59yeah. So it ask us for like do you use
- 21:02consent banner? In our case, we actually
- 21:05not use constant banner like but if you
- 21:06actually running ads from uh Europe
- 21:09economic area like Switzerland or uh
- 21:12yeah Switzerland also like Germany then
- 21:16you have to actually like also enable
- 21:18consent banner and I will I have already
- 21:21dedicated video about cookie consent
- 21:22banner. But the thing is like you know
- 21:24without if you enable if you have in
- 21:26your set cookie consent banner like if
- 21:29user user can able to accept or deny
- 21:31your consent banner then if you also
- 21:34select in here like consent banner yes
- 21:36then if people actually accept your
- 21:38banner then you can able to collect
- 21:39their information and if you're not if
- 21:42the user actually denied your banner you
- 21:43cannot able to collect this information
- 21:45but in our case we not have in here any
- 21:47consent banner. So select in here no and
- 21:50then click in here next. Okay. Then here
- 21:54you can see resource file. Jeep file.
- 21:56Then click in here download the jeep
- 21:58file.
- 22:01Okay. And then click in here next.
- 22:04And then it going to like say us to
- 22:06actually verify this subdomain. Then
- 22:07click in here set up later.
- 22:10And then click in here setup later once
- 22:12again. Okay. And then again click in
- 22:15here setup later.
- 22:18Perfect. Now click and go to container.
- 22:22Okay fine. So all we have to do now
- 22:26let's go back to our Shopify web
- 22:28container and then before you go to
- 22:30Shopify web container the go you have
- 22:33download. So the file you have download
- 22:35in here just click in here like I mean
- 22:36open the file and this is now actually
- 22:39here you can see GIF file. So you have
- 22:40to we we have to in here unjif the file.
- 22:43So click in here double if you already
- 22:45using actually Mac then double click in
- 22:47here. But if you actually use Windows
- 22:49then you can actually you know unjif
- 22:51using like 7 GIF something like that. So
- 22:53here you can see we have in here two
- 22:55code like one is like web JSON another
- 22:57one is actually server JSON. So now we
- 23:00need to actually like upload this JSON
- 23:01into our Google tag manager. So let's go
- 23:03back to Google tag manager click in here
- 23:06admin
- 23:08and then click in here input container
- 23:10and then once you click in here in
- 23:11import container here we can able to
- 23:14here you can see there is option called
- 23:16select file to input. So click in here
- 23:19and then go to your file. So we have in
- 23:22here you can see we was unzip this file
- 23:25right. So now click in here web JSON.
- 23:28Once you select in here the web JSON
- 23:31then here you can see the choose the
- 23:33workspace. So we want to actually select
- 23:35in here the default workspace. But if
- 23:36you want to actually select this on a
- 23:38new workspace under you can also create
- 23:39in your workspace.
- 23:42So the default workspace actually always
- 23:43work for us. Like if we actually set up
- 23:46everything from new then
- 23:48okay then scroll down and click in here
- 23:51add to workspace. Okay, then this data
- 23:54will automatically add in your workspace
- 23:57and it's still loading by the way.
- 24:01Okay, and then click in here dish and
- 24:04click in here. Go to your server GTM
- 24:06container and do the same job for server
- 24:08JSON file. Go to admin and then here you
- 24:12can see input container.
- 24:15Now click in here choose container file.
- 24:18Select in here server JSON and then
- 24:23u since this is our default container so
- 24:25just default we choose here default
- 24:27workspace and click and add to
- 24:29workspace.
- 24:30Perfect.
- 24:32So now we have successfully upload this
- 24:36both of the JSON file into our Google
- 24:37tag maner web and server container. We
- 24:40have to do in here another thing and our
- 24:41tracking setup is now complete which is
- 24:43like let's go back to Google in here
- 24:46your choice back end and then go to apps
- 24:50and then we have to actually install in
- 24:52in here apps which is called step. So
- 24:54I'm writing here step and then here you
- 24:56can see here is a step app open that and
- 24:59then once you open it then it will ask
- 25:02us to install click in here install
- 25:06okay and then um here you can see
- 25:12this pop-up open click and install once
- 25:15again
- 25:17okay
- 25:19and
- 25:21it's still appearing
- 25:23Just a few second. Okay. So here you can
- 25:26see uh use Shopify marketer VA. This is
- 25:28actually not RER for now. And clicking
- 25:32in insert web GTM script. Okay. And also
- 25:36like select this one. Rely on Shopify
- 25:39customer privacy API consent state.
- 25:42This is not recommended by default but
- 25:44actually u take this checkbox if you
- 25:47want to use GTM container to be loaded
- 25:48in prep. Okay.
- 25:50What happen if any user allow our if you
- 25:54have Google consent banner right in your
- 25:56website and if the user actually allow
- 25:58the consent banner then the Google tag
- 26:00manager will actually connect with your
- 26:02site. So if you want that then actually
- 26:04select in here but in our case this is
- 26:06actually not necessary. So select in
- 26:08here insert web GTM script and then
- 26:11enter in here your web GTM ID. So our
- 26:14Google tag manager webtm ID is there. So
- 26:16just open that and then copy this ID in
- 26:19your clipboard. Go back to ST Shopify
- 26:22back end. Paste in here the ID and click
- 26:25on add custom domain
- 26:28and then our custom domain is basically
- 26:31this one. Okay, there's a very important
- 26:34note. I'll mention I mean I'll talk
- 26:36about that later. So uh go back to here.
- 26:39paste in here the domain and then click
- 26:42here add custom loader and then ES
- 26:45cookie keeper also enabled in here and
- 26:47then the custom loader is basically if
- 26:50you could go to state here you can see
- 26:52powerups if you go to here here you see
- 26:55custom loader click in here use enable
- 26:58that click in here save okay now paste
- 27:03in here our Google tag maner web
- 27:05container ID so we was previously copy
- 27:07this ID which is this one copy once
- 27:09Again go back to Google uh sorry Shopify
- 27:14past in here the ID again enable this
- 27:16enhance at blog protection
- 27:20and then in the platform choosing here
- 27:22Shopify clicking here generate now. So
- 27:26you can see few code has been actually
- 27:28generated. So just copy from here the
- 27:30container identification and then go
- 27:34back to escape
- 27:36and sorry go back to Shopify back end
- 27:38and paste in here the the um custom
- 27:41loader. Make sure enable this cookie
- 27:44keeper and then click here save.
- 27:46Okay. So now the next step is basically
- 27:52go to here data layer and click in here
- 27:55add e-commerce data layer event and then
- 27:58make sure also enable this one and then
- 28:01scroll down here you can see a code was
- 28:04provided us. So just click in here copy
- 28:06the code and then clicking on save. Now
- 28:09let's go to settings and click in here
- 28:13custom event
- 28:16and click in here add custom pixel right
- 28:18in here GTM or like Google tag manager
- 28:21whatever you want
- 28:24okay and then click in add pixel. So
- 28:26this is just you know connect Google tag
- 28:28manager with our site also enable the
- 28:29data layer. So control a remove every
- 28:31code from here and paste the new code we
- 28:33have copied you know which was in our
- 28:36clipboard. Now click in here permission
- 28:39and click in here not require also again
- 28:41data sale clicking here does data
- 28:43collector does not qualify for data cell
- 28:46and now click in here save okay now this
- 28:50time to actually connect this fixel with
- 28:52our site so click in connect click in
- 28:54connect once again and then let's go
- 28:57back to Shopify uh let's go back to our
- 29:00Google tag manager web container click
- 29:02again in here tag
- 29:06and Then um open in here here our Google
- 29:09tag manager uh contain I mean any of
- 29:12this tag from here and once you enable
- 29:14in here any tag then here you can see we
- 29:17have in here option which is called GF4
- 29:19parameter. Click in here
- 29:22and then we have to actually upgrade in
- 29:24here the server container URL. So click
- 29:26in here once again.
- 29:29So here is actually how you can actually
- 29:30update the server container URL. I I'll
- 29:32also talk about I mean I'll also uh show
- 29:36you why we should not use this step by
- 29:41default subdomain and why we should
- 29:43create a new subdomain without creating
- 29:46a new fast party subdomain our service
- 29:49tracking we just you know we just waste
- 29:50our money and time with service
- 29:52tracking. So this is the very important
- 29:53part but I'll actually talk about that
- 29:55later because like now first of all I
- 29:57want to show you guys how you can just
- 29:58active this service tracking then we can
- 30:00actually focus on enhancement you know
- 30:04um so let's go back to here
- 30:07so clicking save now you can see we have
- 30:10actually updated this state this domain
- 30:12which wasn't here go back to here paste
- 30:16in here clicking as save if you stay the
- 30:19end of the video and you still have any
- 30:20question or wanted to check if I can
- 30:22help directly. You can chat with me by
- 30:24using the top link in the description or
- 30:26you can book a call using the top link
- 30:27in the description. Or if you want to
- 30:29also get an free audit your setup which
- 30:32is completely free. I will audit your
- 30:33setup one like directly. I'll just write
- 30:36your setup and share with you the next
- 30:37step how you can also fix that those
- 30:39issue. Then you can also claim your free
- 30:41audit by using the top link in the
- 30:42description. So yeah uh let's get back
- 30:45into the video.
- 30:47Okay. Now um perfect. Now open our data
- 30:52tag which is basically this one like you
- 30:55can say step D page view
- 30:58and then uh all we have to do in here
- 31:00which is still opening.
- 31:04So um server container URL in here click
- 31:08here the pencil icon and then update
- 31:11this URL with our this URL. Yeah it
- 31:16automatically update already which is
- 31:18great. discuss
- 31:20now our complete tracking has been
- 31:22implemented. So now clicking on submit
- 31:25and
- 31:27uh Google tag m also you know now have
- 31:29actually new option which is
- 31:31automatically right in here our changes.
- 31:34So click in here publish.
- 31:38Okay. Now let's go back to server
- 31:40container and click in here admin. Once
- 31:42you click in here admin we'll find in
- 31:44here option which is called container
- 31:45settings. Add in here the URL which is
- 31:48basically this one and click in here
- 31:50save.
- 31:52Okay, now let's go back to workspace and
- 31:56click in here data. Now click in here
- 31:58preview. So our setup has been complete.
- 32:01Make sure you have submit our Google tag
- 32:03manager
- 32:05web container and also make sure you
- 32:06have actually submitted the server
- 32:08container in here. So this web and
- 32:11server container publish is required to
- 32:12go our setup live. So make sure you have
- 32:16did it right away. So publish once
- 32:18again.
- 32:20So I have successfully submit our web
- 32:21container. I have also successfully
- 32:23submit our Google tag manager server
- 32:25container. Both are properly submitted.
- 32:28Now here you can see I will also make
- 32:30our Google tag manager server container
- 32:32preview and our preview has been open in
- 32:34here. So the setup is complete. Now
- 32:36let's verify everything is properly
- 32:37working or not. So to verify go to your
- 32:39website like open the server container
- 32:41preview. Go to your website and see in
- 32:43here any product. Once I see in here
- 32:46this product I should be now receiving
- 32:47here a view item event. So if I could go
- 32:49back to here you can see I have receive
- 32:50here page view view item this event one
- 32:53is from data client and another one is
- 32:55from actually uh Google antics 4 this is
- 32:58completely fine there is nothing
- 33:00actually to duplicate duplicate event we
- 33:02are receiving and yeah so view item
- 33:05event is firing right away also like if
- 33:07I could go to our Google analytics 4
- 33:10debug view in here right yeah data
- 33:14display debug view and you can see in
- 33:17here.
- 33:18Yep,
- 33:20it will it will came also in here.
- 33:22However, so now let's say I'm going to
- 33:24open the server container preview once
- 33:26again and then I'll now complete a
- 33:28purchase. So I'll like click in here add
- 33:30to card and then I will like click in
- 33:33here check out and then I'll make in
- 33:35here a purchase. So one
- 33:39the card information and then now click
- 33:42in here pay now.
- 33:45Okay. So this product is not available.
- 33:47Let's say we're going to now buy in here
- 33:49another product which is this watch and
- 33:52then buy it now
- 33:56and then once you click in here it's
- 33:58going to like redirect us to the
- 33:59checkout.
- 34:00So the card information this is just a
- 34:04testing purpose you know the site is
- 34:07actually only created for testing
- 34:08purpose I mean purchase. So
- 34:12yeah now the purchase has been completed
- 34:15here you can see and if I could go back
- 34:16to our Google tag manager preview we
- 34:19should be also receiving here purchase
- 34:21event here you can see we have
- 34:22successfully received our page view
- 34:25begin check out at shipping inf payment
- 34:28info also purchase event also in the
- 34:31purchase event you can see our Google
- 34:34ads purchase tag firing with all of this
- 34:37necessary data right also So if you
- 34:40could go to event data here you can see
- 34:41we have in here user data we have in
- 34:43here items data also every necessary
- 34:46data. So also our you can see our J4 tag
- 34:51fire and also if you could go to data
- 34:53tag here you can see our Facebook
- 34:55conversion e tag also success with the
- 34:58all the user data which will improve our
- 35:00event match quality and more. So our
- 35:03Facebook tag, Google tag also Google ads
- 35:05and Google antics 4 everything has been
- 35:08firing right way also data sending to
- 35:10our Google ads Facebook ads also others
- 35:12platform so if I could go to here again
- 35:15debug view
- 35:17and now let's I'll click in here report
- 35:20in Google 4 and I'll go to realtime
- 35:23overview
- 35:25then you can see I was like you know
- 35:27visit the site also making a purchase
- 35:29also do add to cut view item also
- 35:31purchase event And that's why those data
- 35:33also available in here. So that's when
- 35:35it's verify our tracking is successfully
- 35:37working. Okay. So you can also check
- 35:39this data in your Facebook event
- 35:41manager. Um yeah it will like take few
- 35:44times to actually you know collect new
- 35:45data also populate that and send to show
- 35:47your advers right away.
- 35:50So if you could also go to Google ads
- 35:53and in Google ad in our purchase event
- 35:56we have create it will like you know now
- 35:58start receiving data if any user making
- 36:00a purchase. So that's mean like you know
- 36:03our participant has been here you can
- 36:05see still like this is said in here
- 36:06actually you know waiting for
- 36:08conversion. So once we receive few new
- 36:09conversion then it will automatically
- 36:11verify. Okay. So now basically uh yeah
- 36:14this one also same. So it's just you
- 36:16waiting for any conversion what actually
- 36:18happened through Google ad. So the setup
- 36:21is complete everything is working
- 36:22perfectly. Now the most important part
- 36:25in here we implement service tracking to
- 36:27collect as possible maximum data and
- 36:29it's possible through our own subdomain
- 36:32and our own custom domain. So one thing
- 36:34you have to do in here, make sure you
- 36:36create in here a new subdomain. For
- 36:39example, if you create a subdomain, for
- 36:40example, my website URL is uh the
- 36:43graceful beauty. This one, right? The
- 36:45graceful beauty. So my website subdomain
- 36:48would be like uh like Abdul dot the
- 36:51graceful beauty. Okay. And then u if you
- 36:55click in here automatically like uh or
- 36:57like if you click in here manually then
- 37:00you if you click in here next it will
- 37:02provide you actually few DNS record and
- 37:03if you actually add this DNS record in
- 37:05your back end of the CRM then you
- 37:08basically like see the subdomain is
- 37:10verified. Once you see the subdomain is
- 37:13successfully verified then make sure go
- 37:16to Google tag manager and then click in
- 37:18our workspace. Okay,
- 37:22go to admin, go to workspace, click in
- 37:23your tag and then enable in here golden
- 37:26export tag and then from here make sure
- 37:30you have actually edit this tag
- 37:34and you edit this URL in here which is
- 37:36basically if you could go to here you'll
- 37:38find it in here.
- 37:41Okay, here's the server container URL.
- 37:44open that
- 37:46and update this with our URL.
- 37:50So make sure you have successfully
- 37:52create a subdomain also like you have
- 37:54replaced this subdomain into Google tag
- 37:56measure also you have replaced the
- 37:58subdomain into our Shopify this app
- 38:00under which is in here.
- 38:03Okay like replace this from here and
- 38:05then uh actually once you you know
- 38:07provide since this is still unvalid. So
- 38:10once you actually like uh replace this
- 38:12URL make sure again Google tag me is
- 38:14properly submitted publish and then make
- 38:16an GTM preview once again and you see
- 38:18actually if you see okay this all of
- 38:20this data receive here that everything
- 38:22is good that is complete a tog how you
- 38:25can implement exactly from view
- 38:27conversion tracking with service
- 38:30tracking the the best I could say the
- 38:31advanced way and track the full fat and
- 38:35the full funnel. If you have any
- 38:37question feel free to comment below and
- 38:39if you have any doubt about server
- 38:40tracking just watch this video and make
- 38:43sure actually uh if you find it valuable
- 38:45make sure to actually also uh see others
- 38:48video in my YouTube channel I already I
- 38:50mean I tried to upload all of this stuff
- 38:52what actually not exist in the internet
- 38:55like if you for example seen here this
- 38:57how to create draft order in Shopify
- 38:59you'll never find any kind of video like
- 39:01that in in YouTube like how to send
- 39:03actually draft order data into Shopify
- 39:05also if you want a free audit, you can
- 39:07actually claim a free audit into my
- 39:09website. Also, you can book in a call
- 39:11with me or you can also, you know, chat
- 39:12with me by WhatsApp and also you can
- 39:15connect with me LinkedIn. I share every
- 39:16day new tracking on LinkedIn. Thank you.
- 39:18Thanks for watching this video.
- 39:19Hopefully, this is helpful. Bye. Take
- 39:21care. If you stay the end of the video
- 39:23and you still have any question or
- 39:24wanted to check if I can help you
- 39:26directly, you can chat with me by using
- 39:27the top link in the description or you
- 39:29can book a call using the top link in
- 39:31the description. Or if you want to also
- 39:33get an free audit your setup which is
- 39:35completely free. I will audit your setup
- 39:37one like directly. I'll just create your
- 39:39setup and share with you the next step
- 39:41how you can also fix that those issue.
- 39:43Then you can also claim your free audit
- 39:45by using the top link in the
- 39:46description. So yeah, uh let's get back
- 39:48into the
About this transcript
This page contains the full transcript of Shopify Server-Side Tracking Made Easy | GA4, Google Ads & Meta by Abdul Kayium | GA4, GTM | Server Side Tracking, generated from the public captions YouTube serves with the video. The transcript has 7,296 words across 1,026 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.