Product ID In Google Merchant Center Vs. Product ID In Data Layer For Remarketing / SHOPIFY

Job ID: 34279168

Budget: €8 – €30 EUR

Hi there,

I transferred all products with the Google App to my Merchant Center with the correct Product ID with SKU / Variant in Format shopify_DE_XXX_XXX...

Now I implemented a Data Layer for my product page for remarketing. In the Data Layer there is just the ID for the product itself without Variant.

Exapmle Product ID:
Merchant Center: shopify_DE_7700617756895_42978160378079
Data Layer: 7700617756895

Can anyone help me with that? I already know that it just is a small code change in theme.liquid in my shopify theme code.
Related categories: PHP JavaScript HTML Shopify Templates Shopify