Google Ads: audience source activity missing id in the last day
-
It appears that google cannot find the g:id for our products since the update on the 19.02. However in the xml we see the “g:id” is correct.
Has anyone else seen this issue?
-
Hi,
When it is missing the ID in the audience it indicates something might be off with your remarketing pixel on your website? Is it still in place and tracking the correct parameters?
Hello
How can I check? When I look at the code I see the conversion ID present on the page. The url is https://ultimus.ch
You can check for yourselves by using this chrome plugin:
https://www.dropbox.com/s/pzsycfxrjzqactp/GR-pixel-1.png?dl=0You see it shows you have multiple installations of your site tag which they advise you to fix.
Now when you click the Google Ads Remarketing Tag you’ll see this:
https://www.dropbox.com/s/mkjrutok8ivvezq/GR-2.png?dl=0And in the green request area you see this:
https://www.dropbox.com/s/32sxepsvmso24d6/GR-3.png?dl=0Those parameters and values are not added by our plugin (ours adds ecomm parameters, including the product ID) so I guess you are also still running another plugin for your Google Ads Remarketing pixel?
Thank you for having a look.
We use the “Google Ads Conversion Tracking” plugin to track conversions, as I believe product feed pro does not have the functionality?
You believe removing the multiple instances of the site tag would solve the issue?Hi,
Yes our plugin does have a Google conversion tracking feature underneed the settings section.
Anyhow your current Google Ads Conversion tracking plugin is not measuring product ID’s, it is not measuring any ecomm parameters, and that is the cause for your audience issue.
Hi
In that case I will deactivate the plugin “Google Ads Conversion tracking” and your plugin should add the product id & ecomm parameters?
Yes, that is correct
I have done that.
1. Do you see it correctly now on the product page?
2. Do you know how long the changes will take to reflect for google (when the message will disappear)?Thanks
No, unfortunately it is not correct. This is what I am seeing on your website:
https://www.dropbox.com/s/asi45955qjintqd/FB-pixel-wrong.png?dl=0Whereas one should expect to see something like this:
https://www.dropbox.com/s/nyujpq44min483c/FB-pixel-right.png?dl=0Thanks. Your plugin should be adding these parameters? Can you help troubleshoot why not?
The “Insert your Dynamic Remarketing Conversion tracking ID” is set to the respective ID.
Out feed takes about 20h to process. Does it only add the parameter after the feed has been reprocessed?I could reproduce the error of ultimus in my local development environment.
It is related to the woocommerce-sea.php:
Line 608: if ( ” !== $product->get_price()) {
Line 679: }If I comment out these lines, the google_tag_params with its values ecomm_prodid, ecomme_pagetype and ecomm_totalvalue are added to the footer script properly.
The problem is that $product->get_price() function returns an empty string for variable products which causes the google_tag_params data to not be added to the footer script.
I am not sure what the reason for this if-conditional is, in any case, it is breaking the plugin functionality for people with no prices on their base products and should be fixed by the developers in my opinion.
Thanks for your addition on this issue. However $product->get_price() does return a price for variable products on our test websites, it returns the price of the lowest priced variation.
See for example on our development website:
https://www.dropbox.com/s/96xqyqzxwq37016/lowestpricedvar.png?dl=0Now the only reason why the pixel would not be able to add ecomm parameters on that page is when the pagetype is not “product” or when none of the variations is having a price I think.
I understand that the plugin uses the lowest price for variable products, if no specific variable product is passed. But this happens ONLY if the if-conditional in line 608 of woocommerce-sea.php is passed.
In our websites this is not the case, because $product->get_price() is the empty string on our variable products, there is no price to retrieve from the base product. However, later the lowest variation price is successfully retrieved with $product->get_variation_prices() – and that is why it works when this if-conditional is removed.
In your development environment it could be possible that the $product->get_price() (which is the base product of the variable products) has a price (I don’t know why but this could be) and that is why it is working for you.
In any case, I do not get why the if-conditional in line 608/679 even exists – what is the rationale for that?
This line is breaking the plugin functionality for our variable product sites. Non-variable products are working fine. See: https://ultimus.ch/product/antistatischer-haarfaerbe-kamm-schwarz/
In your development environment it could be possible that the $product->get_price() (which is the base product of the variable products) has a price (I don’t know why but this could be) and that is why it is working for you.
No, our variable base product does not have a price. In fact, variable parent products can’t even have a price as there is no price input field for base variable products. Only its variations have a price input field in WooCommerce.
The rationale behind this IF-statement is that a product needs to have a price otherwise it also doesn’t make sense to advertise on it.
No, our variable base product does not have a price. In fact, variable parent products can’t even have a price as there is no price input field for base variable products. Only its variations have a price input field in WooCommerce.
The rationale behind this IF-statement is that a product needs to have a price otherwise it also doesn’t make sense to advertise on it.
You say variable products have no price on their base product. That is exactly what the problem is.The if-condition in line 608 is checking this and it fails for variable products as there is no price. Why the code is working in your development environment I really can not say. Maybe we are running different versions of WooCommerce – ours is 5.0.0.
I get the rationale but the price should be checked later when it is known whether the product is variable or not.
I commented out this if-statement – now the variable products show the ecomm params properly, see: https://ultimus.ch/product/akustik-schaumstoff-platten-300mm-x-300mm-x-2-5mm/
I am pretty sure that this problem is not only affecting us. I recommend you to try to reproduce this behaviour.
- This reply was modified 3 years, 9 months ago by jayhaluska.
- This reply was modified 3 years, 9 months ago by jayhaluska. Reason: Typo
- The topic ‘Google Ads: audience source activity missing id in the last day’ is closed to new replies.