YouTube2Text

Shopify Server-Side Tracking Made Easy | GA4, Google Ads & Meta — Transcript

by Abdul Kayium | GA4, GTM | Server Side Tracking · 7,296 words · 1,026 segments · language en · Watch on YouTube

Full transcript

  1. 0:00In this video, you'll learn how to set
  2. 0:02up shop inside conversion tracking.
  3. 0:04Also, how to activate server set
  4. 0:06tracking and setup tracking for Google
  5. 0:08ads, Google Analytics 4, also for
  6. 0:10Facebook and conversion API. How you can
  7. 0:13activate fast tracking and track the
  8. 0:15full funnel and I'll share everything
  9. 0:17step by step like completely from a
  10. 0:19scratch. So, we will activate server
  11. 0:21tracking using stem.io. Also we will
  12. 0:23send our data by using our own fast
  13. 0:25domain to our Facebook pixel, Facebook
  14. 0:27conversion API, Google ads also
  15. 0:29gulantics score. Also we will track the
  16. 0:31complete full funnel including like view
  17. 0:33code to add toart check out purchase
  18. 0:35also add shipping info payment info and
  19. 0:37more also at the same time I'm going to
  20. 0:40show you like guys how you can send all
  21. 0:42of the sensory parameter like cor user
  22. 0:44information for event match quality
  23. 0:46increase also for inhouse conversion
  24. 0:47tracking. This is the easiest way to
  25. 0:49implement short service tracking and
  26. 0:52you'll never find any video exist in
  27. 0:54YouTube explain you the simple way. So
  28. 0:56let's watch this video and if you have
  29. 0:59any question feel free to ask me anytime
  30. 1:01you can directly ask me by WhatsApp. At
  31. 1:03the same time you can also ask in the
  32. 1:04video comment. So I'll try to response
  33. 1:06always. So here is our exact set of
  34. 1:08flow. So user actually visit our website
  35. 1:10and they can actually make a purchase or
  36. 1:12do any other action and we use Google
  37. 1:15tag manager to send all of this data.
  38. 1:17Here you can see we have we will
  39. 1:18actually install Google tag manager web
  40. 1:20container. We install Google tag manager
  41. 1:22server container. I'll explain
  42. 1:23everything what is server, what is web,
  43. 1:25how you can also create each account,
  44. 1:26how you can actually make any connection
  45. 1:28also how you can actually create a step
  46. 1:30account or others everything necessary
  47. 1:32what need. So basically you can also see
  48. 1:36like uh we we can actually implement two
  49. 1:38kinds of setup. This is a bit important
  50. 1:40that's why I just you know wanted to say
  51. 1:41that first of all like we can implement
  52. 1:44two different setup like we can only
  53. 1:46implement client set tracking and with
  54. 1:48client set tracking we can achieve like
  55. 1:50up to 65 to 80% data accuracy and with
  56. 1:53our uh we can also implement server set
  57. 1:55tracking which is called fast party
  58. 1:57tracking active. I'll show in this video
  59. 1:59how you can implement actually fast
  60. 2:00tracking like server tracking for your
  61. 2:02all of this advertising platform. So
  62. 2:04with fast for tracking setup we can
  63. 2:07achieve up to 90 to 99% data accuracy.
  64. 2:09So ad block or restriction you may hear
  65. 2:11about that uh it not able to actually
  66. 2:14block our data our ads platform data. So
  67. 2:17yeah let's go into the setup. So first
  68. 2:19of all all you have to do we have to
  69. 2:20create a Google tag manager account. So
  70. 2:22go to Google tag manager like tag
  71. 2:24manager.google.com.
  72. 2:25If you already have an account which is
  73. 2:27great. If you not have an account then
  74. 2:28create in here uh click in here create
  75. 2:30account and write in here the name. So
  76. 2:32I'm going to write in here like you know
  77. 2:34um Tify YT and I'll set up this using ST
  78. 2:38I just write in here ST okay and then
  79. 2:42click in here also like so this is
  80. 2:44actually account name and inside account
  81. 2:46you can create multiple container so
  82. 2:48we'll create in here another container
  83. 2:50which is like Shopify wave and then
  84. 2:52choose from here the wave and then click
  85. 2:54in here create okay and we also we have
  86. 2:57to you know accept the Google tag
  87. 3:00measure trans condition so Yes.
  88. 3:03And here you go. Our Google Tag Manager
  89. 3:05web container has been created. You're
  90. 3:08going to like show us now the I guess
  91. 3:09it's still loading
  92. 3:12here. So
  93. 3:15yeah, it's going to few details like how
  94. 3:18you can install the Google Tag Manager
  95. 3:19into our website back end. But I'll
  96. 3:21share with you guys how you can do that
  97. 3:22also how we can implement first party
  98. 3:24tracking with more advanced way.
  99. 3:27However, yeah. So now let's click in
  100. 3:30here. Okay. go to our Google tag manager
  101. 3:33admin and then we need to now create a
  102. 3:36new container which is for server. So
  103. 3:39let's click in here in the plus icon and
  104. 3:42then write in here like Shopify server.
  105. 3:45In your case you may you can write in
  106. 3:47here like your website and then server
  107. 3:48or you can write in here your business
  108. 3:50name and then write in here server.
  109. 3:52Okay. And then make sure select in here
  110. 3:56the server and then click in here
  111. 3:58create.
  112. 4:00Perfect. So now we have our Google tag
  113. 4:02maner web container and server
  114. 4:04container. Before I go to the server
  115. 4:06tracking and full funnel tracking setup,
  116. 4:08I just want to clarify once again what
  117. 4:10is service tracking. I think this is a
  118. 4:12bit confus uh you have in your mind. So
  119. 4:16basically for example uh a user visit
  120. 4:18our website right and then they actually
  121. 4:20visit from Google ads or Facebook ads.
  122. 4:24So if they have in their browser ad
  123. 4:25block are enabled or if they visit from
  124. 4:28safari there is very high chance the
  125. 4:31user data will be automatically blocked
  126. 4:35and even the user visitor from Google
  127. 4:37ads or Facebook ads but our Google and
  128. 4:39Facebook ads cannot able to actually get
  129. 4:41this user information because this data
  130. 4:43already blocked because like this ad
  131. 4:46blocker actually block the tracking
  132. 4:47script and then our those advertising
  133. 4:50platform actually not receive the
  134. 4:52information from the this side and those
  135. 4:54platform actually you know flying blind
  136. 4:57and our at cost we see very high also we
  137. 5:00see we are not receiving right
  138. 5:02conversion data so that's why the
  139. 5:04service tracking is very important
  140. 5:06specifically now and because like
  141. 5:08nowadays chrome or also others all of
  142. 5:11these browser already enable you know
  143. 5:12this kind of tracking in script
  144. 5:14automatically they got they block this
  145. 5:16tracking script okay so we have created
  146. 5:18Google tag manager web container we have
  147. 5:20create Google tag maner server container
  148. 5:21now all we need to do in here which is
  149. 5:24I'm going to go to here away basically.
  150. 5:26Okay. So now we have to actually create
  151. 5:27a state account. So recently I actually
  152. 5:30like not recently actually I write this
  153. 5:32in like almost a year ago. Uh I'll
  154. 5:34create a video about server set tracking
  155. 5:36like how you can implement service
  156. 5:37tracking for your website
  157. 5:40which is basically I show like seret
  158. 5:42tracking basic. So if you could go to
  159. 5:44here you can see I'll be adding here a
  160. 5:45reference link. I'll add this link also
  161. 5:47in my video description. So if you could
  162. 5:49go to from this link, I'll add this link
  163. 5:51in the video description then I can also
  164. 5:54directly help you with if you have any
  165. 5:56problem if you face any problem with
  166. 5:57service tracking I can directly help you
  167. 5:59with that if you actually go through my
  168. 6:01referral link. Okay. So uh yeah just a
  169. 6:04referral link that's it. So if you could
  170. 6:06go to this site step.io uh from the uh
  171. 6:10top link in the description and then we
  172. 6:14need to create in here a new account. So
  173. 6:16to create an account and you can just
  174. 6:18enter your email address in here. Okay?
  175. 6:20Or you can click in here try for free.
  176. 6:22Let's click in here and then write in
  177. 6:24here your email address. So I already
  178. 6:27have an account to be honest. But if you
  179. 6:29not have any account just create from
  180. 6:30here a account. That's it's very very
  181. 6:32simple. So I'll just click in here u you
  182. 6:36know I'll go back because I already have
  183. 6:38an account. I'll or click in here sign
  184. 6:40in or login. And then I'm going to
  185. 6:42provide my email address. Click in here
  186. 6:43continue.
  187. 6:45I will provide in here the password and
  188. 6:47then click in here continue
  189. 6:49and
  190. 6:51here you go you can see our step account
  191. 6:53properly created. Now your question will
  192. 6:56be like why I should go with step there
  193. 6:58is like uh and why do we we even need in
  194. 7:01here step. So basically when you
  195. 7:04implement server set tracking there is a
  196. 7:07require actually paid server and this is
  197. 7:09not like normal web hosting server this
  198. 7:11is specifically create or dedicatedly
  199. 7:13create for this kind of server set
  200. 7:15tracking. So in the market there is like
  201. 7:18uh such a good platform in step at this
  202. 7:20moment that we have in here also like uh
  203. 7:22Google cloud also others similar
  204. 7:25platform but step in this market I find
  205. 7:28good. I already use this for all of my
  206. 7:29client and so I highly recommend like if
  207. 7:32you ser tracking then go with actually
  208. 7:34step okay so u yeah so basically we have
  209. 7:38created here step account and we need to
  210. 7:41now create a new container so let's go
  211. 7:43to here if you could go to here here you
  212. 7:46see sgtm I already have few previous
  213. 7:48container but in our case we need to
  214. 7:50actually create in here a new container
  215. 7:52so if you could go to dashboard you can
  216. 7:54see my previous container in here but
  217. 7:56I'll create in here new container So for
  218. 7:58that I have to click in here create hgtm
  219. 8:00container and then click in here
  220. 8:03manually. Okay and then write in here
  221. 8:06the container name. So the container
  222. 8:08name is I will write in here like
  223. 8:09Shopify
  224. 8:12in your case you may write in here
  225. 8:13something like you know uh in your
  226. 8:16wasted business business name and then
  227. 8:19like something like that tape. Now here
  228. 8:22it's ask us to actually add in here the
  229. 8:26container configuration. So container
  230. 8:29configuration basically let's go back to
  231. 8:31our Google tag manager server container.
  232. 8:33If you stay the end of the video and you
  233. 8:34still have any question or wanted to
  234. 8:36check if I can help you directly you can
  235. 8:37chat with me by using the top link in
  236. 8:39the description or you can book a call
  237. 8:41using the top link in the description or
  238. 8:43if you want to also get an free audit
  239. 8:45your setup which is completely free. I
  240. 8:47will audit your setup one like directly.
  241. 8:49I'll just reduce your setup and share
  242. 8:51with you the next step how you can also
  243. 8:52fix that those issue then you can also
  244. 8:55claim your free audit by using the top
  245. 8:57link in the description. So yeah uh
  246. 8:59let's get back into the video and here
  247. 9:01is the ID. If you click in here the
  248. 9:04server container make sure you have
  249. 9:05chosen your server and then click in
  250. 9:07here manually and then just copy this
  251. 9:10code. This is actually your container
  252. 9:11config code and go back to state paste
  253. 9:14in here the code. Yeah that is your
  254. 9:16container configuration and then if you
  255. 9:19see in here here is actually server. So
  256. 9:21actually choose from here your you know
  257. 9:23nearest server maybe in your if you see
  258. 9:25in here in your country is available
  259. 9:26which is great. just choose from here
  260. 9:27your country server if not then actually
  261. 9:30try to choose in here your nearest uh
  262. 9:32country okay so I'm going to choose in
  263. 9:34here like USA origin and then I'll click
  264. 9:36in here create container okay
  265. 9:41once you click in here create container
  266. 9:42it will ask you to like provide your and
  267. 9:44you know go with their pro plan but
  268. 9:47since we're going to just implement this
  269. 9:48setup so there's no required to actually
  270. 9:50go with service tracking I could I mean
  271. 9:52go with paid plan for a start with just
  272. 9:54go with free plan once you see okay or
  273. 9:57implementation is working very well then
  274. 9:59you can actually you know uh up upgrade
  275. 10:01with paid plan but for for testing
  276. 10:03purpose until everything act activate
  277. 10:05properly just go with actually paid free
  278. 10:07plan it's work for us now and click in
  279. 10:11here continue with free plan okay so the
  280. 10:15plan has been now created and it's
  281. 10:17deploying however
  282. 10:20so uh here you can see there is a like u
  283. 10:24option which is called actually Add new.
  284. 10:28Okay. So here is the game start. So
  285. 10:30let's click in here in the edit icon
  286. 10:32like fencil icon. If you could go to
  287. 10:33your container then you'll find in here
  288. 10:36icon like that fencil icon. Let's click
  289. 10:39in here. Once you click in here step
  290. 10:41will ask you to like provide your wet
  291. 10:44information. So let's go back to here
  292. 10:46and then like enter your wasted
  293. 10:48information. So in my case this is
  294. 10:50basically umam.com.
  295. 10:53Sorry this is another site. So the
  296. 10:56graceful beauty here is my shop website.
  297. 10:58I just copy this URL from here. Let's go
  298. 11:00back to here and paste the website URL
  299. 11:02in here and click in here scan domain.
  300. 11:06Okay. So here you can see this is
  301. 11:08already scan the domain and it's already
  302. 11:09detect this is actually Shopify website
  303. 11:11and click in here next. Okay. And then
  304. 11:14clicking here set up uh start from
  305. 11:17scratch. Next and then uh click in here
  306. 11:20manually. Next. And then which paid ad
  307. 11:25are you running? So in our case we will
  308. 11:27choose in here G4 Google ads and
  309. 11:30Facebook ads right and if you also run
  310. 11:32ads for LinkedIn or clio or Microsoft or
  311. 11:37Pinterest or whatever the advertising
  312. 11:38platform what available in here you can
  313. 11:40also choose this conversion I mean
  314. 11:42choose this platform in here. So I'm
  315. 11:44going to like choose in here only these
  316. 11:45three platform but if you're choosing
  317. 11:46here also this platform that's also you
  318. 11:48know work for you and then click in here
  319. 11:50next.
  320. 11:52And then it ask us to provide in here
  321. 11:54the measurement ID. So where actually
  322. 11:56you'll find the measurement ID. So if
  323. 11:58you already have an account in Google
  324. 11:59Analytics 4 then go back to Google
  325. 12:01Analytics 4 and then go to settings I
  326. 12:04mean admin from the admin you have to go
  327. 12:07to here data streams and here you can
  328. 12:10see here is our data streams and then
  329. 12:11you have to just create in here a data
  330. 12:12streams. Okay. Now your question will be
  331. 12:15hey Abdul maybe I I not have in here any
  332. 12:17for account. So how can I actually
  333. 12:19create a Googleantics for account? So to
  334. 12:20create gentics for account and data
  335. 12:22stream streams is very simple.
  336. 12:25Go to gulantics. You'll find an option
  337. 12:27like called create an account and then
  338. 12:29click in here create and click in here
  339. 12:31create account and then once you click
  340. 12:33here create account you have to write in
  341. 12:34here your account name and then you just
  342. 12:36you know it will ask you a very vasic
  343. 12:38question if you just you know like
  344. 12:40company size or stuff like that. So once
  345. 12:43you create actually account
  346. 12:44automatically you'll see for your a
  347. 12:46property will automatically create. So
  348. 12:48what you have to do in here go to data
  349. 12:51stream after that and then click in here
  350. 12:53add stream and then click in here wave
  351. 12:55and then click in here yes and paste in
  352. 12:58here your reset URL right in here your
  353. 13:00stream name then automatically you can
  354. 13:03see in here I mean just not
  355. 13:04automatically you have create just I
  356. 13:06mean you have properly after that you
  357. 13:07can see you successfully create a Google
  358. 13:10analytics data streams okay so in my
  359. 13:13case I already have an streams in here
  360. 13:16and I believe you also have a Google and
  361. 13:17export data streams now. Then click in
  362. 13:20here and here you'll find a code which
  363. 13:22is called like measurement ID and there
  364. 13:24is the measurement ID code. So copy this
  365. 13:26code from here. Go back to our um step
  366. 13:30paste in here the ID
  367. 13:33and then click in here next. And it ask
  368. 13:35us to actually provide in here our
  369. 13:37Google's conversion ID also you know
  370. 13:39purchase conversion level. I'll explain
  371. 13:41everything what is called conversion
  372. 13:42level and where we even also find it.
  373. 13:44else it will ask for begin check out
  374. 13:46conversion level at conversion level. So
  375. 13:49let's go back to our Google ads and then
  376. 13:52click in here goals and then once you
  377. 13:55click in here goals we can able to now
  378. 13:57create a new conversion action. Okay so
  379. 14:00scroll down here you'll see a option
  380. 14:01which is called create a conversion
  381. 14:02action. Click in here and then it will
  382. 14:07like you know open that. Click in here
  383. 14:09edit data source and then paste in here
  384. 14:11your URL and click in here scan. Once
  385. 14:14you scan here you can see you'll find
  386. 14:15option which is called Google tag and
  387. 14:17this is at this moment not install no
  388. 14:19worries just select in here and then
  389. 14:21click in here done and then click in
  390. 14:23here save and continue. Now we're going
  391. 14:24to create in here you know three
  392. 14:25conversion action. So I'll choose in
  393. 14:27here this website and manually with code
  394. 14:31and then conversion settings.
  395. 14:34Okay. and select in here primary for
  396. 14:36purchase and then the purchase I will
  397. 14:38write in here as server since this date
  398. 14:41actually came from server also make sure
  399. 14:43enable inhance conversion tracking
  400. 14:45because like with this setup what I'm
  401. 14:46going to show in here it will also
  402. 14:47support actually enhance conversion
  403. 14:48tracking now if you click in here add
  404. 14:52another category then we can able to
  405. 14:54actually select in here another category
  406. 14:56so it could be like add to cut so I
  407. 14:58choose in here add to cut selecting add
  408. 15:00to cut and then again choosing here like
  409. 15:02select data source so data source is
  410. 15:04actually this side and then manually
  411. 15:06with code and right in here I mean
  412. 15:08choose ch just click in here like
  413. 15:10conversion settings and set it like
  414. 15:12secondary for now you can make it
  415. 15:14primary I'll also explain what is called
  416. 15:16primary and what is secondary and also
  417. 15:18write in here um a toart server
  418. 15:23so if you choose actually primary then
  419. 15:26you actually you know optimize this
  420. 15:28conversion action for your campaign and
  421. 15:30if you choose this for secondary this is
  422. 15:32just only you can see the conversion
  423. 15:33action data But it will actually like
  424. 15:35you know uh not for not used for viding
  425. 15:38optimization. It will only for you know
  426. 15:40just a secondary conversion action. You
  427. 15:42can see this for u like how many
  428. 15:44conversion you have received or etc.
  429. 15:46this kind of data. Once you actually
  430. 15:48feel good with secondary conversion
  431. 15:49action with I mean if need sometime you
  432. 15:52know if we run a a campaign we may
  433. 15:54optimize our campaign just for view
  434. 15:56product not for purchase. So in this
  435. 15:58kind of situation you also have to you
  436. 16:00know make it primary for view item or
  437. 16:02add to cardart
  438. 16:04and when a user make an add toart we
  439. 16:06actually not collect this user
  440. 16:08information. So turn off this and then
  441. 16:11clicking here done. Now we're going to
  442. 16:13create for another conversion action
  443. 16:14which is begin check out. Selecting here
  444. 16:17begin checkout. Select in here the octed
  445. 16:19URL and then click in here secondary.
  446. 16:23And then we have to basically uh write
  447. 16:25in here server right and then let's also
  448. 16:29enable turn off in here the enhance
  449. 16:30conversion settings and then click in
  450. 16:33save and continue. So here you can see
  451. 16:36we have created here three conversion
  452. 16:38action purchase head to cart begin check
  453. 16:40out. You can also create few others all
  454. 16:42others conversion action like p view or
  455. 16:45add payment info like that. So in our
  456. 16:48case like we're going to like you know
  457. 16:49just only now implement for purchase we
  458. 16:51can check out and add toart since for
  459. 16:53Shopify those are actually important
  460. 16:54conversion action and click in here save
  461. 16:57and continue.
  462. 16:59Okay and then once you click in here
  463. 17:01save and continue here you can see a we
  464. 17:03have successfully create three
  465. 17:05conversion action and now clicking use
  466. 17:07Google tag measure since we're going to
  467. 17:08set up this using Google tag manager.
  468. 17:11Now here you can see it ask us for
  469. 17:14conversion ID and conversion level and
  470. 17:16here is our conversion ID and level. So
  471. 17:19now copy this conversion ID from here
  472. 17:21and paste in here the conversion ID and
  473. 17:23then copy from here this level like this
  474. 17:25is for our server. I just copy this
  475. 17:27conversion level for server uh sorry
  476. 17:29purchase and then paste in here the
  477. 17:32purchase conversion level. go back to
  478. 17:35Google Ads and then copy the at toart
  479. 17:39conversion level
  480. 17:41and then go back to our state and paste
  481. 17:44in here the add toart conversion level.
  482. 17:46Now for begin check out which is this
  483. 17:48one. Copy this and paste in here.
  484. 17:52Perfect. Now click in here next. Then we
  485. 17:56also said we're going to set up in here
  486. 17:58Facebook conversion API. So you can also
  487. 18:01write in here you know Facebook pixel
  488. 18:02ID. You can provide in here I mean paste
  489. 18:04in here your Facebook pixel ID. So where
  490. 18:07you'll find the Facebook pixel ID right
  491. 18:10so to collect Facebook pixel ID also the
  492. 18:14AP access token you have to go to
  493. 18:16Facebook event manager so which is
  494. 18:17called you know event manager.fas.com
  495. 18:19facebook.com. So if you could go to
  496. 18:21here, if you already have any pixel,
  497. 18:24just choose your pixel and if you not
  498. 18:27have any pixel, then you have to create
  499. 18:29click in here create sorry connect data
  500. 18:32and then you can actually click in here
  501. 18:33wave and then you can create a new
  502. 18:35pixel. So you know Facebook now actually
  503. 18:38call data set but previously the name
  504. 18:41was actually pixel. So the same thing
  505. 18:42but name has been changed. So let's say
  506. 18:45I believe you already created a pixel or
  507. 18:47you already have an a pixel right this
  508. 18:49very simple super simple like you have
  509. 18:50to just click in here create a pixel and
  510. 18:53then for example this is our pixel like
  511. 18:54this one or like I'm going to write this
  512. 18:56name like this one like Shopify demo so
  513. 18:58I'll like uh rename that like Shopify
  514. 19:02uh server so we can identify that more
  515. 19:04easily okay so now we have properly
  516. 19:07created a new pixel on our Facebook
  517. 19:09event manager for example sorry I'm
  518. 19:12going to choose this one this is likely
  519. 19:14like have few issue however and then if
  520. 19:17you now click in here settings you can
  521. 19:20see there is actually our
  522. 19:23data set sorry this is actually a bit
  523. 19:24slow okay so here you can see like data
  524. 19:26set ID so if you click in here then the
  525. 19:30ID automatically copy in your clipboard
  526. 19:32now this is basically what is called
  527. 19:34pixel ID so the pixel new name is
  528. 19:37actually now data set so the data set
  529. 19:40you know means like the pixel so this is
  530. 19:42now fixel ID so we have just copy Copy
  531. 19:44this pixel ID in our clipboard. Now
  532. 19:47let's go back to our uh Google.
  533. 19:52Okay, sorry. Let's go back to now our
  534. 19:54server container. Right.
  535. 20:00So now paste in here the fixel ID. Okay.
  536. 20:02So now we have to also provide in here
  537. 20:03the API copy token. So this is basically
  538. 20:07called API access token and step right
  539. 20:10in here copy token. So it should be
  540. 20:12changed that name. However, the same
  541. 20:14meaning. So, so now you know let's go
  542. 20:16back to Facebook manager once again. And
  543. 20:19if you scroll down here, you'll find a
  544. 20:23option which is called generate access
  545. 20:25token. So, if you now click in here,
  546. 20:27then it going to ask you to like choose
  547. 20:29in here your pixel. I mean select in
  548. 20:32here your pixel. So, I'm going to like
  549. 20:33select in here the pixel for I wanted to
  550. 20:36create this API access token. And then
  551. 20:39uh let's click in here generate access
  552. 20:40token. So it's going to like create in
  553. 20:43here a new access token. Okay, click in
  554. 20:46here. So it's going to automatically
  555. 20:47copy in your clipboard. Now let's go
  556. 20:50back to the step. And once you go to a
  557. 20:53step and paste in here the access token.
  558. 20:56Now click in here next. And then
  559. 20:59yeah. So it ask us for like do you use
  560. 21:02consent banner? In our case, we actually
  561. 21:05not use constant banner like but if you
  562. 21:06actually running ads from uh Europe
  563. 21:09economic area like Switzerland or uh
  564. 21:12yeah Switzerland also like Germany then
  565. 21:16you have to actually like also enable
  566. 21:18consent banner and I will I have already
  567. 21:21dedicated video about cookie consent
  568. 21:22banner. But the thing is like you know
  569. 21:24without if you enable if you have in
  570. 21:26your set cookie consent banner like if
  571. 21:29user user can able to accept or deny
  572. 21:31your consent banner then if you also
  573. 21:34select in here like consent banner yes
  574. 21:36then if people actually accept your
  575. 21:38banner then you can able to collect
  576. 21:39their information and if you're not if
  577. 21:42the user actually denied your banner you
  578. 21:43cannot able to collect this information
  579. 21:45but in our case we not have in here any
  580. 21:47consent banner. So select in here no and
  581. 21:50then click in here next. Okay. Then here
  582. 21:54you can see resource file. Jeep file.
  583. 21:56Then click in here download the jeep
  584. 21:58file.
  585. 22:01Okay. And then click in here next.
  586. 22:04And then it going to like say us to
  587. 22:06actually verify this subdomain. Then
  588. 22:07click in here set up later.
  589. 22:10And then click in here setup later once
  590. 22:12again. Okay. And then again click in
  591. 22:15here setup later.
  592. 22:18Perfect. Now click and go to container.
  593. 22:22Okay fine. So all we have to do now
  594. 22:26let's go back to our Shopify web
  595. 22:28container and then before you go to
  596. 22:30Shopify web container the go you have
  597. 22:33download. So the file you have download
  598. 22:35in here just click in here like I mean
  599. 22:36open the file and this is now actually
  600. 22:39here you can see GIF file. So you have
  601. 22:40to we we have to in here unjif the file.
  602. 22:43So click in here double if you already
  603. 22:45using actually Mac then double click in
  604. 22:47here. But if you actually use Windows
  605. 22:49then you can actually you know unjif
  606. 22:51using like 7 GIF something like that. So
  607. 22:53here you can see we have in here two
  608. 22:55code like one is like web JSON another
  609. 22:57one is actually server JSON. So now we
  610. 23:00need to actually like upload this JSON
  611. 23:01into our Google tag manager. So let's go
  612. 23:03back to Google tag manager click in here
  613. 23:06admin
  614. 23:08and then click in here input container
  615. 23:10and then once you click in here in
  616. 23:11import container here we can able to
  617. 23:14here you can see there is option called
  618. 23:16select file to input. So click in here
  619. 23:19and then go to your file. So we have in
  620. 23:22here you can see we was unzip this file
  621. 23:25right. So now click in here web JSON.
  622. 23:28Once you select in here the web JSON
  623. 23:31then here you can see the choose the
  624. 23:33workspace. So we want to actually select
  625. 23:35in here the default workspace. But if
  626. 23:36you want to actually select this on a
  627. 23:38new workspace under you can also create
  628. 23:39in your workspace.
  629. 23:42So the default workspace actually always
  630. 23:43work for us. Like if we actually set up
  631. 23:46everything from new then
  632. 23:48okay then scroll down and click in here
  633. 23:51add to workspace. Okay, then this data
  634. 23:54will automatically add in your workspace
  635. 23:57and it's still loading by the way.
  636. 24:01Okay, and then click in here dish and
  637. 24:04click in here. Go to your server GTM
  638. 24:06container and do the same job for server
  639. 24:08JSON file. Go to admin and then here you
  640. 24:12can see input container.
  641. 24:15Now click in here choose container file.
  642. 24:18Select in here server JSON and then
  643. 24:23u since this is our default container so
  644. 24:25just default we choose here default
  645. 24:27workspace and click and add to
  646. 24:29workspace.
  647. 24:30Perfect.
  648. 24:32So now we have successfully upload this
  649. 24:36both of the JSON file into our Google
  650. 24:37tag maner web and server container. We
  651. 24:40have to do in here another thing and our
  652. 24:41tracking setup is now complete which is
  653. 24:43like let's go back to Google in here
  654. 24:46your choice back end and then go to apps
  655. 24:50and then we have to actually install in
  656. 24:52in here apps which is called step. So
  657. 24:54I'm writing here step and then here you
  658. 24:56can see here is a step app open that and
  659. 24:59then once you open it then it will ask
  660. 25:02us to install click in here install
  661. 25:06okay and then um here you can see
  662. 25:12this pop-up open click and install once
  663. 25:15again
  664. 25:17okay
  665. 25:19and
  666. 25:21it's still appearing
  667. 25:23Just a few second. Okay. So here you can
  668. 25:26see uh use Shopify marketer VA. This is
  669. 25:28actually not RER for now. And clicking
  670. 25:32in insert web GTM script. Okay. And also
  671. 25:36like select this one. Rely on Shopify
  672. 25:39customer privacy API consent state.
  673. 25:42This is not recommended by default but
  674. 25:44actually u take this checkbox if you
  675. 25:47want to use GTM container to be loaded
  676. 25:48in prep. Okay.
  677. 25:50What happen if any user allow our if you
  678. 25:54have Google consent banner right in your
  679. 25:56website and if the user actually allow
  680. 25:58the consent banner then the Google tag
  681. 26:00manager will actually connect with your
  682. 26:02site. So if you want that then actually
  683. 26:04select in here but in our case this is
  684. 26:06actually not necessary. So select in
  685. 26:08here insert web GTM script and then
  686. 26:11enter in here your web GTM ID. So our
  687. 26:14Google tag manager webtm ID is there. So
  688. 26:16just open that and then copy this ID in
  689. 26:19your clipboard. Go back to ST Shopify
  690. 26:22back end. Paste in here the ID and click
  691. 26:25on add custom domain
  692. 26:28and then our custom domain is basically
  693. 26:31this one. Okay, there's a very important
  694. 26:34note. I'll mention I mean I'll talk
  695. 26:36about that later. So uh go back to here.
  696. 26:39paste in here the domain and then click
  697. 26:42here add custom loader and then ES
  698. 26:45cookie keeper also enabled in here and
  699. 26:47then the custom loader is basically if
  700. 26:50you could go to state here you can see
  701. 26:52powerups if you go to here here you see
  702. 26:55custom loader click in here use enable
  703. 26:58that click in here save okay now paste
  704. 27:03in here our Google tag maner web
  705. 27:05container ID so we was previously copy
  706. 27:07this ID which is this one copy once
  707. 27:09Again go back to Google uh sorry Shopify
  708. 27:14past in here the ID again enable this
  709. 27:16enhance at blog protection
  710. 27:20and then in the platform choosing here
  711. 27:22Shopify clicking here generate now. So
  712. 27:26you can see few code has been actually
  713. 27:28generated. So just copy from here the
  714. 27:30container identification and then go
  715. 27:34back to escape
  716. 27:36and sorry go back to Shopify back end
  717. 27:38and paste in here the the um custom
  718. 27:41loader. Make sure enable this cookie
  719. 27:44keeper and then click here save.
  720. 27:46Okay. So now the next step is basically
  721. 27:52go to here data layer and click in here
  722. 27:55add e-commerce data layer event and then
  723. 27:58make sure also enable this one and then
  724. 28:01scroll down here you can see a code was
  725. 28:04provided us. So just click in here copy
  726. 28:06the code and then clicking on save. Now
  727. 28:09let's go to settings and click in here
  728. 28:13custom event
  729. 28:16and click in here add custom pixel right
  730. 28:18in here GTM or like Google tag manager
  731. 28:21whatever you want
  732. 28:24okay and then click in add pixel. So
  733. 28:26this is just you know connect Google tag
  734. 28:28manager with our site also enable the
  735. 28:29data layer. So control a remove every
  736. 28:31code from here and paste the new code we
  737. 28:33have copied you know which was in our
  738. 28:36clipboard. Now click in here permission
  739. 28:39and click in here not require also again
  740. 28:41data sale clicking here does data
  741. 28:43collector does not qualify for data cell
  742. 28:46and now click in here save okay now this
  743. 28:50time to actually connect this fixel with
  744. 28:52our site so click in connect click in
  745. 28:54connect once again and then let's go
  746. 28:57back to Shopify uh let's go back to our
  747. 29:00Google tag manager web container click
  748. 29:02again in here tag
  749. 29:06and Then um open in here here our Google
  750. 29:09tag manager uh contain I mean any of
  751. 29:12this tag from here and once you enable
  752. 29:14in here any tag then here you can see we
  753. 29:17have in here option which is called GF4
  754. 29:19parameter. Click in here
  755. 29:22and then we have to actually upgrade in
  756. 29:24here the server container URL. So click
  757. 29:26in here once again.
  758. 29:29So here is actually how you can actually
  759. 29:30update the server container URL. I I'll
  760. 29:32also talk about I mean I'll also uh show
  761. 29:36you why we should not use this step by
  762. 29:41default subdomain and why we should
  763. 29:43create a new subdomain without creating
  764. 29:46a new fast party subdomain our service
  765. 29:49tracking we just you know we just waste
  766. 29:50our money and time with service
  767. 29:52tracking. So this is the very important
  768. 29:53part but I'll actually talk about that
  769. 29:55later because like now first of all I
  770. 29:57want to show you guys how you can just
  771. 29:58active this service tracking then we can
  772. 30:00actually focus on enhancement you know
  773. 30:04um so let's go back to here
  774. 30:07so clicking save now you can see we have
  775. 30:10actually updated this state this domain
  776. 30:12which wasn't here go back to here paste
  777. 30:16in here clicking as save if you stay the
  778. 30:19end of the video and you still have any
  779. 30:20question or wanted to check if I can
  780. 30:22help directly. You can chat with me by
  781. 30:24using the top link in the description or
  782. 30:26you can book a call using the top link
  783. 30:27in the description. Or if you want to
  784. 30:29also get an free audit your setup which
  785. 30:32is completely free. I will audit your
  786. 30:33setup one like directly. I'll just write
  787. 30:36your setup and share with you the next
  788. 30:37step how you can also fix that those
  789. 30:39issue. Then you can also claim your free
  790. 30:41audit by using the top link in the
  791. 30:42description. So yeah uh let's get back
  792. 30:45into the video.
  793. 30:47Okay. Now um perfect. Now open our data
  794. 30:52tag which is basically this one like you
  795. 30:55can say step D page view
  796. 30:58and then uh all we have to do in here
  797. 31:00which is still opening.
  798. 31:04So um server container URL in here click
  799. 31:08here the pencil icon and then update
  800. 31:11this URL with our this URL. Yeah it
  801. 31:16automatically update already which is
  802. 31:18great. discuss
  803. 31:20now our complete tracking has been
  804. 31:22implemented. So now clicking on submit
  805. 31:25and
  806. 31:27uh Google tag m also you know now have
  807. 31:29actually new option which is
  808. 31:31automatically right in here our changes.
  809. 31:34So click in here publish.
  810. 31:38Okay. Now let's go back to server
  811. 31:40container and click in here admin. Once
  812. 31:42you click in here admin we'll find in
  813. 31:44here option which is called container
  814. 31:45settings. Add in here the URL which is
  815. 31:48basically this one and click in here
  816. 31:50save.
  817. 31:52Okay, now let's go back to workspace and
  818. 31:56click in here data. Now click in here
  819. 31:58preview. So our setup has been complete.
  820. 32:01Make sure you have submit our Google tag
  821. 32:03manager
  822. 32:05web container and also make sure you
  823. 32:06have actually submitted the server
  824. 32:08container in here. So this web and
  825. 32:11server container publish is required to
  826. 32:12go our setup live. So make sure you have
  827. 32:16did it right away. So publish once
  828. 32:18again.
  829. 32:20So I have successfully submit our web
  830. 32:21container. I have also successfully
  831. 32:23submit our Google tag manager server
  832. 32:25container. Both are properly submitted.
  833. 32:28Now here you can see I will also make
  834. 32:30our Google tag manager server container
  835. 32:32preview and our preview has been open in
  836. 32:34here. So the setup is complete. Now
  837. 32:36let's verify everything is properly
  838. 32:37working or not. So to verify go to your
  839. 32:39website like open the server container
  840. 32:41preview. Go to your website and see in
  841. 32:43here any product. Once I see in here
  842. 32:46this product I should be now receiving
  843. 32:47here a view item event. So if I could go
  844. 32:49back to here you can see I have receive
  845. 32:50here page view view item this event one
  846. 32:53is from data client and another one is
  847. 32:55from actually uh Google antics 4 this is
  848. 32:58completely fine there is nothing
  849. 33:00actually to duplicate duplicate event we
  850. 33:02are receiving and yeah so view item
  851. 33:05event is firing right away also like if
  852. 33:07I could go to our Google analytics 4
  853. 33:10debug view in here right yeah data
  854. 33:14display debug view and you can see in
  855. 33:17here.
  856. 33:18Yep,
  857. 33:20it will it will came also in here.
  858. 33:22However, so now let's say I'm going to
  859. 33:24open the server container preview once
  860. 33:26again and then I'll now complete a
  861. 33:28purchase. So I'll like click in here add
  862. 33:30to card and then I will like click in
  863. 33:33here check out and then I'll make in
  864. 33:35here a purchase. So one
  865. 33:39the card information and then now click
  866. 33:42in here pay now.
  867. 33:45Okay. So this product is not available.
  868. 33:47Let's say we're going to now buy in here
  869. 33:49another product which is this watch and
  870. 33:52then buy it now
  871. 33:56and then once you click in here it's
  872. 33:58going to like redirect us to the
  873. 33:59checkout.
  874. 34:00So the card information this is just a
  875. 34:04testing purpose you know the site is
  876. 34:07actually only created for testing
  877. 34:08purpose I mean purchase. So
  878. 34:12yeah now the purchase has been completed
  879. 34:15here you can see and if I could go back
  880. 34:16to our Google tag manager preview we
  881. 34:19should be also receiving here purchase
  882. 34:21event here you can see we have
  883. 34:22successfully received our page view
  884. 34:25begin check out at shipping inf payment
  885. 34:28info also purchase event also in the
  886. 34:31purchase event you can see our Google
  887. 34:34ads purchase tag firing with all of this
  888. 34:37necessary data right also So if you
  889. 34:40could go to event data here you can see
  890. 34:41we have in here user data we have in
  891. 34:43here items data also every necessary
  892. 34:46data. So also our you can see our J4 tag
  893. 34:51fire and also if you could go to data
  894. 34:53tag here you can see our Facebook
  895. 34:55conversion e tag also success with the
  896. 34:58all the user data which will improve our
  897. 35:00event match quality and more. So our
  898. 35:03Facebook tag, Google tag also Google ads
  899. 35:05and Google antics 4 everything has been
  900. 35:08firing right way also data sending to
  901. 35:10our Google ads Facebook ads also others
  902. 35:12platform so if I could go to here again
  903. 35:15debug view
  904. 35:17and now let's I'll click in here report
  905. 35:20in Google 4 and I'll go to realtime
  906. 35:23overview
  907. 35:25then you can see I was like you know
  908. 35:27visit the site also making a purchase
  909. 35:29also do add to cut view item also
  910. 35:31purchase event And that's why those data
  911. 35:33also available in here. So that's when
  912. 35:35it's verify our tracking is successfully
  913. 35:37working. Okay. So you can also check
  914. 35:39this data in your Facebook event
  915. 35:41manager. Um yeah it will like take few
  916. 35:44times to actually you know collect new
  917. 35:45data also populate that and send to show
  918. 35:47your advers right away.
  919. 35:50So if you could also go to Google ads
  920. 35:53and in Google ad in our purchase event
  921. 35:56we have create it will like you know now
  922. 35:58start receiving data if any user making
  923. 36:00a purchase. So that's mean like you know
  924. 36:03our participant has been here you can
  925. 36:05see still like this is said in here
  926. 36:06actually you know waiting for
  927. 36:08conversion. So once we receive few new
  928. 36:09conversion then it will automatically
  929. 36:11verify. Okay. So now basically uh yeah
  930. 36:14this one also same. So it's just you
  931. 36:16waiting for any conversion what actually
  932. 36:18happened through Google ad. So the setup
  933. 36:21is complete everything is working
  934. 36:22perfectly. Now the most important part
  935. 36:25in here we implement service tracking to
  936. 36:27collect as possible maximum data and
  937. 36:29it's possible through our own subdomain
  938. 36:32and our own custom domain. So one thing
  939. 36:34you have to do in here, make sure you
  940. 36:36create in here a new subdomain. For
  941. 36:39example, if you create a subdomain, for
  942. 36:40example, my website URL is uh the
  943. 36:43graceful beauty. This one, right? The
  944. 36:45graceful beauty. So my website subdomain
  945. 36:48would be like uh like Abdul dot the
  946. 36:51graceful beauty. Okay. And then u if you
  947. 36:55click in here automatically like uh or
  948. 36:57like if you click in here manually then
  949. 37:00you if you click in here next it will
  950. 37:02provide you actually few DNS record and
  951. 37:03if you actually add this DNS record in
  952. 37:05your back end of the CRM then you
  953. 37:08basically like see the subdomain is
  954. 37:10verified. Once you see the subdomain is
  955. 37:13successfully verified then make sure go
  956. 37:16to Google tag manager and then click in
  957. 37:18our workspace. Okay,
  958. 37:22go to admin, go to workspace, click in
  959. 37:23your tag and then enable in here golden
  960. 37:26export tag and then from here make sure
  961. 37:30you have actually edit this tag
  962. 37:34and you edit this URL in here which is
  963. 37:36basically if you could go to here you'll
  964. 37:38find it in here.
  965. 37:41Okay, here's the server container URL.
  966. 37:44open that
  967. 37:46and update this with our URL.
  968. 37:50So make sure you have successfully
  969. 37:52create a subdomain also like you have
  970. 37:54replaced this subdomain into Google tag
  971. 37:56measure also you have replaced the
  972. 37:58subdomain into our Shopify this app
  973. 38:00under which is in here.
  974. 38:03Okay like replace this from here and
  975. 38:05then uh actually once you you know
  976. 38:07provide since this is still unvalid. So
  977. 38:10once you actually like uh replace this
  978. 38:12URL make sure again Google tag me is
  979. 38:14properly submitted publish and then make
  980. 38:16an GTM preview once again and you see
  981. 38:18actually if you see okay this all of
  982. 38:20this data receive here that everything
  983. 38:22is good that is complete a tog how you
  984. 38:25can implement exactly from view
  985. 38:27conversion tracking with service
  986. 38:30tracking the the best I could say the
  987. 38:31advanced way and track the full fat and
  988. 38:35the full funnel. If you have any
  989. 38:37question feel free to comment below and
  990. 38:39if you have any doubt about server
  991. 38:40tracking just watch this video and make
  992. 38:43sure actually uh if you find it valuable
  993. 38:45make sure to actually also uh see others
  994. 38:48video in my YouTube channel I already I
  995. 38:50mean I tried to upload all of this stuff
  996. 38:52what actually not exist in the internet
  997. 38:55like if you for example seen here this
  998. 38:57how to create draft order in Shopify
  999. 38:59you'll never find any kind of video like
  1000. 39:01that in in YouTube like how to send
  1001. 39:03actually draft order data into Shopify
  1002. 39:05also if you want a free audit, you can
  1003. 39:07actually claim a free audit into my
  1004. 39:09website. Also, you can book in a call
  1005. 39:11with me or you can also, you know, chat
  1006. 39:12with me by WhatsApp and also you can
  1007. 39:15connect with me LinkedIn. I share every
  1008. 39:16day new tracking on LinkedIn. Thank you.
  1009. 39:18Thanks for watching this video.
  1010. 39:19Hopefully, this is helpful. Bye. Take
  1011. 39:21care. If you stay the end of the video
  1012. 39:23and you still have any question or
  1013. 39:24wanted to check if I can help you
  1014. 39:26directly, you can chat with me by using
  1015. 39:27the top link in the description or you
  1016. 39:29can book a call using the top link in
  1017. 39:31the description. Or if you want to also
  1018. 39:33get an free audit your setup which is
  1019. 39:35completely free. I will audit your setup
  1020. 39:37one like directly. I'll just create your
  1021. 39:39setup and share with you the next step
  1022. 39:41how you can also fix that those issue.
  1023. 39:43Then you can also claim your free audit
  1024. 39:45by using the top link in the
  1025. 39:46description. So yeah, uh let's get back
  1026. 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.