I had recently implemented Facebook Conversions API in Facebook Ads Manager for an wordpress woocommerce website. All the test events are showing up in activity. However i am gettin this error - " Diagnostic Issues Found " in Facebook PageView Event in facebook.
Last Week I did tried fixing this issue it by adding this piece of code in facebook page view event in Google Tag Manager. Don't know if it created more problems. Please advise.
Per their documentation for eventID, seems like you should be setting eventID as part of final parameter list. More like,
fbq('track', 'PageView', {}, {eventID: {{event_id}} });
Also if you are using Woocommerce and Google Tag Manager, please make sure the events fired by both use the same event_id value
Related
I've researched several sources to try and understand how to set up this up, but the documents found seem incorrect our out of date. I'm trying to achieve the following.
When someone submits on my 'contact us' form, I'd like to track that as a conversion in AdWords.
I've completed the following:
- Set up the Conversion in AdWords
- Added the Google Tag Manager code to Squarespace and validated it works
I'm struggling to understand what needs to happen next, I believe it is something like:
- Create a GTM AdWords tag and add in AdWords Conversion ID and Conversion Label
Set the trigger as a form submission
Do I then need to add some form of code into Squarespace on the contact us page to pick up the trigger? this is the part I'm stuck on.
Any guides that explain this in full would be great.
i am trying to audit a few old tags on the website. We have Google Adwords (Remarketing tag ) implemented. When i navigate the site using google tag assistant, i can see that the tag fails on our homepage with the following error : some products are not valid" which does not make sense since we are passing only ecomm_pagetype="home" parameters within the request. Can i ignore this error on all pages besides product pages?
i've attached a few screenshots as well.
Error in tag assistant
TIA
Yes, you can ignore that. Google tag assistant has a lot of known issues like this.
Other solution would be to pass the ids of all products on main page if any are shown.
Much the same as this user, I've got a WordPress website with multiple forms often on the same page. My forms are created using Contact Form 7.
For example, when the 'Request a Call' form is completed, a data layer is sent using:
on_sent_ok: "dataLayer.push({'event':'formSubmit-RequestACall'});"
In GTM, I have a custom trigger set up as follows:
Here are the Tag settings:
Meanwhile, over in GA, I've set up the following Goal:
However, if I submit the request a call form and look at Real-Time goal completions in GA, nothing is showing. Is anyone able to advise where I'm going wrong please?
Thanks in advance.
Update: My Preview summary says the tag isn't firing. There's one tag firing, which is the one I'm using to measure overall traffic.
The DataLayer feedback is as follows:
Crikey! I've finally got to grips with it. In the hope of saving someone else the best part of a day, here are my settings, which work for me.
dataLayer.push (under 'Additional Settings' in Contact Form 7)
on_sent_ok: "dataLayer.push({'event':'formSubmit-RequestACall'});"
Google Tag Manager - Trigger
Google Tag Manager - Tag
Google Analytics - Goal
The verification as you can see in the last photo says it would expect 0% conversion based on last 7 days data. This is despite the goal registering in the Real-Time (last 30 mins) data, so I expect it needs 24 hours to register the goal properly.
No variable settings necessary. I now just need to repeat for the other forms, changing the event name for each (i.e. instead of formSubmit-RequestACall) to something unique.
Good luck!
I'm attempting to get a (in my opinion) very simple scenario working with Google Tag Manager and Analytics, and running into problems.
We have made a new Google Analytics (GA) universal analytics site.
We have made a new Google Tag Manager (GTM) container for our site.
We created a "tag" in GTM for our GA account, firing on "All Pages" to track page views.
Now we would like to track events using custom JavaScript, via the dataLayer. For example:
$('a').click(function() {
dataLayer.push({'event': 'linkclickedtest'});
});
This just isn't working, at all. If I watch Chrome's console/network tabs, no data seems to get sent to Google. I've also installed the Google Analytics debugger for Chrome and it doesn't show the event firing either. I must be missing something simple. Any guidance would be appreciated. Thanks!
You need to create a new GTM trigger based on the linkclickedtest event. Your tag should then be configured to fire on this new trigger.
Is jQuery loaded before executing this code? Try passing object to the dataLayer.push function as below:
$('a').click(function() {
dataLayer.push({'event' : 'linkclickedtest'});
});
For marketing purposes, if a link to our company website is posted on a page on an external website. Is it possible to track the time in which the user landed on the external website and clicked on the link to our company website, using custom tracking ?
I have been reading about custom GA tags however am having a hard time understanding how to make the above possible.
Thanks in advance!
You cannot track an external website, as you can only track sites where you control the tracking code.
If you have control over the external site and have implemented analytics tracking there you would
create a timestamp on page load
add an onclick event handler to the link to your site
in the callback function for that link create another timestamp, substract the original timestamp to get a duration
send a user timing call:
ga('send', 'timing', 'Link', 'Duration to click', duration);
Where the "duration" parameter would be replaced with your timestamp.
As I've said that would only work if you can run your own Google Analytics on the external site which does not seems very likely. Plus I have really no idea what you mean by "custom GA tags" (there are custom variables and custom dimensions/metrics, both of which will not help you here).
So basically the anwser is you can't, really.