hi,
i'm trying to add google analytics to my script. has anyone tried this before?
i thought since its js it should be easy to implement the code snippet google give:
Code: Select all(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-Y');
ga('send', 'pageview');
however there is no 'window' or 'document' because it's not in a normal browser.
any thought on how to do this?
analytics
Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting
2 posts
• Page 1 of 1
2 posts
• Page 1 of 1
Jump to
- Photoshop Scripting
- ↳ Photoshop Scripting - General Discussion
- ↳ Help Me
- ↳ Automation & Image Workflow
- ↳ Photoshop Scripting: Code Snippets
- ↳ Photoshop Scripting: Reference, Documentation, & Tutorials
- ↳ Photoshop Scripts: Beta Testing
- ↳ xtools
- Photoshop Scripts & Photoshop Scripting Services
- ↳ Photoshop Scripts
- ↳ Photoshop Scripting Services
- Adobe Bridge Scripting
- ↳ Adobe Bridge Scripting: General Discussion
- ↳ Adobe Bridge Scripts
- ↳ Adobe Bridge: Bugs, Anomalies, Documentation Errors
- Flex, Flash, or CS SDK/HTML5 panels
- ↳ Flex, Flash & CS SDK: General Discussion
- ↳ Flex, Flash & CS SDK Scripts
- ↳ Flex, Flash & CS SDK Bugs and Anomalies
- Bugs, Anomalies, Documentation Errors
- ↳ Photoshop Scripting Bugs and Anomalies
- ↳ Photoshop Bugs and Anomalies
- ↳ Photoshop Scripting Bug Repository
- Photoshop Scripting Community Site Management
- ↳ Upload
- ↳ Questions, Suggestions and Feedback