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

Newbie guide by Somnium #2

Open
ChapelR opened this issue Jul 3, 2020 · 0 comments
Open

Newbie guide by Somnium #2

ChapelR opened this issue Jul 3, 2020 · 0 comments
Assignees
Labels

Comments

@ChapelR
Copy link
Owner

ChapelR commented Jul 3, 2020

If you are a beginner Twine user and want a little extra help, here is a step-by-step of what you need to do to install TW-Analytics on your story.

For WINDOWS:

  1. This requires NodeJS go to this address and install it: https://nodejs.org/en/

  2. Wait for Node.js to finish installing. You will probably need to reboot your PC.

  3. Open the win command prompt (either search for "cmd" in the start menu or click WIN KEY + R and type "cmd" (without the quotations), press enter)

  4. The command prompt will open. Type npm i "-g tw-analytics" (without the quotations) and press enter.

  5. Now it's time to make your Google Analytics account. Go to https://analytics.google.com/ and make one. When you're done, take not of your analytics ID

  6. Now it's time to patch your story. We recommend making a new copy of it just in case. Let's say it's called "Story_copy.html"

  7. Go to the folder where Story_copy.html is located. Press ALT + D. You will go to the nav bar. Just type "cmd" and hit enter.

  8. The command prompt is now open, targeting the specific folder. To patch the file, just write "twga --id=GA-11111-1 -i Story_copy.html";
    Replace GA-11111-1 with your Google Analytics ID and Story_copy.html with your file name.

@ChapelR ChapelR added the docs label Jul 3, 2020
@ChapelR ChapelR self-assigned this Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant