Just following up on this one, I was a little off and you are totally right. There is a bug in the code that append these querystrings to the URLs.
The name and content-values are added on the wrong parameter.
The utm_content should be utm_campaign, this is a typo/bug.
This only happens when you explicitly set a value in the settings, the "idea" is to maybe set utm_source and utm_medium manually and then let the package set the utm_campaign and utm_content dynamically.
However, I will for sure include a fix for this asap.
Thank you for making me aware, I'll keep you posted here when the issue is resolved.
Currently the utm values need to be provided for the workspace as a whole in Settings or are given default values. This is ok for utm_source and utm_medium.
However, utm_campaign name is always changing and utm_content even more.
My suggestion is to move setting utm_campaign to per newsletter basis, maybe in the Information screen of a campaign? Utm_content is more tricky as it really should be different for each link or button in the email content.
We have roughly tested a scenario when we add a link in the email body with a query string containing utm_content parameter. This is getting replaced by the utm_content value from the Settings.
I think the above should not happen, eg. the custom set utm_content should remain as set in the email body (not replaced by Settings value or default value).
If utm_content is set the same for the entire email it is becoming useless because eventually in GA it is not possible to follow where the click came from (from which link or section within the email body).
I leave it for consideration. Or maybe someone else have a better idea?
Google Analytics tracking issues
We are testing GA4 analytics tracking and testing UTM values.
1. utm_name
I can see that the
utm_name
is added to the links within the email. However, there is no such a UTM parameter. Shouldn't it beutm_campaign
instead?Available UTM paremeters are descibed here: https://support.google.com/analytics/answer/10917952#zippy=%2Cin-this-article
2. Values mismatch
Also - as per the serttings field:
Name value should translate to
utm_name
, Content - toutm_content
It looks like the opposite happens:
utm_content=aaa
utm_name=bbb
NewsletterStudio 10.0.4 we have
Hi!
I see, it sounds like these are optimized for the old universal analytics. Thanks for making me aware.
I will make sure to update this in upcoming versions!
You could fix this with a custom render task if it's really urgent.
https://www.newsletterstudio.org/documentation/package/12.1.0/develop/render-tasks/
I'll keep you posted here about the progress.
// m
Hi!
Just following up on this one, I was a little off and you are totally right. There is a bug in the code that append these querystrings to the URLs.
utm_content
should beutm_campaign
, this is a typo/bug.This only happens when you explicitly set a value in the settings, the "idea" is to maybe set
utm_source
andutm_medium
manually and then let the package set theutm_campaign
andutm_content
dynamically.However, I will for sure include a fix for this asap.
Thank you for making me aware, I'll keep you posted here when the issue is resolved.
Hi!
This has been solved in the latest patch-release and the fix is included in Newsletter Studio 10.0.8.
Please upgrade and let me know if you still have any issues.
https://www.newsletterstudio.org/versions/10/
Cheers!
Brilliant!!! Thanks Markus.
It is working well now :)
Very happy to hear that!
Thank you very much for making me aware of the issue!
// Markus
A feedback on GA tracking:
Currently the utm values need to be provided for the workspace as a whole in Settings or are given default values. This is ok for
utm_source
andutm_medium
.However,
utm_campaign
name is always changing andutm_content
even more.My suggestion is to move setting
utm_campaign
to per newsletter basis, maybe in the Information screen of a campaign?Utm_content
is more tricky as it really should be different for each link or button in the email content.We have roughly tested a scenario when we add a link in the email body with a query string containing
utm_content
parameter. This is getting replaced by theutm_content
value from the Settings.I think the above should not happen, eg. the custom set
utm_content
should remain as set in the email body (not replaced by Settings value or default value).If
utm_content
is set the same for the entire email it is becoming useless because eventually in GA it is not possible to follow where the click came from (from which link or section within the email body).I leave it for consideration. Or maybe someone else have a better idea?
is working on a reply...