GTM collect user ip address - google-tag-manager

I have embeded the GTM script to
<!– Google Tag Manager –>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-XXXX’);</script>
<!– End Google Tag Manager –>
Additionally, paste this code immediately after the opening <body> tag:
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>
I am doing GDPR and I have concerns about the way to collect data from GTM. The GTM auto collect user IP address, is that right?

Related

Cross Domain Tracking script into Google Tag Manager settings?

I am trying to set up my website to have cross domain tracking with the online store Gumroad.com, inside my Google Analytics. So that I can follow the user events from one site onto the next.
Gumroad has instructions at this link, but they are in the format of a script to be pasted into the site.
I use Tag Manager and am wanting to input these parameters into my Google Analytics Settings variable (which is how Google recommends doing Cross domain tracking with Tag Manager)
I'll attach the script that they provided, as well as my Google Analytics Settings variable in Tag Manager. If anyone knows how to set up the rest of the parameters that would be greatly appreciated!
Script:
<script>
// mystorefront.com is your site's domain.
ga('create', 'UA-XXXXX-Y', 'mystorefront.com;, {'name': 'sampleTracker', 'allowLinker': true, ';cookieDomain': 'mystorefront.com'});
ga('sampleTracker.require', 'linker');
ga('sampleTracker.linker:autoLink', ['mystorefront.com']);
ga('sampleTracker.send', 'pageview');
</script>
My Tag Manager (Google Analytics Settings variable) setup so far:
[]
Set domains in list without protocol.
It also does not make sense that you use cookieDomain as Field to set when it is already defined in the field below the tracking ID.

Google Analytics sees 3 url's when visiting 1 page

When my form is filled in on the page: https://www.example.com/gratis-inspiratieboek/ it sends to the thanks page: https://www.example.com/gratis-inspiratieboek/balkonbeglazing-bedankt/
But in Google Analytics it shows 3 pages loading at the same time:
https://www.example.com/gratis-inspiratieboek/balkonbeglazing-bedankt/ and https://www.example.com/1/gratis-inspiratieboek/bedankt/ and https://www.example.com/gratis-inspiratieboek/bedankt/
But the url in the browser is only: https://www.example.com/gratis-inspiratieboek/balkonbeglazing-bedankt/ and there are no redirects on that page or one of the other pages.
Do you have any idea why Google Analytics sees 3 url's when filling in the form?
Thanks for your time!
After setup the proper Google Tag Manager, you need to follow below process to make sure that you did the proper configration of Google Analytics through the Tag Manager:
Go on the workspace, click new tag, enter the name of tag, click on Universal Analytics here you need to enter Tracking ID and Tracking Type as a pageview.
Now, click on the big icon where it says choose a trigger to make this tag fire and select all pages.
Completed.
You’ve successfully implemented Google Analytics with Google Tag Manager. Your Google Analytics tag will execute on every page.
Your Google Tag Manager tags and triggers are configured improperly. There are too many triggers tied to different GA Pageview tags that fire on the same condition. This is why you have 3 pages recorded.

Google Analytics Destination Goal not Being Tracked

I'm trying to set up a Google Analytics Goal using the following settings(this is a simplified version of what's being used):
Goal setup: custom,
Goal type: destination,
Destination: "Equals to" /en-us/industries/chemical-petrochemical ,
Value=Off,
Funnel=Off
Here's the Google Tag Manager Javascript I use on the page:
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TSLS6W');</script>
When I hit the /en-us/industries/chemical-petrochemical page on the site, I see the page being hit under Content in the Real-time reporting section of Google Analytics, so I know it is seeing the page. However, I never see anything registered in the Conversions section of the Real-time reporting.
Does anyone have any ideas on what the problem could be?
It turns out a filter was preventing the goal from being reached. The filter was pre-appending the hostname of the URL.

In GA Real Time it is showing me Product Details but not the product URL after configuring in tag manager

In Google Tag Manager for when i configuring "Measuring Views of Product Details" In custom event when i configure event equals product detail
And in the website's source code (i.e. in datalayer push) I am using - 'event': 'ProductDetail'
So in google analytics Real time when anyone visits my product page it shows me "Productdetails" but not the actual product url.
Can anyone tell me how to configure tag manager so I can see product url in real-time?
FYI - I have an e-shop with more than 10k products.

I cannot get the Google AdWords Remarketing tag to work

I'm trying to get Google remarketing working on a site that has Google Analytics and AdWords.
AdWords does not recognize the Javascript remarketing tag on the site.
I am using Google Tag Manager. Tag manager contains tags for Universal Analytics, AdWords Remarketing and a custom HTML tag containing the JS code for Google Translate.
I've verified that the tag is working in three ways:
Tag Manager in debug mode indicates that the remarketing tag is firing.
A request is being made to googleads.g.doubleclick.net/pagead/viewthroughconversion/. Response is 302. (https://developers.google.com/adwords-remarketing-tag/verification)
Google Tag Assistant reports that Google Analytics, Google Tag Manager and Remarketing Tag are all "working". Tag assistant doesn't report the translation tag but translation is working correctly.
The AdWords account is linked to the Analytics account.
In AdWords / Shared Library / Audiences / View it still says "We haven't detected the Google Analytics remarketing functionality on your website". I've waited several days.
A related problem is that in Analytics / Property / Remarketing / Audiences, my audience lists are empty, even the system-defined "All visitors". I think that is because the remarketing tag is not working. Analytics reports about 1300 users per week which I think is enough to start building an audience list.
I tried it earlier without using Tag Manager and it still didn't work.
Any ideas?
Thanks
Did you check the "Enable Display Advertising Features" checkbox on the Universal Analytics tag on GTM? This suppose to support the remarketing tag via Google Analytics, otherwise your remarketing tag should be handled via Adwords

Resources