Google Analytics Plugin and one author name not appearing - wordpress

I have 30 authors and all is right except one author which is not appearing on Google Custom Variables.
What to do in this case?
Is there any syntax errors related to the name maybe? There's a little apostrophe in the author last name. Maybe this is the reason? How to verify? I have removed the apostrophe and it still not appearing!
I really need your help!
Many thanks
PS/ I'm using the Google Analytics Plugin for WordPress http://wordpress.org/support/plugin/google-analytics-for-wordpress

Install the Google Analytics Debugger for Google Chrome. This will allow you to easily debug what's being sent to Google Analytics.
In Google Chrome browse to your WordPress installation, then:
Find a blogpost written by the 'problem' author and see what custom variables are being sent.
Check your Chrome Developer Tools Console for JavaScript errors with the author's name
Perhaps the name has single or double quotes that can break the Google Analytics JavaScript
Check that the author metadata (or user data) is correctly specified within WordPress.
Perhaps the author data is not set correctly - display name is blank perhaps

Related

Google Analytics event tracking not working - due to Sitecore adding a variable?

We recently switched to Sitecore CMS, and I seem to be having a problem with Event tracking as a result.
Any file extension is being tracked successfully using GTM and Event tracking as long as the link is pure - ie fetched automatically using Sitecore assets.
However, if I link to a document in the media library using the text editor, it automatically adds ?la=en to the end of the URL. (It used to have loads more code added, but our developer removed this.) I haven never been able to see these links as Events in GA, and I think it is because of this variable that gets added.
Has anyone come across this issue, and have any suggestions?
Thanks,
Ben

Google Analytics not tracking Google Ads and UTMs clicks correctly

I've identified a discrepancy between Google Ads clicks and Analytics sessions in Paid Search (about twice more clicks than sessions). So I contacted Google Ads support and after a long conversation, they send me an email saying that my website structure uses redirections and it's making it lose parameters, and that I had to contact a developer to solve that problem because they don't give assistance on it. What exactly they told me to tell the developer was that:
Loss of parameters by redirection
The website trendotrends.com is not holding navigation parameters
because of the structure in which it was developed.
To verify this redirection, simply replicate the following steps: I
accessed the link
https://trendotrends.com/products/running-shoes?variant=15320930779194
After full site loading, I added the & gclid = Tester123 parameter to
the URL (in the browser, so the final URL was
https://trendotrends.com/products/running-shoes?variant=15320930779194&gclid=Tester123)
and hit Enter To understand if there is a redirect, the normal
behavior would be for the URL to remain the same (with & gclid =
Tester123 at the end), but in this case, the parameter disappears (and
hence the assignment) This link was just an example, which can be
verified in several other products of the site.
They also said I can't use manual tagging (UTMs) instead of automatic tagging in Google Ads because those redirections are also going to spoil the UTMs.
I don't use any redirections in my website and I have also tested with UTMs and there's also a discrepancy in google analytics data for that.
But before I contact a developer and invest on this fix, I would like to know if anyone had experienced that? If Googles answer fits this problem? And even if is there a way to fix it without being an expert.
Thanks in advance.
The issue here isn't really that there's a redirect (301), but a state change. There is javascript on the page that essentially rewrites the URL before the GA code can parse it.
Are you able to change to a different theme and test if this happens with that theme?

AMP Test Shows No Errors by GSC says So

Here are the two pages that the Google Search Console shows 2 Critical Errors for:
1. https://www.hillwebcreations.com/fix-product-markup-errors-avoid-google-manual-action/amp/
2. https://www.hillwebcreations.com/google-image-guidelines/amp/
Both (out of 80+ post are the only two with issues all use the exact same AMPforWP plugin) show the same 2 issues:
Details:
(1) The mandatory tag 'amphtml engine v0.js script' is missing or incorrect.
(2) The mandatory tag 'link rel=canonical' is missing or incorrect.
But then when I run the link to the AMP TEST, both say "Valid AMP page
Page is eligible for AMP search features in Google search results".
https://search.google.com/test/amp?utm_source=wmx&utm_medium=link&utm_campaign=wmx-agg&id=KWGeOzUCXJ7fBP9azfDLIw
https://search.google.com/test/amp?utm_source=wmx&utm_medium=link&utm_campaign=wmx-agg&id=Josb4P-x6poP3B_96qRJhw
And oddly, the one URL has a strange "v" added to the end. Where does that come from?
https://www.hillwebcreations.com/fix-product-markup-errors-avoid-google-manual-action/amp/v/
Thanks in advance for any help to sort this out.
You may refer with this thread regarding your issue The mandatory tag '%1' is missing or incorrect. It might be a conflict with another plugin that's modifying the output of AMP pages. Best option is to disable it for any URLs that end in /amp/?. Based from this documentation, the fix is to add (or correct) the mandatory HTML tag.
It sounds like Google Search Console has a different copy of your web page than the AMP Test tool. Google Search Console doesn't fetch your page live, it is using Google's last crawled version. It is possible that the page has changed since then and this issue will resolve itself after some crawling time has passed.
Try refreshing the version that Google has cached in the amp-cache by using the update-ping url (include the full path to the page after the domain):
https://cdn.ampproject.org/update-ping/c/s/example.com/
See details here: https://developers.google.com/amp/cache/update-cache

How do I embed code to appear on every product page in shopify?

I am trying to add some Google Analytics related code (addition to the standard code) on every product page. I tried adding it to the bottom of the "product.liquid" file but it doesn't seem to pull through to the live site. Could it be to do with some special Shopify security function that stops unusual looking javascript from being used?
Kind regards,
Benet Hitchcock.
Yes you can do this through your app. You need to take read|write_theme scope at the time of installation of you app now go to theme setting->temeplate editor
Open themes.liquid file and paste your code there
Then its appears on all page

Tracking email clicks with tagged links (could be google analytics or custom)

I'm trying to track a series of emails and where users are clicking. I really only have google analytics to work with. I'm attempting to use google analytics to tag my links but all I'm getting is the campaign, all the other tags are coming up (not set).
example of the links I am using:
http://www.example.com/en/secured/rewards?entity_id=<%~user%>&pw=<%~pw%>&utm_source=confirmEmail1&utm_medium=email&utm_content=button1&utm_campaign=ssconfirmEmail1
This part of the link HAS to be there.
http://www.example.com/en/secured/rewards?entity_id=<%~user%>&pw=<%~pw%>
I believe something with the entity_id and pw tags are creating a conflict with google's tags. Currently I'm testing weather doing this to the link will work or not.
http://www.example.com/en/secured/rewards?utm_source=confirmEmail1&utm_medium=email&utm_content=button1&utm_campaign=ssconfirmEmail1&entity_id=<%~user%>&pw=<%~pw%>
My question is, first: Does anyone know a reason why this would be happening?
second (forget google analytics and do something custom): I know I could track the link by creating a redirect through a page and then having it redirect to the correct url, but I'm too new at this to know if I can carry the entity_id and pw through the redirect. If so, how?
Thanks!
Since the link was picking up everything but the content, I just eliminated that and changed the source to what I was using in the content. It's working now
http://www.example.com/en/secured/rewards?entity_id=<%~user%>&pw=<%~pw%>&utm_source=button1&utm_medium=email&utm_campaign=ssconfirmEmail1

Resources