question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Google Analytics event when user click on channel

See original GitHub issue
Screen Shot 2019-03-10 at 12 39 03

Currently, the Google Analytics integration is using Google Tag Manager.

The task:

  1. Need to replace to the classic Google Analytics (analytics.js) snippet.
  2. Implement track event with
{
  hitType: 'event',
  eventCategory: 'Channel',
  eventAction: 'click',
  eventLabel: '{channel_name}',
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

2reactions
crysfelcommented, Mar 12, 2019

@reeversedev thanks for taking this, here’s the GA ID you can use for tracking: UA-133820299-2.

2reactions
koolamusiccommented, Mar 11, 2019

@reeversedev since you have implemented this already, that’s pretty fine you can handle it. I could definitely learn a few from your implementation when you send in the pull request.

cheers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Track Clicks with Google Analytics 4 and Google Tag ...
Learn how to track clicks with Google Analytics 4 and Google Tag Manager. This guide explains enhanced measurement and custom clicks.
Read more >
Google Analytics Event Tracking Tutorial
Google Analytics event tracking is an advanced feature that allows you to track a specific user's interaction/activity (link clicks, ...
Read more >
How to Set Up Google Analytics Event Tracking
“Events are user interactions with content that can be tracked independently from a web page or a screen load,” according to Google. “Downloads, ......
Read more >
Track Clicks with Google Analytics 4 and Google Tag Manager
Learn how to track clicks with Google Analytics 4 and Google Tag Manager. This tutorial will include two topics:#1. Click Tracking with ...
Read more >
How to Track Events with Google Analytics 4 (Updated in 2022)
Learn how to send events to Google Analytics 4 with Google Tag Manager.When GA4 was introduced, it was announced as the event -based ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found