5

Google Analytics and Handy Utilities (CSS import)

ACES

A list of all Actions, Conditions and Expressions supported in this addon.

Google Analytics

  • Actions

    Send event {0} {1} {2} {3}

    Sends an event to google analytics service

HTML Tags handling utilities

  • Actions

    Script data {0}

    Imports Script into a HTML Script tag

    Script src {0}

    Imports Script into a HTML Script tag with SRC attribute

CSS Utilities

  • Actions

    CSS data {0}

    Imports CSS data into the project creating a style tag

Time utilities for JScript Date Object

  • Expressions

    GetCurrentTime

    Return time in milliseconds since midnight Jan 1 1970, and a specified date

    GetLocalTime

    Retrieves browser's local-time

    FormatTime

    Converts milliseconds to HH:MM:SS format

    CreateDate

    Creates a date and returns its value in milliseconds

    NowUTCTimestamp

    Returns a UTC timestamp for today's date according.

    FormatUTCDate

    Converts date in milliseconds to UTC format

    FormatISODate

    Return a Date object as a String, using the ISO standard.

Download

0.0.0.4 Stable (22.57 KB)

Info

Statistics

  • Download count333 total downloads
  • Latest download count 178 downloads of latest version
  • Average download count1 downloads per day average

Owners

  • 8 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • This works really well. Note, it's for HTML5 exports, so if you're having issues that might be the case. I'm running it on my games at mountgamer.com

  • Hello. Just find out that if you check "use worker" in project properties the plugin won't work

  • I've added the plugin in my C3 file and the GA ID, I tried in testing mode but didn't send any data to my GA. Is there anything I've to do?

    • Hi josh! That's all you need. I'm using the plugin on several of my games without problem. Make sure you have entered the correct tracking id in the plugin, it must look like UA-012345678-1.

      You can also try to look for dumps in browser's console. For chrome you press CTRL+SHIFT+J to open it, look for the "Console" tab and see if there's any error(red) GA-related listed.

      If you'd like to discuss the problem in more detail, I'll be glad to help through discord https://discord.gg/T4GHBTc Testing mode will send GA tracking while you are in preview mode, it has no effect on the final exported game.