SEO, AdWords, affiliates, advertising, and promotions
Hi
We have dynamic remarketing set up on our store using code outlined by Solutions 8 which appears to work well. It uses the following code int he Add to Cart button:
onclick="
{% assign shopify_store_country = 'GB' %}
dataLayer.push({ 'ecommerce': null });dataLayer.push({
'event': 'add_to_cart',
'ecommerce': {
'items': [{
'id': 'shopify_{{shopify_store_country}}_{{ product.id }}_{{ product.selected_or_first_available_variant.id }}',
'google_business_vertical': 'retail',
}]
}
});"
which is placed after product-form__buttons but in 8.0 product-form__buttons no longer seems to exist? Does anyone know where it goes now?
Thanks in advance...
Solved! Go to the solution
This is an accepted solution.
I have managed to work this out and fix it now. Thanks for visiting this topic.
You're better off either using Shopify's Google channel app or use the dynamic remarketing code shared at https://www.digitaldarts.com.au/google-shopping/merchant-center-programs
Hi
Thanks. We have the Google channel integrated but it doesn't provide the remarketing coding. We've tried your Digital Darts coding, but it didn't work well with tag manager in the way that it is set up - and looking at the coding it would still have the same issue with the Add to Cart change in 8.0. We're currently using the Solutions 8 version, but that also has the issue with Add to Cart now.
This is an accepted solution.
I have managed to work this out and fix it now. Thanks for visiting this topic.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024