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

How to track SWF in HTML with Flash Player plugin using this library? Please give me some directions. #30

Open
qiangcui opened this issue Sep 7, 2016 · 4 comments

Comments

@qiangcui
Copy link

qiangcui commented Sep 7, 2016

No description provided.

@qiangcui
Copy link
Author

qiangcui commented Sep 7, 2016

I downloaded the source code but I don't know how to use this with chrome flash plugin to track SWF on the web page.

@zwetan
Copy link
Owner

zwetan commented Sep 7, 2016

this is not yet available in the library
see #10 Client ID converter
see #9 general linker URL

in short, analytics.js define a Client-ID
and we would need to pass (link) this Client-ID to the SWF

so the SWF, instead of creating a new Client-ID and create a separate tracking session
use the same Client-ID and integrate the tracking from the SWF in the HTML session

For now, if you use the same Tracking-ID (for ex: UA-123456-7) in the HTML page and the SWF
you can track the activity in the SWF file but it will be seen as a different user than the one tracked on the page, and that will falsify a little your results (seeing double of the users in GA backend)

A workaround would be to use a different Tracking-ID for now.

@qiangcui
Copy link
Author

qiangcui commented Sep 7, 2016

Thank you for your quick replay.
For now, I don't care the client id but want to know where to put this source code (in our server along with our webpages or somewhere else) to track the swf file in our web pages. I just want to get result in GA when I am clicking the swf in html. Could you give me instructions how to use this source code with browser flash plugin (PPAPI)? Thanks a lot.

@zwetan
Copy link
Owner

zwetan commented Sep 7, 2016

you need to edit the SWF file to include and use this library

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

No branches or pull requests

2 participants