Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi guys
I'm having an issue with my data layer in Shopify returning an incorrect Product ID value, compared to what is submitted through the product feed.
The data layer has "shopify_us_" as its value, but its supposed to be "shopify_dk_" instead.
The problem seems to have arrived since we recently changed our domain name to a new one in Shopify as that date marks a significant drop in our performance in Ads. I checked all langauge and country settings in Settings and everything is set to Denmark.
Does anyone know how to fix this?
Kindly share your store URL.I will be glad to help you.
Regards,
Mehak
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Design, Migration, Speed, or Custom tasks?
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin
There is a valid id, but under the wrong parameter name: g_product_id
This seems to be submitted by the free shopping channel.
I recommend manually installing the code. Reference: https://support.google.com/merchants/answer/7331077?hl=en
Or if you want a full guide: https://feedarmy.com/kb/adding-google-adwords-remarketing-tag-to-shopify/
Sorry, I'm not sure I understand here. Is g_product_id where the valid ID is found or where it needs to be displayed?
I tried removing the the free sales channel and reinstall it, which fixed the Shopify_US issue, so it nows displays the correct country code. However, I still get and undefined value on the variant code in g_product_id, so now the data says: "shopify_DK_7535357329602_undefined".
I'm using Analyzify as well.
I recommend you either contact the free shopping app support team (this is the app that set up your code, I assume) Or manually setup the correct remarketing code, using the previous provided guide.
g_product_id is not a valid attribute, and is not used by Google Ads.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025