ClydeDz / google-analytics-snippets-vscode

Google Analytics Snippets for Visual Studio Code helps you write global site tag (gtag.js) code with ease. Google Analytics's gtag.js code allows you to send event data to Google Analytics.

Home Page:http://bit.ly/gaspvscode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Analytics Snippets for VS Code

Google Analytics Snippets for Visual Studio Code helps you write global site tag (gtag.js) code with ease. Google Analytics's gtag.js code allows you to send event data to Google Analytics.

Build status Azure DevOps tests Visual Studio Marketplace Installs Visual Studio Marketplace Downloads GitHub Tweet

How to use?

The Google Analytics Snippet Pack adds snippets for HTML and JavaScript. The GIF below shows Google Analytics Snippets being used in an HTML document.

GIF showing HTML Google Analytics Snippet Pack in use

OR, if you would like to send an event from JavaScript, you could do something like this -

GIF showing JavaScript Google Analytics Snippet Pack in use

Feedback

If you want to submit any feedback and/or issues with this snippet pack, feel free to create a new ticket on GitHub and let me know what you're after. Please search the issues first before creating a new one.

GitHub

The GitHub repository can be found here.

Release notes

For detailed release notes, please visit the releases page on GitHub.

Using Visual Studio?

You can also install Google Analytics Snippet Pack for Visual Studio if you're using Visual Studio as your IDE.

Credits

Google Analytics Snippets for VS Code (c) 2019 Clyde D'Souza.

About

Google Analytics Snippets for Visual Studio Code helps you write global site tag (gtag.js) code with ease. Google Analytics's gtag.js code allows you to send event data to Google Analytics.

http://bit.ly/gaspvscode

License:Apache License 2.0


Languages

Language:JavaScript 100.0%