こちらは、弊社が運営するGA4専門コミュニティに頂いたご質問です。
推奨イベントにもカスタムパラメータの追加は可能なのでしょうか。
https://discord.gg/H48gPszEuP
GA4 推奨 コマースイベントに item_category6 は追加できるか?というご質問です。テストを行ってみました。
なお、itemのデータが取れているかどうかの確認方法を知りたい方は、こちらのアユダンテ様の記事が大変分かりやすく、オススメです。
いまさら聞けない! GA4でEコマース 商品アイテムを確認するには? | アユダンテ株式会社
https://ayudante.jp/column/2022-10-26/11-00/
結論から申し上げますと、推奨イベントで、item_category6の追加はできないようです。
以下、テスト内容を解説させていただきます。
テストには、purchaseイベントを使用させていただきました。
テストに使用したdataLayerはこちらで、推奨のイベント パラメータ には入っていない、 item_category6を付けてみました。
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.
dataLayer.push({
event: "purchase",
ecommerce: {
transaction_id: "T20221122_1004",
affiliation: "Online Store",
value: "59.89",
tax: "4.90",
shipping: "5.99",
currency: "EUR",
coupon: "SUMMER_SALE",
items: [{
item_name: "NEXT RED D T-Shirt",
item_id: "0002",
price: "15.25",
item_brand: "Google",
item_category: "Apparel",
item_category2: "Mens",
item_category3: "Shirts",
item_category4: "Tshirts",
item_category5: "2022",
item_category6: "Winter",
item_variant: "Gray",
quantity: 1
}, {
item_name: "Donut Friday Scented T-Shirt",
item_id: "67890",
price: 33.75,
item_brand: "Google",
item_category: "Apparel",
item_variant: "Black",
quantity: 1
}]
}
});
</script>
使用したイベントタグ
テストに使用したpurchaseのイベントタグはこちらです。
まずはペイロードから
まずはペイロードを見て見ましょう。
https://analytics.google.com/g/collect?v=2&tid=G-PNXRGZ52YY>m=2oeb90&_p=1648028538&cid=1917445939.1662002465&ul=ja&sr=1920x1080&tt=internal&uaa=x86&uab=64&uafvl=Google%2520Chrome%3B107.0.5304.107%7CChromium%3B107.0.5304.107%7CNot%253DA%253FBrand%3B24.0.0.0&uamb=0&uam=&uap=Windows&uapv=10.0.0&uaw=0&_eu=KA&_s=1&cu=EUR&sid=1669074670&sct=386&seg=1&dl=https%3A%2F%2Fuwaki.online%2F&dt=%E5%A9%9A%E5%A4%96%E4%B8%BB%E5%A9%A6mai%20-%20%E5%A9%9A%E5%A4%96%E4%B8%BB%E5%A9%A6mai&en=purchase&_c=1&pr1=nmNEXT%20RED%20D%20T-Shirt~id0002~pr15.25~brGoogle~caApparel~c2Mens~c3Shirts~c4Tshirts~c52022~k0item_category6~v0Winter~vaGray~qt1&pr2=nmDonut%20Friday%20Scented%20T-Shirt~id67890~pr33.75~brGoogle~caApparel~vaBlack~qt1&ep.transaction_id=T20221122_1004&ep.affiliation=Online%20Store&ep.value=59.89&ep.tax=4.90&ep.shipping=5.99&ep.coupon=SUMMER_SALE
上記の中のcategoryの所が分かりやすくなるように改行を入れて、取り出してみました。
~caApparel
~c2Mens
~c3Shirts
~c4Tshirts
~c52022
~k0item_category6~v0Winter
上記を見ると、推奨のパラメータである、categoryの1~5までは所定の書式で処理されていますが、
item_category = ca
item_category2 = ca2
item_category3 = ca3
item_category4 = ca4
item_category5 = ca5
item_category6: “Winter”,
として追加したdataLayerは、
~k0item_category6~v0Winter
という形で処理されています。eコマースのcategoryとしてデータが上手く取得できているかどうかという点で言うと、断言はできませんが、書式が明らかに異なります。
DebugViewではどうか
ペイロードでは item_category6 は書式は違っても存在は確認できたのですが、DebugViewの「アイテム数」のデータだと、item_category6の存在は確認できませんでした。
まとめ
今回の実験結果から見ますと、item_category6の追加はできないということになるようです。
Thanks for your helpful article. One other problem is that mesothelioma is generally attributable to the inhalation of fibers from asbestos fiber, which is a positivelly dangerous material. It is commonly found among individuals in the engineering industry that have long exposure to asbestos. It’s also caused by moving into asbestos protected buildings for a long time of time, Genetic makeup plays a huge role, and some individuals are more vulnerable towards the risk in comparison with others.
Hey very nice website!! Man .. Beautiful .. Amazing .. I’ll bookmark your site and take the feeds also?I’m happy to find numerous useful info here in the post, we need develop more strategies in this regard, thanks for sharing. . . . . .
Thanks for every other informative web site. Where else could I get that kind of info written in such an ideal manner? I’ve a project that I’m just now working on, and I’ve been on the glance out for such information.
Thanks for your content. One other thing is that if you are marketing your property by yourself, one of the issues you need to be conscious of upfront is when to deal with household inspection reviews. As a FSBO supplier, the key to successfully transferring your property along with saving money about real estate agent profits is know-how. The more you are aware of, the easier your sales effort will probably be. One area in which this is particularly vital is assessments.
I’ve learned a number of important things by means of your post. I’d also like to state that there can be situation that you will obtain a loan and do not need a cosigner such as a Fed Student Aid Loan. However, if you are getting financing through a traditional creditor then you need to be made ready to have a co-signer ready to help you. The lenders may base that decision over a few aspects but the largest will be your credit ratings. There are some loan companies that will also look at your work history and make a decision based on this but in almost all cases it will be based on on your credit score.
Hey very cool website!! Man .. Excellent .. Amazing .. I will bookmark your web site and take the feeds also?I’m happy to find a lot of useful information here in the post, we need work out more strategies in this regard, thanks for sharing. . . . . .
F*ckin? remarkable things here. I am very glad to see your article. Thanks a lot and i am looking forward to contact you. Will you please drop me a mail?
Great post. I was checking constantly this blog and I’m impressed! Very useful info specifically the last part 🙂 I care for such info a lot. I was looking for this certain info for a long time. Thank you and good luck.
Very nice post. I simply stumbled upon your blog and wanted to mention that I have really enjoyed surfing around your weblog posts. After all I will be subscribing to your rss feed and I am hoping you write once more very soon!
My brother recommended I may like this website. He was once totally right. This submit truly made my day. You cann’t consider just how a lot time I had spent for this info! Thanks!
Thank you for another informative blog. Where else could I get that kind of info written in such an ideal way? I have a project that I’m just now working on, and I’ve been on the look out for such info.
Spot on with this write-up, I really think this website needs far more consideration. I?ll most likely be again to learn far more, thanks for that info.
Good day! This is kind of off topic but I need some help from an established blog. Is it very hard to set up your own blog? I’m not very techincal but I can figure things out pretty quick. I’m thinking about making my own but I’m not sure where to start. Do you have any points or suggestions? Appreciate it
Hi my loved one! I want to say that this article is amazing, great written and include approximately all significant infos. I?d like to look extra posts like this .
Hey there! Do you use Twitter? I’d like to follow you if that would be okay. I’m definitely enjoying your blog and look forward to new posts.
Thank you for the good writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! However, how could we communicate?
I’ve noticed that credit improvement activity should be conducted with tactics. If not, you will probably find yourself causing harm to your position. In order to succeed in fixing to your credit rating you have to always make sure that from this time you pay all of your monthly costs promptly prior to their booked date. It really is significant given that by definitely not accomplishing that, all other activities that you will take to improve your credit position will not be efficient. Thanks for revealing your concepts.
WONDERFUL Post.thanks for share..extra wait .. ?
Hi there! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no back up. Do you have any solutions to prevent hackers?
You could definitely see your skills in the work you write. The world hopes for even more passionate writers like you who are not afraid to say how they believe. Always go after your heart.
Hello! Someone in my Facebook group shared this website with us so I came to look it over. I’m definitely enjoying the information. I’m bookmarking and will be tweeting this to my followers! Terrific blog and excellent design.
Good day! This is my first visit to your blog! We are a collection of volunteers and starting a new initiative in a community in the same niche. Your blog provided us beneficial information to work on. You have done a outstanding job!
Almanya’nın en iyi medyumu haluk hoca sayesinde sizlerde güven içerisinde çalışmalar yaptırabilirsiniz, 40 yıllık uzmanlık ve tecrübesi ile sizlere en iyi medyumluk hizmeti sunuyoruz.
http://www.thebudgetart.com is trusted worldwide canvas wall art prints & handmade canvas paintings online store. Thebudgetart.com offers budget price & high quality artwork, up-to 50 OFF, FREE Shipping USA, AUS, NZ & Worldwide Delivery.
Thanks for your information on this blog. A single thing I wish to say is purchasing electronics items on the Internet is certainly not new. In truth, in the past few years alone, the market for online consumer electronics has grown drastically. Today, you can find practically any specific electronic gizmo and other gadgets on the Internet, including cameras and camcorders to computer parts and gambling consoles.
Thank you for the sensible critique. Me & my neighbor were just preparing to do some research about this. We got a grab a book from our area library but I think I learned more clear from this post. I am very glad to see such fantastic information being shared freely out there.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Your article helped me a lot, is there any more related content? Thanks!