Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add page specific data layers and variables to documentation #225

Open
jordanlambrecht opened this issue Jul 29, 2022 · 2 comments
Open
Labels
good first issue Good for newcomers

Comments

@jordanlambrecht
Copy link

Thank you for building this. It's one of the few packages out there of its kind. Question: How do I add page-specific data layers?

Example A: I have different categories of content. Blogs, Team Members, Portfolio Pieces, etc. How would I let GA4 know which is which?

Example B: I have an online shop where each product gets its own page; how would I be able to let GA4 know which products are added to a cart along with associate prices/information to those products?

Bonus: It would be great if there were some information in the documentation on how to get this up and running on the Google Analytics admin dashboard as well.

@MauricioRobayo
Copy link
Owner

Hi @jordanlambrecht !

Those are great suggestions, thanks you so much from raising them.

I would love to work on the documentation but unfortunately time is limited, but glad to merge any PR doing this.

@MauricioRobayo MauricioRobayo added the good first issue Good for newcomers label Aug 16, 2022
@mehidi258
Copy link

@jordanlambrecht @MauricioRobayo Looks like pretty old conversation, I was looking for data layer option but didn't found anything on the doc. Any example how we can pass/update data layer ? Thanks in advance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants