Comments (4)
Hey @Dezzign
I know that you change 'gtag' to 'galite'
I think you're trying to use this project to replace gtag
(Google Tag Manager) instead of ga
(Google Analytics). This project can be used as a drop-in replacement for Google Analytics, but not for Google Tag Manager.
from ga-lite.
Hi Jehna,
Thanks for the response. not quite trying to use it like a tag manager. The issue is that:
-
as AdWords states - If the global site tag is already installed on all pages, but comes from another Google product (such as Google Analytics) then I can just add the following snippet to count conversions as well:
gtag('config', 'AW-930415418'); -
And then add the phone number conversions script separately:
Perhaps my mistake was thinking that the Galite analytics also has the 'global site tag' contained within it like the normal analytics code does? Does that make sense?
Thanks,
Richard
from ga-lite.
Perhaps my mistake was thinking that the Galite analytics also has the 'global site tag' contained within it like the normal analytics code does? Does that make sense?
That's correct: Unfortunately ga-lite can not be used as anything else than sending analytics events from your website to Google Analytics.
Nowadays Google Analytics recommends to install itself through Google Tag Manager. The "global site tag" that's referred to is actually Google Tag Manager, which is a Google product that you can use to load arbitrary code (like Google Analytics) on your website.
You can tell that by looking at documentation: The script url starts with https://www.googletagmanager.com/
and the code includes gtag
function calls. That means Google Tag Mananger.
Google Tag Manager uses a similar interface as Google Analytics (something('config', value, ...)
), but those two are different products doing a bit different things.
from ga-lite.
Closing due inactivity, please open a new issue if I can help you with anything else :)
from ga-lite.
Related Issues (20)
- Support for the new Google Analytics 4 tag HOT 9
- Use keepalive flag with fetch
- Capture ga() function calls and re-route them through galite() HOT 5
- Add note to README about using preconnect/preload to improve google page speed HOT 7
- ESM version for modern browsers HOT 10
- Universal Analytics (GA3) and GA4 same time HOT 2
- Illegal Invocation error due to lack of navigator.sendBeacon binding HOT 1
- Self Referral Traffic
- NPM bundle not including commands directory HOT 1
- Customizable endpoint URL and User Language HOT 2
- Instructions on using esm version to readme HOT 4
- SyntaxError Unexpected token = HOT 2
- Yarn run build not working HOT 4
- XMLHttpRequest on main thread is deprecated HOT 2
- Disableing of ga-lite through cookie HOT 4
- SSR issue introduced HOT 5
- It should be mentioned that ga-lite doesn't use cookies HOT 3
- Stop working on Chrome 85+ for somehow HOT 6
- Test coverage for SSR / node.js compatibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ga-lite.