ritwikga / dgtrack Goto Github PK
View Code? Open in Web Editor NEWTrack First, Last Attribution Parameters like landing page, date, month, UTM values along with pageview (per session/user) count on the website.
License: Apache License 2.0
Track First, Last Attribution Parameters like landing page, date, month, UTM values along with pageview (per session/user) count on the website.
License: Apache License 2.0
Hi @RitwikGA
BIG thanks for sharing such awesome solution. It works really awesome and the info is so valuable.
I read 2 of your posts and set up custom dimension in GA too. Anyway, how to have these datalayer value (pageviewCount, Acquisition Source Acquisition Medium Acquisition Campaign Acquisition Landing Page Acquisition Date Acquisition Month) available in Page View tag?
I found one trick to push datalayer to page view tag pasted below. But I dont know how to make it work with yours.
Thank you so much and have a great day.
// Set the data model keys directly so they can be used in the Page View tag
window.google_tag_manager[{{Container ID}}].dataLayer.set('browsingBehavior', payload);
// Also push to dataLayer
window.dataLayer.push({
event: 'custom.navigation',
browsingBehavior: payload
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.