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.
User | RANK |
---|---|
5 | |
2 | |
2 | |
2 | |
2 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023