Hi, we have set up GA4 in hybrid mode in order to ...
# support
p
Hi, we have set up GA4 in hybrid mode in order to be able to track UTM parameters, however it looks like most of the source/medium parameters are saved as (not set) in GA4. Screenshot ref: https://prnt.sc/UKHKygtx7Fil. Which wasn’t the case when we used GA4 through GTM. Screenshot ref: https://prnt.sc/O5W22MUBhrM3 Can you please advice if there is anything additional that we need to do on our end to make sure the source/medium parameters are tracked correctly? Thank you in advance.
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Aleksandra. They issue here is that RudderStack does not maintain the utm parameters throughout the session, which causes the events to be attributes to "not set". You have 2 options here. - Maintain the UTM parameters on your end and send them with the event - Use device mode
p
Thank you Ranganath for the quick response. We are using hybrid mode for GA4. Shouldn’t it trace the UTM parameters? Screenshot ref: https://prnt.sc/lj7u1ZA2vCQi Do we still need to maintain the UTM parameters with hybrid mode as well? Also the page call mentioned in the screenshot, do we need to develop it on our end, or is it automatically sent from the Javascript SDK code?
m
These docs say that they should but let me confirm with the team.
Hi Aleksandra, I was checking the website and I don't see any page calls being sent. Have you instrumented this?
I am fully available over the next couple of days to setup a call .
p
Hi Ranganath, Thank you for the call yesterday. I just noticed that this setting in Google Ads for enhanced conversions is set up with the API option. Screenshot ref: https://prnt.sc/oqINBK5K_F2D This was required when we used the Google Ads Enhanced Conversions (cloud mode) destination before. However we are now using the Google Ads device mode destination, so should we switch the setting to “Google Tag or Google Tag manager”? Screenshot ref: https://prnt.sc/jDRm_Z4NDCTJ Can you please advice? Thank you in advance.
m
Yes you should switch to "Google Tag or Google Tag manager"
✅ 1
p
Thank you
Regarding this part of the configuration: https://prnt.sc/6xormigXOfBH Should we leave the recommended settings (Automatic Setup), or should we select other options in order to work with RudderStack? Screenshot ref: https://prnt.sc/k3o8paLAvwYT
m
I think you can leave it at the automatic setting since this is a device mode destination
✅ 1
p
Thank you very much!
m
No problem
p
Hi Ranganath, We are debugging the issue that you demonstrated on our call, about the two GA4 codes that appear on our website. We noticed the following: • it only happens on one of the stores, even though the same tracking codes are installed on both stores • we checked the theme and backend scripts but there wasn’t any GA4 or GTM installation code • the second GA4 code has the Google Ads script as initiator: https://prnt.sc/aVjHqWMVPTe- • and when you look in the Google Ads script it is highly possible that it actually creates this second GA4 resource: https://prnt.sc/PVlfEfPGDGRK Since the Google Ads script comes from RudderStack, is it possible that there is something that needs to be updated on RudderStack end in order to fix the issue? Or is it possible that there is something in Google Ads that we need to check/update that might be causing this? Can you please advice? Thank you in advance.
m
Hi Aleksandra, I hope your earlier issues are completely resolved related to the discussions we had on the call .(GA4 and Google Ads) About this issue so the first 2 requests are related to Google Ads and GA4. I actually am not sure what the best approach is here and it is possible that Google Ads is loading the second GA4 destination. Checkout this link In the case your Google Ads and GA4 is linked you may not actually need the separate GA4 destination. But I am not sure of this so would request you to test it out before making the changes.
p
Hi Ranganath, Some of the issues are resolved, but some still need to be reviewed and fixed. I have a new question today, about Criteo. We noticed that Homepage and Visit tags have dropped after we migrated to RudderStack. Screenshot ref: https://prnt.sc/sCV8tRUXTM5N Regarding Homepage: • We have set the URL in RudderStack, and that is how it is supposed to detect the Homepage. • Is it possible that it sometimes doesn’t get matched correctly? • Should we consider other ways to detect Homepage, like using the page() event? Screenshot ref: https://prnt.sc/2AwGO0XSEgd5 Regarding Visit: • I couldn’t find anything regarding the Visit tag in your documentation. • Can you please advice if there is anything we need to do on our end in order the Visit tag to be tracked correctly? Thank you in advance.
I managed to debug and test on our staging environment regarding the Criteo issue and noticed the following: • Sending “home” value in the page() event detects the Homepage more accurately than only having the Homepage URL set up in RudderStack. For example: rudderanalytics.page(“category”, “home”); • Sending the customer “email” in the page() event fixes the “User identifier info missing” error in Criteo. For example: rudderanalytics.page(“category”, “home”,{email:“jondoe@gmail.com”}); I also researched the Visit tag in Criteo’s documentation and noticed that “email” is required for the Visit tag to fire. Screenshot ref: https://prnt.sc/S7N6GC7oh4pW. So I suppose sending the “email” in the page() event should fix the Visit tag. Can you please review and let me know if this should fix the Homepage and Visit tags, or should we implement something else? Thank you in advance.
m
Hi Aleksandra, I am not an expert on this destination but my suggestion would be to implement the page call with the category. Also on the "User Identifier info missing" error, I could not find in the code. This seems to be generated by Criteo SDK. I guess if the error is not appearing what you did is correct.
p
Hi Ranganath, We implemented the page call with the category, and this fixed the Homepage tag. However the Visits tag is still not fixed. Screenshot ref: https://prnt.sc/O6pweMhLJ-Ep We couldn’t find anything in your documentation on how to implement the Visits tag via RudderStack. So we looked in the Criteo documentation and noticed that the customer email and hash method fields are required, and customer ID is recommended. We can provide this information from BigCommerce, however we need to know how to send that information in RudderStack. • Link ref: https://help.criteo.com/kb/guide/en/all-criteo-onetag-events-and-parameters-vZbzbEeY86/Steps/775825,868659 • Tag structure: https://help.criteo.com/kb/guide/en/all-criteo-onetag-events-and-parameters-vZbzbEeY86/Steps/775825,868659,2796770 Can you please advice? Is there a specific format that we need to use in order to send the information in the page() call, or is there another call that we need to use in order to send the email, hash method and customer ID to RudderStack, so it can then send the data to Criteo?
m
I will have to test this out on my end as well and get some help from the team. Let me get back to you on this.
Hi Aleksandra, I was going through the setup and see that the hash method is set as md5 in the RudderStack dashboard. So coming to the email, I see that the email id is not sent in the events. So each event has a traits object which contains user details once they are provided by him. To add the email to the traits objects you simple need to make an identify call . An identify call is made. To understand how often to make the identify call see the docs here . If you need more clarity on this, let me know and I can help In summary if you setup identify calls as mentioned above the event traits will contain the user parameters (such as email, name, date_of_birth etc) and this can help you capture the visits correctly.
p
Thank you. I only couldn’t understand when to send the identify call: • I understand that it needs to be sent when a customer logs-in or registers to the website • I am not sure about this part: https://prnt.sc/KJBravlqflBU - should we also send the identify call on every page when a customer is logged-in?
m
Yes also send an Identify call when a user updates their profile. However in your case you *don't need to send*⁣ the identify call on every page for a logged-in user since this will add a host of identify calls. If in the future we find it necessary to send the identify call for every logged in page we can add it then.
✅ 1
p
Thank you